/* ========== 展商名录 展商名录页样式 ========== */

/* ---------- Hero ---------- */
.exh-hero {
    background: linear-gradient(135deg, #0f1c4d 0%, #1e3a8a 50%, #2563eb 100%);
    color: #fff;
    padding: 56px 24px 64px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.exh-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 60%);
    pointer-events: none;
}

.exh-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, .2) 0%, transparent 70%);
    pointer-events: none;
}

.exh-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
}

.exh-hero-title-wrap {
    margin-bottom: 36px;
}

.exh-hero-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #fff 0%, #dbeafe 45%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, .5));
}

.exh-hero-title i {
    -webkit-text-fill-color: #fff;
}

.exh-hero-sub {
    font-size: 24px;
    font-weight: 600;
    /*color: #bfdbfe;
    -webkit-text-fill-color: #bfdbfe;*/
    color: #fff;
    text-shadow: 0 0 24px rgba(255, 255, 255, .4);
}

.exh-hero-desc {
    font-size: 15px;
    opacity: .92;
    line-height: 1.7;
    margin: 16px auto 0;
    max-width: 640px;
}

.exh-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

.exh-hero-stat {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(6px);
    text-align: left;
    transition: transform .25s, background .25s;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 12px rgba(80, 120, 220, 0.15);
}

.exh-hero-stat:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .18);
}

.exh-hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.exh-hero-stat-icon i {
    font-size: 22px;
}

.exh-hero-stat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.exh-hero-stat-text strong {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.exh-hero-stat-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, .78);
}

/* ---------- Main ---------- */
.exh-main {
    padding-top: 32px;
    padding-bottom: 56px;
}

.exh-section-header {
    margin-top: 0;
    margin-bottom: 20px;
}

/* ---------- Filter bar (override shared .filter-bar to row+wrap) ---------- */
.exh-filter-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 20px;
}

.exh-filter-bar .filter-group {
    flex-wrap: nowrap;
}

.exh-chips-row {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px dashed var(--gray-200);
    padding-top: 14px;
    margin-top: 2px;
}

.exh-chips-row .filter-chips {
    flex: 1;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.exh-chips-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.exh-chips-hint i {
    font-size: 14px;
    color: var(--warning);
}

/* ---------- List toolbar ---------- */
.exh-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.exh-count {
    font-size: 14px;
    color: var(--gray-500);
}

.exh-count strong {
    color: var(--primary);
    font-weight: 800;
    font-size: 18px;
    margin: 0 2px;
}

.exh-count-tip {
    font-size: 12px;
    color: var(--gray-400);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.exh-count-tip i {
    font-size: 14px;
}

/* ---------- Data table ---------- */
.exh-table-wrap {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.exh-table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.exh-table-wrap th {
    background: var(--gray-50);
    padding: 13px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: .3px;
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}

.exh-table-wrap td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13.5px;
    color: var(--gray-700);
    vertical-align: middle;
}

.exh-table-wrap tbody tr {
    cursor: pointer;
    transition: background .15s;
}

.exh-table-wrap tbody tr:hover {
    background: var(--primary-lighter);
}

.exh-table-wrap tbody tr:last-child td {
    border-bottom: none;
}

/* name cell */
.exh-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.exh-logo {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.exh-name-cell .exh-cn {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

.exh-name-cell .exh-en {
    font-size: 11.5px;
    color: var(--gray-400);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

.exh-country {
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
}

.exh-booth {
    font-weight: 600;
    color: var(--primary);
    font-size: 13px;
    white-space: nowrap;
}

.exh-phone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    color: var(--gray-700);
}

.exh-phone i {
    font-size: 13px;
    color: var(--success);
}

.exh-expo {
    font-size: 12.5px;
    color: var(--gray-600);
    display: inline-block;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exh-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    margin-top: 4px;
}

.exh-verified.yes {
    background: var(--success-light);
    color: #109E73;
}

.exh-verified.no {
    background: var(--gray-100);
    color: var(--gray-500);
}

/* empty state */
.exh-empty {
    text-align: center;
    padding: 64px 20px;
    color: var(--gray-400);
}

.exh-empty i {
    font-size: 48px;
    display: block;
    margin-bottom: 14px;
    color: var(--gray-300);
}

.exh-empty p {
    font-size: 14px;
}

/* ---------- 查看更多展商 ---------- */
.exh-main .pagination-wrap {
    margin-top: 24px;
}

.exh-main .more-exhibitors {
    display: flex;
    justify-content: center;
}

.exh-main .btn-more-exhibitors {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, .25);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.exh-main .btn-more-exhibitors:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 12px 28px rgba(37, 99, 235, .32);
}

.exh-main .btn-more-exhibitors i {
    font-size: 18px;
}

/* ---------- Detail Modal ---------- */
.exh-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
}

.exh-modal-overlay.show {
    display: flex;
}

.exh-modal-box {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 820px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: exhModalIn .28s ease;
}

@keyframes exhModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* modal header */
.exh-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
}

.exh-modal-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.exh-modal-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .25);
}

