.iqa-qp-auth-wrap {
    max-width: 460px;
    margin: 40px auto;
    font-family: inherit;
}

.iqa-qp-auth-form-wrapper {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.iqa-qp-auth-box h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.iqa-qp-auth-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px;
}

.iqa-qp-auth-field {
    margin-bottom: 18px;
}

.iqa-qp-auth-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.iqa-qp-auth-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid #d4d4d4;
    border-radius: 8px;
    font-size: 15px;
    color: #222;
    background: #fafafa;
    transition: all 0.25s ease;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.iqa-qp-auth-input:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.iqa-qp-auth-btn {
    height: 48px;
    padding: 0 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.iqa-qp-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(102,126,234,0.35);
}

.iqa-qp-auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.iqa-qp-auth-btn-secondary {
    background: #f0f0f0;
    color: #333;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
}

.iqa-qp-auth-btn-secondary:hover {
    background: #e0e0e0;
    box-shadow: none;
    transform: none;
}

.iqa-qp-auth-btn-otp {
    height: 48px;
    padding: 0 20px;
    font-size: 14px;
    white-space: nowrap;
}

.iqa-qp-auth-otp-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.iqa-qp-auth-otp-input {
    width: 140px;
    text-align: center;
    letter-spacing: 6px;
    font-size: 18px;
    font-weight: 600;
}

.iqa-qp-auth-otp-status {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
    font-weight: 500;
}

.iqa-qp-auth-otp-status.sent {
    color: #1565c0;
}

.iqa-qp-auth-otp-status.verified {
    color: #2e7d32;
}

.iqa-qp-auth-otp-status.error {
    color: #c62828;
}

.iqa-qp-auth-otp-send-wrap {
    display: flex;
    align-items: center;
}

.iqa-qp-auth-pass-row {
    margin-bottom: 14px;
}

.iqa-qp-auth-submit {
    margin-top: 24px;
}

.iqa-qp-auth-submit button {
    width: 100%;
}

.iqa-qp-auth-errors {
    background: #fdecea;
    border: 1px solid #ef9a9a;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 18px;
    color: #c62828;
    font-size: 14px;
}

.iqa-qp-auth-errors p {
    margin: 4px 0;
}

.iqa-qp-auth-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 18px;
    color: #2e7d32;
    font-size: 14px;
}

.iqa-qp-auth-success p {
    margin: 4px 0;
}

.iqa-qp-auth-links {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

.iqa-qp-auth-links a {
    color: #667eea;
    text-decoration: none;
}

.iqa-qp-auth-links a:hover {
    text-decoration: underline;
}
