/* 使用多个选择器确保主题样式能被正确应用 */
[data-bs-theme="light"],
:root[data-bs-theme="light"],
body[data-bs-theme="light"],
body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --hover-color: #0d6efd;
    --meta-color: #6c757d;
}

/* 全局浅色主题样式 */
body.light-theme {
    background-color: #ffffff;
    color: #212529;
}

body.light-theme main {
    background-color: #ffffff;
}

body.light-theme .container {
    background-color: transparent;
}

body.light-theme .main-content {
    background-color: #ffffff;
    color: #4a3c35;
}

body.light-theme .navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
}

body.light-theme .nav-link {
    color: #333 !important;
}

body.light-theme .logo-container {
    background-color: #ffffff;
}

body.light-theme .logo-light {
    display: inline-block !important;
}

body.light-theme .logo-dark {
    display: none !important;
}