/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    background-color: #f9fafb;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #2563eb;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    vertical-align: middle; /* 可选，调整与文字对齐 */
}
input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    vertical-align: middle; /* 可选，调整与文字对齐 */
    margin-right:5px;
}
.text-center {
    text-align: center
}
/* 表格 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

    .table td {
        border: 1px solid #dee2e6;
        padding: 0.75rem;
        vertical-align: top;
        text-align: left;
    }

    .table thead th {
        text-align: center;
        border: 1px solid #dee2e6;
        background-color: #f8f9fa;
        border-bottom-width: 2px;
    }
/* 小按钮 */
.btn-sm {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
    text-decoration: none;
    border: none;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 按钮通用样式 ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-primary {
    background-color: #0a347a;
    color: white;
    border: none;
}

    .btn-primary:hover {
        background-color: #307cff;
        
    }

.btn-outline {
    color: #307cff;
    background: white;
    border: 1px solid #cbd5e1;
    padding: 10px 24px;
    border-radius: 10px;
    cursor: pointer;
}

    .btn-outline:hover {
        background-color: #307cff;
        color: white;
    }

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}
/* 模态框内的按钮（不用影响全局） */
.modal .btn {
    padding: 6px 12px;
    border-radius: 4px;
}
/* 其他按钮变体 */
.btn-unlock {
    background: #0a347a;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    margin-bottom: 8px;
    cursor: pointer;
}

    .btn-unlock:hover {
        background-color: #307cff;
    }

.btn-back {
    color: black;
    background-color: lightgray;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    margin-bottom: 8px;
    cursor: pointer;
}

    .btn-back:hover {
        color: #307cff;
    }

.btn-sms {
    margin-top: 8px;
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
}

    .btn-sms:hover {
        background-color: limegreen;
    }

.btn-outline-small {    
    background: white;
    border: 1px solid #cbd5e1;
    padding: 6px 16px;
    border-radius: 10px;
    cursor: pointer;
}
    .btn-outline-small:hover {
        background-color: #307cff;
        color: white;
    }

/* ===== 导航栏（透明渐变风格，后台用白色覆盖） ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #0B3D91;
}

    .logo img {
        height: 40px;
    }

.nav-links {
    display: flex;
    gap: 32px;
}

    .nav-links a {
        font-weight: 500;
        transition: color 0.2s;
        color:inherit
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: #307cff;
            text-decoration: underline;
            text-underline-offset: 18px;
            text-decoration-thickness: 2px;
        }

.hidden {
    display: none;
}

/* ===== 英雄区 ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }

        .hero-content h1 span {
            color: #0B3D91;
        }

    .hero-content p {
        font-size: 1.1rem;
        color: #666;
        margin-bottom: 32px;
        max-width: 90%;
    }

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-card {
    flex: 0.8;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
    padding: 32px;
}

.card-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    color: #6b7280;
    text-align: center;
    transition: all 0.2s;
}

    .tab-btn.active {
        color: #307cff;
        border-bottom: 2px solid #307cff;
        margin-bottom: -2px;
    }

.form-pane {
    display: none;
}

    .form-pane.active {
        display: block;
    }
/* 英雄区表单组（使用 .form-control 类） */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .form-group input,
    .form-group select,
    .form-group .form-control {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid #d1d5db;
        border-radius: 12px;
        font-size: 1rem;
        transition: 0.2s;
    }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #307cff;
            box-shadow: 0 0 0 3px rgba(48,124,255,0.2);
        }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

    .form-options a {
        color: #307cff;
    }

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

    .form-check a {
        color: #307cff;
    }

/* ===== 统计区域 ===== */
.stats {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: #eef2ff;
    padding: 24px;
    border-radius: 24px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #307cff;
    margin-bottom: 8px;
}

/* ===== 核心功能 ===== */
.features {
    padding: 80px 0;
    background: #f9fafb;
}

    .features h2,
    .advantages h2,
    .cases h2,
    .about h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 16px;
    }

.section-desc {
    text-align: center;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
    }

