/* Authentication Pages Styles */
.auth-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: var(--light-bg);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.auth-form-wrapper {
    padding: 60px 50px;
}

.auth-form-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--gray-text);
    margin-bottom: 35px;
}

.auth-form .form-group {
    margin-bottom: 22px;
}

.auth-form label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-body);
    transition: var(--transition);
    font-size: 0.95rem;
}

.auth-form input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    padding: 5px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 300;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--accent);
    text-decoration: none;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-top: 10px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-text);
}

.auth-switch a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

/* Welcoming login entry points */
.login-eyebrow,
.login-image-kicker {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.google-signin-btn {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: #171717;
    border: 1px solid #d9d5cd;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.google-signin-btn:hover {
    border-color: #171717;
    box-shadow: 0 8px 22px rgba(17, 17, 15, 0.09);
    transform: translateY(-1px);
}

.google-signin-btn:disabled {
    cursor: wait;
    opacity: 0.7;
}

.google-signin-btn svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    color: var(--gray-text);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--border-color);
}

.login-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.login-actions .auth-btn {
    margin-top: 0;
}

.login-privacy-note {
    margin-top: 18px;
    color: var(--gray-text);
    font-size: 0.75rem;
    text-align: center;
}

.login-privacy-note i {
    margin-right: 6px;
}

.login-image {
    position: relative;
    overflow: hidden;
}

.login-image-topline {
    position: absolute;
    top: 38px;
    right: 40px;
    left: 40px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.login-image-status i {
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-right: 7px;
    background: #8fc7a6;
    border-radius: 50%;
}

.login-benefits {
    margin-top: 34px;
    padding: 0;
    list-style: none;
}

.login-benefits li {
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.82rem;
}

.login-benefits li span {
    margin-right: 18px;
    opacity: 0.55;
    font-size: 0.68rem;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 300;
    font-size: 0.9rem;
}

.forgot-link {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    color: var(--accent);
}

.auth-image {
    background: linear-gradient(135deg, var(--primary), #2a2a2a);
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.auth-image-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.auth-image-content p {
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 30px;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-benefits div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 300;
}

.auth-benefits i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 24px;
}

/* Login specific */
.login-container .auth-image {
    background: linear-gradient(135deg, #1a1a1a, var(--primary));
}

/* Responsive */
@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    .auth-image {
        display: none;
    }
}

/* Profile Page Styles */
.profile-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.profile-user-info h1 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.profile-user-info p {
    color: var(--gray-text);
    margin-bottom: 8px;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(39, 174, 96, 0.1);
    color: #27AE60;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.profile-detail-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.profile-actions {
    display: flex;
    gap: 15px;
}

.btn-danger {
    background: #E74C3C;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #c0392b;
}

@media (max-width: 576px) {
    .auth-form-wrapper {
        padding: 30px 20px;
    }
    .auth-form-wrapper h1 {
        font-size: 2rem;
    }

    .login-actions {
        grid-template-columns: 1fr;
    }
}

/* OTP Modal Styles */
.otp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.otp-modal.active {
    display: flex;
    opacity: 1;
}

.otp-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 440px;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.otp-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray-text);
    cursor: pointer;
}

.otp-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.otp-modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.otp-modal-content p {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.simulated-code-banner {
    background: var(--light-bg);
    border: 1px dashed var(--accent);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: var(--primary);
}

.simulated-code-banner strong {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-left: 5px;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 25px;
}

.otp-digit {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.otp-digit:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.otp-resend {
    margin-top: 20px;
    font-size: 0.85rem;
}

.otp-resend a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
