/* ==========================================
   NEOLIFE WELLNESS - Authentication CSS
   Modern, Responsive, Beautiful Auth Pages
   ========================================== */

/* AUTH WRAPPER & CONTAINER */
.auth-wrapper {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f6f1e7 0%, #f0ebe0 100%);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(47, 79, 47, 0.08);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.auth-container.reverse {
    grid-template-columns: 1fr 1fr;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        border-radius: 15px;
    }

    .auth-container.reverse {
        grid-template-columns: 1fr;
    }

    .auth-branding {
        display: none;
    }
}

/* AUTH BRANDING SIDE */
.auth-branding {
    background: linear-gradient(135deg, #2f4f2f 0%, #4a6b4a 100%);
    color: white;
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-branding::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.branding-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.branding-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.auth-branding h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.auth-branding p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.branding-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    animation: slideInLeft 0.5s ease-out forwards;
}

.benefit i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* AUTH FORM CONTAINER */
.auth-form-container {
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .auth-form-container {
        padding: 2rem 1.5rem;
    }
}

.auth-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.auth-form-wrapper h1 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.auth-user-info {
    display: none;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
}

.auth-user-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: #166534;
}

.auth-user-info p {
    margin: 0.2rem 0;
    font-size: 0.88rem;
    color: #166534;
}

/* ALERTS */
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease-out;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* TABS */
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #2f4f2f;
    color: #2f4f2f;
}

.tab-btn.active {
    background: #2f4f2f;
    color: white;
    border-color: #2f4f2f;
}

/* TAB CONTENT */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* FORM GROUPS */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    padding-left: 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: white;
    border-color: #2f4f2f;
    box-shadow: 0 0 0 3px rgba(47, 79, 47, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-icon {
    position: absolute;
    left: 0.875rem;
    top: 2.5rem;
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
}

/* PASSWORD FIELD */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 2.5rem;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.1rem;
    height: 100%;
    width: auto;
    padding: 0 0.25rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #2f4f2f;
}

/* PHONE INPUT */
.phone-input-group {
    display: flex;
    gap: 0;
    position: relative;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.phone-input-group:focus-within {
    border-color: #2f4f2f;
    box-shadow: 0 0 0 3px rgba(47, 79, 47, 0.1);
    background: white;
}

.country-code {
    width: 132px;
    min-width: 108px;
    padding: 0.875rem 1.8rem 0.875rem 0.75rem;
    border: none;
    border-right: 2px solid #e5e7eb;
    border-radius: 0;
    font-size: 0.8rem;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    color: #374151;
    font-weight: 500;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    transition: background-color 0.2s;
}

.country-code:focus {
    outline: none;
    background-color: rgba(47, 79, 47, 0.04);
    border-right-color: #2f4f2f;
}

.phone-input-group input[type="tel"] {
    flex: 1;
    min-width: 0;
    padding: 0.875rem 1rem !important;
    padding-left: 1rem !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1rem;
    font-family: inherit;
    color: #1f2937;
    outline: none;
    width: 100%;
}

.phone-input-group input[type="tel"]::placeholder {
    color: #6b7280;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .country-code {
        width: 118px;
        min-width: 102px;
        font-size: 0.76rem;
        padding-left: 0.55rem;
    }

    .phone-input-group input[type="tel"] {
        font-size: 0.95rem;
        padding: 0.82rem 0.75rem !important;
    }

    .phone-input-group input[type="tel"]::placeholder {
        font-size: 0.82rem;
    }
}

.phone-hint {
    display: block;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.4rem;
    padding-left: 0.25rem;
}

.phone-hint i {
    margin-right: 0.25rem;
}

.phone-input-group input {
    flex: 1;
}