.feature-icon {
    width: 64px;
    height: 64px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

    .feature-icon i {
        font-size: 28px;
        color: #307cff;
    }

.feature-card h3 {
    margin-bottom: 16px;
}

.feature-card ul {
    margin: 20px 0;
    list-style: none;
}

.feature-card li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

    .feature-card li i {
        color: #10b981;
        margin-top: 2px;
    }

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #307cff;
    font-weight: 500;
}

/* ===== 产品优势 ===== */
.advantages {
    padding: 80px 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.advantage-item {
    display: flex;
    gap: 16px;
}

    .advantage-item .num {
        width: 40px;
        height: 40px;
        background: #307cff;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        flex-shrink: 0;
    }

/* ===== 客户案例 ===== */
.cases {
    padding: 80px 0;
    background: #f9fafb;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.case-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

    .case-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
    }

    .case-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.case-content {
    padding: 24px;
}

.stars {
    color: #f59e0b;
    margin-bottom: 12px;
}

.author {
    margin-top: 16px;
    font-style: italic;
    color: #6b7280;
}

    .author span {
        font-weight: bold;
        color: #333;
    }

.testimonials h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 32px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .slide {
        flex: 0 0 33.333%;
    }
}

.testimonial-card {
    background: white;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    z-index: 2;
}

.slider-prev {
    left: -15px;
}

.slider-next {
    right: -15px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
}

    .dot.active {
        background: #307cff;
    }

