/* ===== Shared auth pages (login, register, password reset) ===== */

.auth-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.auth-icon-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px auto;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14.5px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
}

.input-group-modern .input-group-text {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-right: none;
    color: #9ca3af;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 0 14px;
}

.input-group-modern .form-control {
    border: 1px solid #d1d5db;
    border-left: none;
    height: 48px;
    font-size: 15px;
    color: #1f2937;
    background-color: #f9fafb;
    transition: all .2s ease-in-out;
}

.input-group-modern .form-control:focus {
    background-color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .15);
}

.input-group-modern .form-control:focus ~ .input-group-prepend .input-group-text,
.input-group-modern:focus-within .input-group-text {
    border-color: #dc2626;
    color: #dc2626;
    background-color: #ffffff;
}

.input-group-modern .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-modern .form-control:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.btn-outline-toggle-pw {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-left: none;
    color: #6b7280;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0 14px;
    transition: all .2s ease;
}

.btn-outline-toggle-pw:hover,
.btn-outline-toggle-pw:focus {
    background-color: #f3f4f6;
    color: #111827;
    outline: none;
    box-shadow: none;
}

.input-group-modern:focus-within .btn-outline-toggle-pw {
    border-color: #dc2626;
}

.btn-brand-primary {
    background-color: #dc2626;
    border: none;
    color: #ffffff;
    border-radius: 10px;
    height: 48px;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, .25), 0 2px 4px -2px rgba(220, 38, 38, .25);
    transition: background-color .2s ease, transform .1s ease, box-shadow .2s ease;
}

.btn-brand-primary:hover {
    background-color: #b91c1c;
    color: #ffffff;
    box-shadow: 0 6px 12px -2px rgba(220, 38, 38, .35);
    transform: translateY(-1px);
}

.btn-brand-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px rgba(220, 38, 38, .3);
}

.btn-brand-primary:disabled {
    background-color: #f87171;
    cursor: not-allowed;
    transform: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.auth-divider span {
    padding: 0 14px;
    color: #9ca3af;
    font-size: 12.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.google-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-google-sso {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 48px;
    padding: 0 20px;
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .1s ease;
}

.btn-google-sso:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.btn-google-sso:active {
    transform: translateY(0);
    background-color: #f3f4f6;
}

.auth-register-link {
    color: #dc2626;
    text-decoration: none;
    transition: color .15s ease;
}

.auth-register-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.auth-help-box {
    padding: 12px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .02);
}

.help-video-link {
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease;
}

.help-video-link:hover {
    color: #dc2626;
    text-decoration: underline;
}

.help-support-links a {
    text-decoration: none;
    font-size: 13px;
    color: #4b5563;
    transition: all .15s ease;
}

.help-support-links a:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.subscription-benefit-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 24px;
    border: 1px solid #fed7aa;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05);
}

.benefit-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.plan-item {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.font-weight-500 { font-weight: 500; }
.kannada-text { line-height: 1.6; font-size: 13.5px; }

@media (max-width: 576px) {
    .auth-card { padding: 24px 18px; border-radius: 12px; }
    .auth-title { font-size: 20px; }
}
