/* Chinese language overrides */

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.nav-link,
.btn {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
}

.dropdown a {
    font-weight: 400;
}

.btn {
    font-weight: 500;
}

.leader-card h3 {
    font-size: 1rem;
    white-space: nowrap;
}

/* Auth nav items (CN only) */
.nav-auth {
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
}

a.nav-link.nav-auth-link {
    border: 1.5px solid #2674BB !important;
    border-radius: 3px !important;
    padding: 0.35rem 0.9rem !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    color: #2674BB !important;
}

a.nav-link.nav-auth-link::after {
    display: none !important;
}

a.nav-link.nav-auth-link:hover {
    background: #2674BB !important;
    color: #fff !important;
}

/* ============================================
   AUTH PAGES (signup / login)
   ============================================ */
.auth-section {
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0 4rem;
}

.auth-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
}

.auth-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.1);
    padding: 2.5rem 3rem;
    width: 100%;
    max-width: 520px;
}

.auth-card-login {
    max-width: 440px;
}

.auth-footer-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.auth-footer-link a {
    color: var(--blue, #2674BB);
    font-weight: 500;
    margin-left: 0.25rem;
}

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

.m_member_login_icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .auth-section {
        padding: 5rem 0 2rem;
    }
}
