/**
 * 站长工具页面样式
 * 与网站整体风格保持一致，支持亮色/暗色主题
 */

/* ==================== 工具首页 ==================== */
.tools-page {
    padding: 24px 0;
    min-height: calc(100vh - 160px);
    background: transparent;
}

.tools-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* 页面头部 - 无渐变风格 */
.tools-header {
    text-align: center;
    padding: 32px 24px;
    background: #FFFFFF;
    border-radius: 12px;
    margin: 0 0 20px 0;
    border: 1px solid #E8ECF0;
}

.tools-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1F2937;
}

.tools-title i {
    font-size: 26px;
    color: var(--hr-primary, #5B5FC7);
}

.tools-subtitle {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 20px;
}

/* 搜索框 - 参考首页风格 */
.tools-search {
    max-width: 500px;
    margin: 0 auto;
}

.tools-search form {
    display: flex;
    background: #F5F7FA;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    transition: all 0.2s;
}

.tools-search form:focus-within {
    border-color: var(--hr-primary, #5B5FC7);
    box-shadow: 0 0 0 3px rgba(91, 95, 199, 0.1);
}

.tools-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 14px;
    color: #1F2937;
    outline: none;
}

.tools-search-input::placeholder {
    color: #94A3B8;
}

.tools-search-btn {
    background: var(--hr-primary, #5B5FC7);
    border: none;
    padding: 12px 20px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.tools-search-btn:hover {
    background: #4F46E5;
}

/* 分类标签 */
.tools-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 24px 24px;
    justify-content: center;
}

.tools-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #F1F5F9;
    border-radius: 20px;
    font-size: 14px;
    color: #475569;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.tools-category-tag:hover {
    background: #E2E8F0;
    color: #1E293B;
}

.tools-category-tag.active {
    background: #5B5FC7;
    color: #fff;
}

/* 工具区块 */
.tools-section {
    background: #F5F7FA;
    border-radius: 16px;
    padding: 24px;
    margin: 0 24px 20px;
}

.tools-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.tools-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.tools-section-title i {
    color: #5B5FC7;
    font-size: 18px;
}

.tools-count {
    font-size: 13px;
    font-weight: 400;
    color: #949494;
}

.tools-section-more {
    font-size: 13px;
    color: #949494;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.tools-section-more:hover {
    color: var(--hr-primary);
}

/* 工具网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* 工具卡片 */
.tool-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 10px;
    transition: all 0.2s;
    border: 1px solid #ECEEF6;
}

.tool-card:hover {
    background: #FFFFFF;
    border-color: var(--hr-primary, #5B5FC7);
    box-shadow: 0 4px 12px rgba(91,95,199,0.12);
    transform: translateY(-2px);
}

.tool-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #EEF4FF 0%, #E0E7FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-card-icon i {
    font-size: 18px;
    color: #5B5FC7;
}

.tool-card-info {
    flex: 1;
    min-width: 0;
}

.tool-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-card-desc {
    font-size: 12px;
    color: #949494;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 小尺寸卡片 */
.tool-card-sm {
    padding: 12px;
}

.tool-card-sm .tool-card-icon {
    width: 36px;
    height: 36px;
}

.tool-card-sm .tool-card-icon i {
    font-size: 14px;
}

.tool-card-sm .tool-card-name {
    font-size: 13px;
    margin-bottom: 0;
}

/* 空状态 */
.tools-empty {
    text-align: center;
    padding: 60px 20px;
    color: #949494;
}

.tools-empty i {
    font-size: 48px;
    margin-bottom: 16px;
}

.tools-empty p {
    font-size: 14px;
}

/* ==================== 工具详情页 ==================== */
.tool-detail-page {
    padding: 24px 0;
    min-height: calc(100vh - 160px);
    background: transparent;
}

.tool-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* 面包屑 */
.tool-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #949494;
    margin-bottom: 20px;
}

.tool-breadcrumb a {
    color: #949494;
    transition: color 0.2s;
}

.tool-breadcrumb a:hover {
    color: var(--hr-primary, #5B5FC7);
}

.tool-breadcrumb .separator {
    color: #d1d5db;
}

.tool-breadcrumb .current {
    color: #232323;
}

/* 工具头部 */
.tool-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #F8FAFB;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #ECEEF6;
}

