:root {
    --primary-color: #111111;
    --secondary-color: #333333;
    --accent-color: #111111;
    --success-color: #111111;
    --warning-color: #888888;
    --danger-color: #111111;
    --dark-color: #111111;
    --light-color: #E5E5E5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    /* 只移除背景颜色，保留全局背景图片 */
    background-color: transparent !important;
    min-height: 100vh;
}

/* Login 和 Register 页面容器背景 - 与首页分类展示区域颜色一致 */
.container.mt-4 {
    background-color: #EEF1EA !important;
    padding: 40px 20px;
    border-radius: 8px;
    margin-top: 0 !important;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.auth-container {
    max-width: 800px;
    margin: 2rem auto;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.auth-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
    color: var(--dark-color) !important;
    border: none;
    border-radius: 0;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background: var(--primary-color);
    color: white !important;
}

.nav-tabs .nav-link:hover {
    background: var(--light-color);
    color: var(--primary-color) !important;
}

.auth-content {
    padding: 2rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(54, 156, 168, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(54, 156, 168, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.alert {
    border-radius: 10px;
    border: none;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.social-login {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.social-btn.google {
    background: #db4437;
    color: white;
}

.social-btn.facebook {
    background: #3b5998;
    color: white;
}

.social-btn.apple {
    background: #000;
    color: white;
}

.affiliate-landing {
    background: #fff;
    color: #111;
    border-radius: 8px;
}

.affiliate-landing h1,
.affiliate-landing h2,
.affiliate-landing h3,
.affiliate-landing .text-muted,
.affiliate-landing code,
.affiliate-landing a {
    color: #111;
}

.affiliate-landing .text-muted {
    color: #4f4c46 !important;
}

.affiliate-landing summary {
    cursor: pointer;
}




















