.auth-container {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, #e8eaf6 0%, #f5f5fc 100%);
    font-family: 'Outfit', sans-serif;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.auth-header p {
    color: #64748b;
    font-size: 15px;
}

.otp-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    color: #7e57c2;
}

.auth-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-error p {
    margin: 4px 0;
}

.auth-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.required {
    color: #dc2626;
}

.optional {
    color: #94a3b8;
    font-weight: 400;
}

.form-group input {
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    background: #f9fafb;
}

.form-group input:focus {
    border-color: #7e57c2;
    background: white;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 44px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.toggle-password:hover {
    color: #64748b;
}

.otp-input {
    text-align: center;
    font-size: 24px !important;
    letter-spacing: 8px;
    font-weight: 600;
}

.form-options {
    display: flex;
    justify-content: flex-end;
}

.forgot-link {
    font-size: 14px;
    color: #7e57c2;
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    background: linear-gradient(90deg, #3949ab, #5c6bc0, #7e57c2);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: 'Outfit', sans-serif;
}

.auth-submit-btn:hover {
    opacity: 0.9;
}

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

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    padding: 0 16px;
    color: #94a3b8;
    font-size: 14px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
}

.google-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #64748b;
}

.auth-switch a {
    color: #7e57c2;
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.resend-section {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.resend-section p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
}

.resend-btn {
    background: none;
    border: none;
    color: #7e57c2;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    padding: 4px 8px;
}

.resend-btn:hover {
    text-decoration: underline;
}

.resend-btn:disabled {
    color: #94a3b8;
    cursor: not-allowed;
}

.resend-message {
    font-size: 13px;
    margin-top: 8px;
}

.resend-message.success {
    color: #16a34a;
}

.resend-message.error {
    color: #dc2626;
}

.google-user-info {
    margin-bottom: 20px;
    text-align: center;
}

.google-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    color: #16a34a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 80px 16px 40px;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .auth-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 74px 12px 30px;
    }

    .auth-card {
        padding: 24px 16px;
    }

    .auth-header h1 {
        font-size: 22px;
    }

    .otp-input {
        font-size: 20px !important;
        letter-spacing: 6px;
    }

    .recaptcha-wrapper {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

.recaptcha-wrapper {
    margin: 16px 0 8px;
    display: flex;
    justify-content: center;
}