/* ===== 关于我们 ===== */
.about {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: flex;
    gap: 48px;
    align-items: center;
    flex-wrap: wrap;
}

    .about-grid > div {
        flex: 1;
    }

    .about-grid img {
        width: 100%;
        border-radius: 24px;
        box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
    }

    .about-grid p {
        text-indent: 2em; /* 2em 即两个汉字宽度，常用值 */
    }

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

    .features-list div {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .features-list i {
        font-size: 1.5rem;
        color: #307cff;
    }

/* ===== 页脚 ===== */
.footer {
    background: #307cff;
    color: white;
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

    .footer-grid .logo {
        color: white;
        margin-bottom: 16px;
    }

        .footer-grid .logo img {
            /*filter: brightness(0) invert(1);*/
        }

.social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

    .social a {
        color: white;
        transition: color 0.2s;
    }

        .social a:hover {
            color: #ffd700;
        }

.footer h4 {
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 12px;
}

.footer a {
    color: #e2e8f0;
}

    .footer a:hover {
        color: white;
    }

.copyright {
    text-align: center;
    border-top: 1px solid #2563eb;
    padding-top: 24px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #307cff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

/* ===== 工具类（网格、Flex、间距等） ===== */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.md\:grid-cols-3 {
    @media (min-width: 768px) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.md\:grid-cols-4 {
    @media (min-width: 768px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-auto {
    margin-left: auto;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-2xl {
    border-radius: 10px;
}

.bg-white {
    background-color: white;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-green-100 {
    background-color: #d1fae5;
}

.text-green-700 {
    color: #047857;
}

.text-primary {
    color: #0B3D91;
}

.text-medium {
    color: #6b7280;
}

.text-dark {
    color: #1e293b;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.cursor-pointer {
    cursor: pointer;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}

.space-x-8 > :not(:first-child) {
    margin-left: 2rem;
}
/* 移动端显示控制 */
.md\:flex {
    display: flex;
}

.md\:inline {
    display: inline;
}

.md\:hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:inline {
        display: inline;
    }

    .md\:hidden {
        display: none;
    }
}

/* ===== 后台管理布局 ===== */
.app-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f5f7fc;
    align-items: flex-start;
}

.sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid #eef2ff;
    box-shadow: 0 0 10px rgba(0,0,0,0.02);
    transition: all 0.3s;
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}

.sidebar-menu {
    padding: 24px 0;
}

.sidebar-item {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    transition: all 0.2s;
    cursor: pointer;
    border-left: 3px solid transparent;
}

    .sidebar-item i {
        width: 20px;
        font-size: 1.1rem;
    }

    .sidebar-item:hover {
        background: #f0f9ff;
        color: #2563eb;
    }

    .sidebar-item.active {
        background: #eef2ff;
        color: #2563eb;
        border-left-color: #2563eb;
        font-weight: 500;
    }

.main-content {
    flex: 1;
    padding: 90px 25px;
    overflow-x: auto;
}
/* 左侧菜单子菜单样式 */
.sidebar-item.has-submenu {
    position: relative;
}

.submenu {
    list-style: none;
    margin: 0;
    padding-left: 48px;
    background: #fafcff;
    border-left: 1px solid #eef2ff;
    /*margin-left: 24px;*/
    display: none;
}

    .submenu.open {
        display: block;
    }

    .submenu li {
        padding: 8px 12px;
        color: #475569;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 0.9rem;
    }

        .submenu li:hover {
            background: #f0f9ff;
            color: #2563eb;
        }

        .submenu li.active {
            background: #eef2ff;
            color: #2563eb;
            font-weight: 500;
            border-left: 2px solid #2563eb;
            margin-left: -2px;
        }

.sidebar-item .toggle-icon {
    margin-left: auto;
    transition: transform 0.2s;
}

    .sidebar-item .toggle-icon.rotated {
        transform: rotate(90deg);
    }

/* ===== 右侧查询页面样式（限定作用域） ===== */
.page-content {
    max-width: 1400px;
    margin: 0 auto;
}

.filter-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

    .filter-card h3 {
        font-size: 1.25rem;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.filter-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
/* 查询页面内的 .form-group 使用 flex 布局 */
.filter-card .form-group {
    flex: 1;
    min-width: 180px;
    margin-bottom: 0;
}

    .filter-card .form-group label {
        display: block;
        font-size: 0.9rem;
        margin-bottom: 6px;
        color: #475569;
    }

.form-control, select.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.9rem;
}

.filter-tags {
    background: white;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.tag {
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .tag i {
        cursor: pointer;
        color: #94a3b8;
    }

.clear-all {
    margin-left: auto;
    color: #307cff;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.result-count strong {
    color: #307cff;
    font-size: 1.2rem;
}

.company-card {
    background: white;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eef2ff;
    padding-bottom: 16px;
}

.company-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

    .company-title h2 {
        margin: 0;
        font-size: 1.4rem;
        white-space: nowrap;
    }

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 30px;
}

    .badge.green {
        background: #dcfce7;
        color: #15803d;
    }

    .badge.blue {
        background: #e0f2fe;
        color: #0369a1;
    }

    .badge.purple {
        background: #f3e8ff;
        color: #7e22ce;
    }

    .badge.cyan {
        color: #08979c;
        background: #e6fffb;
    }

    .badge.orange {
        background: #ffedd5;
        color: #c2410c;
    }

    .badge.red {
        color: #cf1322;
        background: #fff1f0;
    }

.unlock-area {
    text-align: right;
}

.company-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

    .detail-row strong {
        font-weight: 600;
        color: #334155;
    }

.contacts {
    align-items: baseline;
}

.same-phone {
    color: #94a3b8;
    margin-left: 4px;
    font-size: 0.8rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    list-style: none;
}
/* 当前页高亮样式 */
.page-item.active .page-link {
    background-color: #0B3D91;
    color: white;
    border-color: #0B3D91;
    cursor: default;
}

/* 普通页码样式（保留原有样式） */
.page-link {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
    /*没用屏蔽2026-6-29*/
    /*.pagination a {
        display: inline-block;
        padding: 6px 12px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #334155;
    }

        .pagination a.active {
            background: #307cff;
            border-color: #307cff;
            color: white;
        }

        .pagination a.disabled {
            opacity: 0.5;
            pointer-events: none;
        }*/
    /*没用屏蔽2026-6-29*/

/* ===== 筛选条件水平布局 ===== */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 8px;
}

.filter-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .filter-item label {
        width: 80px;
        flex-shrink: 0;
        margin-bottom: 0;
        font-weight: 500;
        color: #475569;
    }

    .filter-item .form-control,
    .filter-item .radio-group {
        flex: 1;
        min-width: 0;
    }

    .filter-item .radio-group {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: center;
    }

.more-conditions-trigger {
    margin-top: 16px;
    padding: 8px 0;
    cursor: pointer;
    color: #307cff;
    font-weight: 500;
    border-top: 1px solid #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    user-select: none;
    width: 100%;
}

    .more-conditions-trigger .toggle-icon {
        transition: transform 0.2s;
    }

    .more-conditions-trigger.open .toggle-icon {
        transform: rotate(90deg);
    }

.more-conditions-content {
    margin-top: 16px;
    padding-left: 12px;
    border-left: 2px solid #eef2ff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

    .checkbox-group .group-label {
        font-weight: 500;
        color: #475569;
        width: 80px;
        flex-shrink: 0;
    }

    .checkbox-group .checkbox-items {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        flex: 1;
    }

/* ===== 公司名称链接样式 ===== */
.company-name-link {
    color: #1890ff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
}

    .company-name-link:hover {
        color: #1E88E5;
        text-decoration: underline;
    }

/* ===== 模态框内的网格布局（一行多个控件） ===== */
.modal-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .modal-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

.modal-grid-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .modal-grid-item label {
        width: 80px;
        flex-shrink: 0;
        font-weight: 500;
        color: #475569;
    }

    .modal-grid-item .form-control {
        flex: 1;
        width: auto;
    }

    .modal-grid-item.align-top {
        align-items: flex-start;
    }

    .modal-grid-item.full-width {
        grid-column: 1 / -1;
    }

/* ===== 自定义模态框 ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-dialog {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1rem;
    font-weight: 500;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e5e5e5;
    text-align: right;
}
/* 表单项行内布局（旧版，可保留兼容） */
.form-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

    .form-row .form-label {
        width: 100px;
        flex-shrink: 0;
        font-weight: 500;
        color: #475569;
        text-align: right;
    }

    .form-row .form-control {
        flex: 1;
    }
    /* 一行两个控件布局（旧） */
    .form-row.two-columns {
        display: flex;
        gap: 20px;
        margin-bottom: 16px;
    }

.form-group.half {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

/* ===== 用户弹出菜单 ===== */
#divMy {
    position: relative;
    cursor: pointer;
}

.user-popup-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 120px;
    z-index: 1000;
    overflow: hidden;
    display: none;
}

    .user-popup-menu a {
        display: block;
        padding: 10px 16px;
        color: #334155;
        text-decoration: none;
        transition: background 0.2s;
        font-size: 0.9rem;
    }

        .user-popup-menu a:hover {
            background: #f0f9ff;
            color: #307cff;
        }

        .user-popup-menu a:first-child {
            border-bottom: 1px solid #eef2ff;
        }

/* ===== 自定义确认对话框 ===== */
.tip-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.tip-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 360px;
    max-width: 90%;
    padding: 20px;
    text-align: center;
    z-index: 10001;
}

.tip-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #307cff;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef2ff;
}

.tip-content {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 24px;
    line-height: 1.5;
}

.tip-close {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.confirm-btn {
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cancel-btn {
    background-color: #f1f5f9;
    color: #475569;
}

    .cancel-btn:hover {
        background-color: #e2e8f0;
    }

.ok-btn {
    background-color: #0a347a;
    color: white;
}

    .ok-btn:hover {
        background-color: #307cff;
        transform: translateY(-1px);
    }
.form-actions {
    display: flex;
    justify-content: flex-end; /* 右对齐 */
    gap: 12px;
    margin-top: 24px; /* 内联样式已写，可保留或移除 */
}
    .form-actions .btn {
        padding: 7px 13px; /* 适当内边距，与原设计一致 */
        font-size: 0.95rem;
        border-radius: 5px; /* 圆角，与您之前的按钮风格统一 */
    }

/* 产品卡片网格布局 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 响应式 */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 产品卡片基础样式 */
.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

    .product-card:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }
    /* 选中高亮样式（参考图片：蓝色边框加粗） */
    .product-card.selected {
        border-color: #307cff;
        box-shadow: 0 8px 25px rgba(48, 124, 255, 0.2);
        transform: translateY(-4px);
    }

    /* 产品标题 */
    .product-card h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #0B3D91;
        margin-bottom: 0.5rem;
    }
/* 价格 */
.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}
/* 特性列表 */
.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

    .product-features li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
        color: #475569;
    }

        .product-features li i {
            color: #10b981;
            width: 1.2rem;
        }
/* 按钮居中 */
.btn-buy-container {
    text-align: center;
}

.btn-buy {
    display: inline-block;
    min-width: 120px;
    background-color: #0B3D91;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn-buy:hover {
        background-color: #307cff;
    }