/* PASSWORD STRENGTH */
.password-strength {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: #e63946;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}

.strength-text {
    font-size: 0.85rem;
    color: #6b7280;
}

/* PASSWORD REQUIREMENTS */
.password-requirements {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.password-requirements p {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement {
    padding: 0.4rem 0;
    color: #9ca3af;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirement::before {
    content: '○';
    color: #d1d5db;
    font-weight: bold;
}

.requirement.completed::before {
    content: '✓';
    color: #00d084;
}

.requirement.completed {
    color: #00d084;
}

/* OTP INPUTS */
.otp-input-group {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.otp-digit {
    width: 100% !important;
    padding: 0.875rem !important;
    padding-left: 0 !important;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid #e5e7eb !important;
    border-radius: 10px;
    background: #f9fafb !important;
    caret-color: #2f4f2f;
}

.otp-digit:focus {
    background: white !important;
    border-color: #2f4f2f !important;
}

.otp-digit.filled {
    border-color: #2f4f2f;
}

.otp-info {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.otp-resend {
    text-align: center;
    margin-bottom: 1.5rem;
}

.otp-resend p {
    color: #6b7280;
    font-size: 0.9rem;
}

#resendBtn {
    background: none;
    border: none;
    color: #2f4f2f;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.3s ease;
}

#resendBtn:hover:not(:disabled) {
    color: #1a3a1a;
}

#resendBtn:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

/* CHECKBOXES */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #374151;
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2f4f2f;
    padding: 0 !important;
    margin: 0;
    border: 2px solid #d1d5db !important;
    background: white !important;
}

.checkbox-label a {
    color: #2f4f2f;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* FORM ROW EXTRAS */
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-password {
    color: #2f4f2f;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #1a3a1a;
    text-decoration: underline;
}

/* BUTTONS */
.btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #2f4f2f 0%, #4a6b4a 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(47, 79, 47, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: white;
    color: #2f4f2f;
    border: 2px solid #e5e7eb;
}

.btn-ghost:hover {
    background: #f9fafb;
    border-color: #2f4f2f;
}

/* DIVIDER */
.divider {
    position: relative;
    margin: 2rem 0;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* SOCIAL LOGIN */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-login-single {
    grid-template-columns: 1fr;
    margin-bottom: 0.5rem;
}

.social-btn {
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #374151;
}

.social-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    transform: translateY(-2px);
}

.google-btn {
    background: #fff;
    border-color: #dadce0;
    color: #1f2937;
    min-height: 48px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.google-btn:hover {
    background: #fff;
    border-color: #c9ccd1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.google-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
}

.google-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.google-g-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.google-btn-label {
    font-size: 0.95rem;
}

.auth-security-note {
    margin: 0 0 1.35rem 0;
    font-size: 0.82rem;
    color: #6b7280;
    text-align: center;
}

.auth-security-note i {
    color: #2f4f2f;
    margin-right: 0.35rem;
}

.apple-btn {
    background: #1f2937;
    color: white;
    border-color: #1f2937;
}

.apple-btn:hover {
    background: #111827;
    border-color: #111827;
}

/* AUTH LINK */
.auth-link {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
}

.auth-link a {
    color: #2f4f2f;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-link a:hover {
    color: #1a3a1a;
    text-decoration: underline;
}

/* ANIMATIONS */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* LOADING STATE */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ADVANCED UI ENHANCEMENTS */
.auth-wrapper {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(95, 167, 106, 0.18), transparent 32%),
        radial-gradient(circle at 90% 0%, rgba(47, 79, 47, 0.16), transparent 34%),
        linear-gradient(135deg, #f6f1e7 0%, #eef5eb 100%);
}

.auth-wrapper::before,
.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 79, 47, 0.13) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.auth-wrapper::before {
    top: -140px;
    left: -120px;
}

.auth-wrapper::after {
    right: -120px;
    bottom: -160px;
}

.auth-container {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(47, 79, 47, 0.12);
    box-shadow: 0 24px 60px rgba(47, 79, 47, 0.14);
}

.auth-form-wrapper h1 {
    letter-spacing: 0.2px;
    text-wrap: balance;
}

.form-group input,
.form-group select,
.phone-input-group,
.otp-digit,
.tab-btn,
.social-btn,
.btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.form-group input:hover,
.form-group select:hover,
.phone-input-group:hover {
    border-color: #cfd8cc;
}

.form-group input:focus,
.form-group select:focus,
.phone-input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(47, 79, 47, 0.12);
}

.otp-digit {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.otp-digit:focus {
    transform: translateY(-1px);
}

.tab-btn:hover,
.social-btn:hover,
.btn:hover {
    transform: translateY(-2px);
}

.tab-btn.active {
    box-shadow: 0 10px 24px rgba(47, 79, 47, 0.2);
}

.btn-primary {
    box-shadow: 0 10px 26px rgba(47, 79, 47, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 16px 30px rgba(47, 79, 47, 0.27);
}

.btn-ghost {
    background: #fff;
}

.btn-ghost:hover {
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.09);
}

.social-btn {
    border-color: #d7ded9;
}

.google-btn:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.11);
}

.auth-user-info,
.password-requirements {
    box-shadow: inset 0 0 0 1px rgba(47, 79, 47, 0.05);
}

.alert {
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.auth-link {
    margin-top: 0.35rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(47, 79, 47, 0.3);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .auth-wrapper {
        padding: 1.25rem 0.85rem;
    }

    .auth-form-wrapper h1 {
        font-size: 1.75rem;
    }

    .social-login {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* AUTH HEADER + MOBILE NAV */
#header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(47, 79, 47, 0.1);
}

#header .container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1f2937;
    font-weight: 800;
    flex-shrink: 0;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(47, 79, 47, 0.14);
}

#navMenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.4rem;
}

#navMenu a {
    color: #4b5563;
    font-weight: 600;
    text-decoration: none;
}

#navMenu a:hover,
#navMenu a:focus-visible {
    color: #2f4f2f;
}

.auth-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border-radius: 14px;
    border: 1px solid rgba(47, 79, 47, 0.18);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(47, 79, 47, 0.1);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.auth-nav-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #2f4f2f;
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 64px;
        flex-wrap: wrap;
        padding: 0.75rem 0;
    }

    .auth-nav-toggle {
        display: inline-flex;
    }

    .header-inner nav {
        order: 3;
        flex: 1 0 100%;
        width: 100%;
        margin: 0 !important;
    }

    #navMenu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.9rem;
        border: 1px solid rgba(47, 79, 47, 0.12);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
    }

    #navMenu.menu-open {
        display: flex;
    }

    #navMenu a {
        display: block;
        padding: 0.8rem 0.95rem;
        border-radius: 12px;
    }

    #navMenu a:hover,
    #navMenu a:focus-visible {
        background: rgba(47, 79, 47, 0.08);
    }

    .form-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .logo span {
        font-size: 0.95rem;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .auth-wrapper {
        min-height: auto;
    }

    .auth-form-container {
        padding: 1.4rem 1rem;
    }

    .auth-form-wrapper {
        max-width: 100%;
    }

    .form-subtitle,
    .auth-link,
    .otp-info,
    .otp-resend p {
        font-size: 0.92rem;
    }

    .otp-input-group {
        gap: 0.45rem;
    }

    .otp-digit {
        padding: 0.72rem !important;
        font-size: 1.15rem;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 420px) {
    .auth-wrapper {
        padding: 1rem 0.75rem;
    }

    .auth-container {
        border-radius: 16px;
    }

    .auth-form-wrapper h1 {
        font-size: 1.6rem;
    }

    .google-btn-label {
        font-size: 0.88rem;
    }

    .otp-input-group {
        gap: 0.35rem;
    }

    .otp-digit {
        font-size: 1rem;
    }
}
