:root {
    --blue-1: #3b82f6;
    --blue-2: #60a5fa;
    --blue-3: #93c5fd;
    --blue-4: #bfdbfe;
    --blue-bg: #f4f8ff;
    --blue-text: #35507a;
}

body {
    color: var(--blue-text);
    background: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
}

.card-style,
.bg-rgba {
    border: 1px solid #e6eefc !important;
    border-radius: 20px !important;
    background: #f4f8ff !important;
    box-shadow:
        10px 10px 20px rgba(169, 188, 218, 0.35),
        -10px -10px 20px rgba(255, 255, 255, 0.95) !important;
}

.bg-red2-dark,
.bg-green1-dark,
.bg-green2-dark,
.bg-yellow2-dark,
.bg-blue2-dark,
.bg-highlight {
    background: linear-gradient(135deg, #74b2fb, #5ea3f8) !important;
    border-color: #6aaaf9 !important;
}

.text-warning,
.text-success,
.text-info,
.color-green1-dark,
.color-blue2-dark,
.color-highlight {
    color: #4f83c8 !important;
}

.btn,
button,
.installButton {
    border-color: #dbe8ff !important;
    border-radius: 12px !important;
    box-shadow:
        6px 6px 12px rgba(170, 189, 217, 0.35),
        -6px -6px 12px rgba(255, 255, 255, 0.9);
}

.btn.bg-dark2-light,
.bg-dark2-light {
    background: #edf4ff !important;
    color: #456897 !important;
}

.form-control:focus {
    border-color: #bcd6fd !important;
    box-shadow:
        inset 2px 2px 6px rgba(166, 186, 219, 0.25),
        inset -2px -2px 6px rgba(255, 255, 255, 0.9) !important;
}

#footer-bar .active-nav *,
#footer-bar a:hover i,
#footer-bar a:hover span {
    color: var(--blue-3) !important;
}

/* 底部导航（按示例图放在下方） */
#footer-bar {
    position: fixed !important;
    left: 12px;
    right: 12px;
    bottom: 12px !important;
    top: auto !important;
    margin: 0 !important;
    width: auto !important;
    border-radius: 18px !important;
    background: #f4f8ff !important;
    border: 1px solid #e6eefc !important;
    backdrop-filter: blur(8px);
    box-shadow:
        10px 10px 20px rgba(169, 188, 218, 0.3),
        -10px -10px 20px rgba(255, 255, 255, 0.95);
    z-index: 50;
}

#footer-bar a {
    border-radius: 12px;
    transition: all 0.2s ease;
}

#footer-bar a.active-nav,
#footer-bar a:hover {
    background: #edf4ff !important;
}

/* 中间主页按钮更突出（类似截图） */
#footer-bar .circle-nav-2 {
    transform: translateY(-18px);
    border-radius: 18px !important;
    background: linear-gradient(135deg, #74b2fb, #5ea3f8) !important;
    box-shadow: 0 10px 20px rgba(94, 163, 248, 0.35);
}

#footer-bar .circle-nav-2 i,
#footer-bar .circle-nav-2 span {
    color: #ffffff !important;
}

.neo-hero {
    margin-top: 10px;
    margin-bottom: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #86bbff, #6caeff) !important;
    border: 1px solid #9ac7ff !important;
    color: #f9fcff !important;
    box-shadow:
        8px 8px 16px rgba(156, 182, 219, 0.35),
        -8px -8px 16px rgba(255, 255, 255, 0.9) !important;
}

.neo-hero-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.neo-hero-subtitle {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.92;
}

.block-title {
    margin: 6px 16px 10px;
    font-size: 15px;
    font-weight: 700;
    color: #4b74ac;
}

/* 首页改为模块化网格布局 */
#Home .home-main-card > .content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

#Home .home-main-card > .content > .input-style,
#Home .home-main-card > .content > .d-flex,
#Home .home-main-card > .content > #collapse200,
#Home .home-main-card > .content > #dz1,
#Home .home-main-card > .content > #dz2,
#Home .home-main-card > .content > #appmiaoshu {
    grid-column: 1 / -1;
}

#Home .input-style.input-style-2 {
    padding: 8px 10px;
    border-radius: 14px;
    background: #edf4ff;
    border: 1px solid #dce8fb;
    box-shadow:
        inset 1px 1px 3px rgba(173, 191, 219, 0.2),
        inset -1px -1px 3px rgba(255, 255, 255, 0.9);
}

#Home .form-control,
#Query .form-control {
    border-radius: 12px !important;
    border: 1px solid #dce8fb !important;
    background: #f4f8ff !important;
    color: #486a98 !important;
}

#Query .card-style,
#Help .card-style {
    overflow: hidden;
}

#Help .accordion .card-style {
    margin-bottom: 10px !important;
}

#Help .accordion-btn {
    background: linear-gradient(135deg, #74b2fb, #5ea3f8) !important;
    color: #f8fbff !important;
}

#Help .collapse.bg-theme {
    background: #f1f6ff !important;
}

/* 自定义滚动公告和头部细节 */
.top-text {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #edf4ff;
    border: 1px solid #dce8fb;
    box-shadow:
        inset 1px 1px 3px rgba(173, 191, 219, 0.18),
        inset -1px -1px 3px rgba(255, 255, 255, 0.9);
}

.scroll-text {
    color: #4f83c8 !important;
}

@media (max-width: 768px) {
    #Home .home-main-card > .content {
        grid-template-columns: 1fr;
    }

    #footer-bar {
        left: 8px;
        right: 8px;
        bottom: 10px !important;
    }

    .neo-hero {
        padding: 14px;
    }
}