.exh-modal-company {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}

.exh-modal-company-en {
    font-size: 12.5px;
    opacity: .85;
    margin-top: 3px;
}

.exh-modal-close {
    background: rgba(255, 255, 255, .18);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    flex-shrink: 0;
}

.exh-modal-close:hover {
    background: rgba(255, 255, 255, .32);
}

/* modal body */
.exh-modal-body {
    padding: 24px 28px 28px;
}

.exh-modal-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.exh-modal-section {
    margin-bottom: 22px;
}

.exh-modal-section:last-child {
    margin-bottom: 0;
}

.exh-modal-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-100);
}

.exh-modal-section-title i {
    font-size: 17px;
    color: var(--primary);
}

.exh-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.exh-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
}

.exh-info-item .lbl {
    color: var(--gray-500);
    white-space: nowrap;
    min-width: 70px;
}

.exh-info-item .val {
    color: var(--gray-800);
    font-weight: 600;
    word-break: break-all;
}

.exh-info-item .val.muted {
    color: var(--gray-400);
    font-weight: 400;
}

.exh-info-item i {
    font-size: 15px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.exh-desc {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.8;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.exh-products {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.exh-product-tag {
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--primary-lighter);
    color: var(--primary);
}

/* year track in modal */
.exh-year-track {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.exh-year-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.exh-year-dot .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: #fff;
}

.exh-year-dot.active .dot {
    border-color: var(--success);
    background: var(--success);
    box-shadow: 0 0 0 3px var(--success-light);
}

.exh-year-dot .yl {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 600;
}

.exh-year-dot.active .yl {
    color: var(--success);
}

.exh-year-line {
    width: 22px;
    height: 2px;
    background: var(--gray-200);
    margin: 0 2px;
    margin-bottom: 16px;
}

.exh-year-line.active {
    background: var(--success);
}

/* modal footer */
.exh-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 28px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
    flex-wrap: wrap;
}

.exh-modal-nav {
    display: flex;
    gap: 8px;
}

.exh-modal-nav button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.exh-modal-nav button:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.exh-modal-nav button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.exh-modal-actions {
    display: flex;
    gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .exh-hero {
        padding: 40px 16px 52px;
    }

    .exh-hero-title {
        font-size: 30px;
    }

    .exh-hero-sub {
        font-size: 16px;
    }

    .exh-hero-desc {
        font-size: 13px;
    }

    .exh-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .exh-hero-stat {
        padding: 14px;
    }

    .exh-hero-stat-text strong {
        font-size: 20px;
    }

    .exh-chips-hint {
        display: none;
    }

    .exh-filter-bar {
        padding: 16px;
        gap: 10px 12px;
    }

    .exh-filter-bar .filter-select {
        min-width: 100px;
    }

    .exh-modal-header {
        padding: 18px 20px;
    }

    .exh-modal-body {
        padding: 18px 20px 20px;
    }

    .exh-modal-footer {
        padding: 14px 20px;
    }

    .exh-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .exh-hero-title {
        font-size: 24px;
        gap: 8px;
    }

    .exh-hero-sub {
        font-size: 14px;
    }

    .exh-hero-stats {
        grid-template-columns: 1fr;
    }

    .exh-list-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .exh-table-wrap {
        overflow-x: auto;
    }

    .exh-table-wrap table {
        min-width: 820px;
    }

    .exh-filter-bar {
        padding: 14px;
    }

    .exh-filter-bar .filter-input {
        min-width: 100%;
    }

    .exh-filter-bar .filter-right {
        width: 100%;
    }

    .exh-filter-bar .filter-right .btn {
        width: 100%;
    }

    .exh-modal-overlay {
        padding: 0;
        align-items: stretch;
    }

    .exh-modal-box {
        border-radius: 0;
        min-height: 100vh;
    }

    .exh-modal-company {
        font-size: 16px;
    }

    .exh-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .exh-modal-nav {
        justify-content: space-between;
    }

    .exh-modal-nav button {
        flex: 1;
        justify-content: center;
    }

    .exh-modal-actions {
        justify-content: stretch;
    }

    .exh-modal-actions .btn {
        flex: 1;
    }
}