.tool-detail-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, #EEF4FF 0%, #E0E7FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-detail-icon i {
    font-size: 32px;
    color: #5B5FC7 !important;
    opacity: 1 !important;
}

.tool-detail-info {
    flex: 1;
}

.tool-detail-title {
    font-size: 22px;
    font-weight: 700;
    color: #232323;
    margin-bottom: 8px;
}

.tool-detail-desc {
    font-size: 14px;
    color: #949494;
    margin-bottom: 12px;
}

.tool-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tool-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #949494;
}

.tool-detail-meta .meta-item i {
    color: var(--hr-primary, #5B5FC7);
}

/* 工具主体 */
.tool-detail-main {
    background: #F8FAFB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #ECEEF6;
}

.tool-iframe {
    width: 100%;
    min-height: 600px;
    display: block;
}

/* 相关工具 */
.tool-related {
    background: #F8FAFB;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid #ECEEF6;
    margin-bottom: 24px;
}

.tool-related-title {
    font-size: 16px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-related-title i {
    color: var(--hr-primary, #5B5FC7);
}

.tool-related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

/* ==================== 首页热门工具区块 ==================== */
.home-tools-block {
    background: #F8FAFB;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    border: 1px solid #ECEEF6;
}

.home-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ==================== 工具页双栏布局 ==================== */
.tools-main-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.tools-content-section {
    flex: 1;
    min-width: 0;
}

.tools-sidebar-section {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 96px;
}

/* ==================== 工具侧边栏卡片 ==================== */
.tools-sidebar-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E8ECF0;
    margin-bottom: 16px;
    overflow: hidden;
}

.tools-sidebar-card-header {
    padding: 14px 16px;
    border-bottom: 1px solid #E8ECF0;
    background: #FAFBFC;
}

.tools-sidebar-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
}

.tools-sidebar-card-title i {
    color: #5B5FC7;
    font-size: 16px;
}

.tools-sidebar-card-body {
    padding: 16px;
}

/* 搜索框侧边栏 */
.tools-sidebar-search {
    display: flex;
    background: #F5F7FA;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.tools-sidebar-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 14px;
    color: #1F2937;
    outline: none;
}

.tools-sidebar-search input::placeholder {
    color: #94A3B8;
}

.tools-sidebar-search button {
    background: #5B5FC7;
    border: none;
    padding: 10px 14px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-sidebar-search button i {
    font-size: 14px;
    color: #fff;
}

.tools-sidebar-search button:hover {
    background: #4F46E5;
}

/* ==================== 热门排行榜 ==================== */
.tools-ranking-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tools-ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #F0F0F5;
    transition: all 0.2s;
}

.tools-ranking-item:last-child {
    border-bottom: none;
}

.tools-ranking-item:hover {
    background: #F8FAFC;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}

.tools-ranking-num {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tools-ranking-item:nth-child(1) .tools-ranking-num {
    background: #FBBF24;
    color: #fff;
}

.tools-ranking-item:nth-child(2) .tools-ranking-num {
    background: #94A3B8;
    color: #fff;
}

.tools-ranking-item:nth-child(3) .tools-ranking-num {
    background: #D97706;
    color: #fff;
}

.tools-ranking-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}

.tools-ranking-link i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: linear-gradient(135deg, #EEF4FF 0%, #E0E7FF 100%);
    color: #5B5FC7;
    font-size: 12px;
    flex-shrink: 0;
}

.tools-ranking-name {
    flex: 1;
    font-size: 14px;
    color: #1F2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tools-ranking-count {
    font-size: 12px;
    color: #94A3B8;
    flex-shrink: 0;
}

/* ==================== 工具广告容器 ==================== */
.tools-ad-banner {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
}

.tools-ad-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.tools-ad-banner a {
    display: block;
}

.tools-sidebar-ad {
    margin-bottom: 16px;
}

.tools-sidebar-ad img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ==================== 统一按钮样式 ==================== */
.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.tool-btn-primary {
    background: var(--hr-primary, #5B5FC7);
    color: #fff;
}

.tool-btn-primary:hover {
    background: #4F46E5;
}

.tool-btn-secondary {
    background: #F1F5F9;
    color: #475569;
}

.tool-btn-secondary:hover {
    background: #E2E8F0;
    color: #1E293B;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
    .tools-sidebar-section {
        width: 260px;
    }
}

@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tool-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .home-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tools-main-layout {
        flex-direction: column;
    }
    .tools-sidebar-section {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tool-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .home-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tools-header {
        padding: 24px 16px;
    }
    .tools-title {
        font-size: 20px;
    }
    .tool-detail-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .tool-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 暗黑主题 ==================== */
/* 工具页面容器 */
body.dark-theme .tools-container,
body.dark-theme .tool-detail-container {
    background: #1e1e1e;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* 工具头部暗色主题 */
body.dark-theme .tools-header {
    background: #252525;
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .tools-title {
    color: #e0e0e0;
}

body.dark-theme .tools-title i {
    color: #888;
}

body.dark-theme .tools-subtitle {
    color: #888;
}

body.dark-theme .tools-search form {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .tools-search-input {
    color: #ccc;
}

body.dark-theme .tools-search-input::placeholder {
    color: #666;
}

body.dark-theme .tools-search-btn {
    background: #555;
}

body.dark-theme .tools-search-btn:hover {
    background: #666;
}

body.dark-theme .tool-card-icon {
    background: linear-gradient(135deg, #2a2a3a 0%, #1f1f2e 100%);
}

body.dark-theme .tool-card-icon i {
    color: #8B8FD6;
}

body.dark-theme .tool-detail-icon {
    background: linear-gradient(135deg, #2a2a3a 0%, #1f1f2e 100%);
}

body.dark-theme .tool-detail-icon i {
    color: #8B8FD6 !important;
}

/* 分类标签 */
body.dark-theme .tools-category-tag {
    background: rgba(255, 255, 255, 0.06);
    color: #888;
    border: none;
}

body.dark-theme .tools-category-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

body.dark-theme .tools-category-tag.active {
    background: #555;
    color: #fff;
}

/* 工具区块 */
body.dark-theme .tools-section,
body.dark-theme .tool-detail-header,
body.dark-theme .tool-detail-main,
body.dark-theme .tool-related,
body.dark-theme .home-tools-block {
    background: rgba(255, 255, 255, 0.02);
}

/* 文字颜色 */
body.dark-theme .tools-section-title {
    color: #e0e0e0;
}

body.dark-theme .tools-section-title i {
    color: #888;
}

body.dark-theme .tools-count,
body.dark-theme .tools-section-more,
body.dark-theme .tool-card-desc,
body.dark-theme .tool-detail-desc,
body.dark-theme .tool-detail-meta .meta-item {
    color: #888;
}

body.dark-theme .tools-section-more:hover {
    color: #ccc;
}

/* 工具卡片 */
body.dark-theme .tool-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .tool-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hr-primary, #5B5FC7);
}

/* 面包屑 */
body.dark-theme .tool-breadcrumb,
body.dark-theme .tool-breadcrumb a {
    color: #888;
}

body.dark-theme .tool-breadcrumb a:hover {
    color: #ccc;
}

body.dark-theme .tool-breadcrumb .separator {
    color: #555;
}

body.dark-theme .tool-breadcrumb .current {
    color: #e0e0e0;
}

body.dark-theme .tool-detail-title,
body.dark-theme .tool-related-title,
body.dark-theme .tool-card-name {
    color: #e0e0e0;
}

/* 侧边栏暗色主题 */
body.dark-theme .tools-sidebar-card {
    background: #252525;
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .tools-sidebar-card-header {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .tools-sidebar-card-title {
    color: #e0e0e0;
}

body.dark-theme .tools-sidebar-card-title i {
    color: #8B8FD6;
}

body.dark-theme .tools-sidebar-search {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .tools-sidebar-search input {
    color: #ccc;
}

body.dark-theme .tools-sidebar-search input::placeholder {
    color: #666;
}

body.dark-theme .tools-sidebar-search button {
    background: #555;
}

body.dark-theme .tools-sidebar-search button:hover {
    background: #666;
}

/* 排行榜暗色主题 */
body.dark-theme .tools-ranking-item {
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .tools-ranking-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

body.dark-theme .tools-ranking-num {
    background: rgba(255, 255, 255, 0.06);
    color: #888;
}

body.dark-theme .tools-ranking-item:nth-child(1) .tools-ranking-num,
body.dark-theme .tools-ranking-item:nth-child(2) .tools-ranking-num,
body.dark-theme .tools-ranking-item:nth-child(3) .tools-ranking-num {
    color: #fff;
}

body.dark-theme .tools-ranking-link i {
    background: linear-gradient(135deg, #2a2a3a 0%, #1f1f2e 100%);
    color: #8B8FD6;
}

body.dark-theme .tools-ranking-name {
    color: #ccc;
}

body.dark-theme .tools-ranking-count {
    color: #666;
}

/* 按钮暗色主题 */
body.dark-theme .tool-btn-primary {
    background: #555;
}

body.dark-theme .tool-btn-primary:hover {
    background: #666;
}

body.dark-theme .tool-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
}

body.dark-theme .tool-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* 空状态 */
body.dark-theme .tools-empty {
    color: #666;
}

/* iframe 背景 */
body.dark-theme .tool-iframe {
    background: #252525;
}

/* ==================== 快速切换工具导航 ==================== */
.tool-quick-nav {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
}

.quick-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-nav-title i {
    color: var(--hr-primary, #5B5FC7);
}

.quick-nav-tabs {
    display: flex;
    gap: 8px;
}

.quick-nav-tabs .nav-tab {
    padding: 6px 14px;
    font-size: 13px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-nav-tabs .nav-tab:hover {
    border-color: var(--hr-primary, #5B5FC7);
    color: var(--hr-primary, #5B5FC7);
}

.quick-nav-tabs .nav-tab.active {
    background: #5B5FC7 !important;
    border-color: #5B5FC7 !important;
    color: #fff !important;
}

.quick-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    color: #555;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.quick-nav-item i {
    font-size: 14px;
    color: #888;
}

.quick-nav-item:hover {
    background: #e8ecff;
    color: var(--hr-primary, #5B5FC7);
    border-color: var(--hr-primary, #5B5FC7);
}

.quick-nav-item:hover i {
    color: var(--hr-primary, #5B5FC7);
}

.quick-nav-item.active {
    background: #5B5FC7 !important;
    background-color: #5B5FC7 !important;
    color: #fff !important;
    border-color: transparent !important;
}

.quick-nav-item.active i {
    color: #fff !important;
}

.quick-nav-item.active span {
    color: #fff !important;
}

/* 快速切换导航 - 暗色主题 */
body.dark-theme .tool-quick-nav {
    background: #1a1a1a;
    border-color: #333;
}

body.dark-theme .quick-nav-title {
    color: #e0e0e0;
}

body.dark-theme .quick-nav-tabs .nav-tab {
    background: #252525;
    border-color: #444;
    color: #aaa;
}

body.dark-theme .quick-nav-tabs .nav-tab:hover {
    border-color: var(--hr-primary, #5B5FC7);
    color: var(--hr-primary, #5B5FC7);
}

body.dark-theme .quick-nav-tabs .nav-tab.active {
    background: #5B5FC7 !important;
    border-color: #5B5FC7 !important;
    color: #fff !important;
}

body.dark-theme .quick-nav-item {
    background: #252525;
    color: #bbb;
}

body.dark-theme .quick-nav-item i {
    color: #777;
}

body.dark-theme .quick-nav-item:hover {
    background: #2a2a3a;
    color: var(--hr-primary, #5B5FC7);
    border-color: var(--hr-primary, #5B5FC7);
}

body.dark-theme .quick-nav-item:hover i {
    color: var(--hr-primary, #5B5FC7);
}

body.dark-theme .quick-nav-item.active {
    background: #5B5FC7 !important;
    background-color: #5B5FC7 !important;
    color: #fff !important;
}

body.dark-theme .quick-nav-item.active i {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

body.dark-theme .quick-nav-item.active span {
    color: #fff !important;
}
