/* 货源中心 — 现代卡片布局，对齐站点品牌色 */
.supply-body {
    background:
        radial-gradient(1200px 420px at 10% -10%, rgba(24, 144, 255, 0.08), transparent 55%),
        radial-gradient(900px 360px at 100% 0%, rgba(14, 165, 233, 0.06), transparent 50%),
        var(--sa-bg, #f5f7fa);
    color: var(--sa-text, #334155);
}
.supply-content { padding: 20px 0 72px; min-height: calc(100vh - 280px); }
.supply-wrap { max-width: 1180px; }

.supply-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 14px 16px;
}
.supply-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.supply-cat {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    color: #475569;
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.supply-cat:hover,
.supply-cat.active {
    color: var(--sa-brand, #1890ff);
    background: var(--sa-brand-soft, #e6f7ff);
    border-color: rgba(24, 144, 255, 0.22);
}
.supply-apply-btn {
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 10px !important;
    padding: 0 18px !important;
    box-shadow: 0 8px 18px rgba(24, 144, 255, 0.18);
}

.supply-section { margin-bottom: 28px; }
.supply-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 4px 0 14px;
}
.supply-section-head h2 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.supply-section-head a {
    font-size: 13px;
    color: var(--sa-brand, #1890ff);
    text-decoration: none;
    font-weight: 500;
}

.supply-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.supply-list > li {
    min-height: 124px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.supply-list > li:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: rgba(24, 144, 255, 0.28);
}
.supply-empty-li {
    grid-column: 1 / -1;
    min-height: auto !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.supply-card {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
}
.supply-logo {
    width: 52px;
    height: 52px;
    margin-right: 12px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(145deg, #f8fafc, #eef2ff);
    border: 1px solid rgba(15, 23, 42, 0.05);
}
.supply-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.supply-info { flex: 1; overflow: hidden; min-width: 0; }
.supply-info h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.supply-info p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.supply-empty {
    padding: 48px 24px;
    text-align: center;
    color: #94a3b8;
    background: #fff;
    border-radius: 14px;
    border: 1px dashed rgba(15, 23, 42, 0.1);
}
.supply-empty a { color: var(--sa-brand, #1890ff); font-weight: 600; }
.supply-pager { text-align: center; margin-top: 22px; }
.supply-pager a,
.supply-pager span { margin: 0 6px; color: #64748b; text-decoration: none; }
.supply-pager a:hover { color: var(--sa-brand, #1890ff); }

.supply-breadcrumb {
    margin: 4px 0 18px;
    color: var(--sa-text-hint, #94a3b8);
    font-size: 13px;
}
.supply-breadcrumb a {
    color: var(--sa-muted, #64748b);
    text-decoration: none;
}
.supply-breadcrumb a:hover { color: var(--sa-brand, #1890ff); }
.supply-breadcrumb .layui-icon { font-size: 12px; margin: 0 4px; }
.supply-breadcrumb span { color: var(--sa-text, #334155); }

.supply-detail,
.supply-stat-card,
.supply-apply-card,
.supply-apply-box,
.supply-apply-side,
.supply-contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    margin-bottom: 16px;
}
.supply-detail-head {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    align-items: flex-start;
}
.supply-detail-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #f8fafc, #e8f3ff);
    flex-shrink: 0;
    border: 1px solid rgba(15, 23, 42, 0.05);
}
.supply-detail-logo img { width: 100%; height: 100%; object-fit: cover; }
.supply-detail-meta {
    flex: 1;
    min-width: 0;
}
.supply-detail-meta h1 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 740;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.supply-host {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--sa-brand, #1890ff);
    font-weight: 500;
}
.supply-detail-intro {
    margin: 0 0 16px;
    color: #64748b;
    line-height: 1.7;
}
.supply-detail-actions .layui-btn {
    margin: 0 8px 8px 0;
    border-radius: 10px !important;
}
.supply-contact-panel {
    flex: 0 0 220px;
    width: 220px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 14px;
    align-self: stretch;
}
.supply-contact-panel-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.supply-contact-panel .supply-contact-list li {
    padding: 8px 10px;
    background: #fff;
}
@media (max-width: 992px) {
    .supply-detail-head { flex-wrap: wrap; }
    .supply-contact-panel {
        flex: 1 1 100%;
        width: 100%;
    }
}
.supply-detail-body h3 {
    font-size: 16px;
    margin: 0 0 12px;
    color: #0f172a;
}
.supply-detail-body {
    line-height: 1.85;
    color: #475569;
    word-break: break-word;
}

.supply-contact-inline {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.supply-contact-inline-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.supply-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.supply-contact-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 13px;
}
.supply-contact-list span {
    color: #94a3b8;
    flex-shrink: 0;
}
.supply-contact-list strong {
    color: #0f172a;
    font-weight: 600;
    word-break: break-all;
    text-align: right;
}
.supply-contact-card .supply-contact-list {
    margin-top: 0;
}
.supply-contact-card h3 {
    margin-bottom: 12px;
}
.supply-copy {
    cursor: pointer;
    color: var(--sa-brand, #1890ff) !important;
}
.supply-copy .layui-icon {
    font-size: 12px;
    margin-left: 4px;
    opacity: .7;
}
.supply-copy:hover { text-decoration: underline; }

.supply-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.supply-stats li {
    text-align: center;
    background: linear-gradient(180deg, #f8fbff, #f8fafc);
    border-radius: 12px;
    padding: 14px 8px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}
.supply-stats strong {
    display: block;
    font-size: 22px;
    color: var(--sa-brand, #1890ff);
    margin-bottom: 4px;
}
.supply-stats span { font-size: 12px; color: #94a3b8; }
.supply-stat-tip {
    margin: 14px 0 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.65;
}

.supply-side h3,
.supply-apply-box h1,
.supply-apply-side h3,
.supply-contact-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
}
.supply-tips {
    margin: 0 0 14px;
    padding-left: 18px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}
.supply-apply-desc { color: #64748b; margin: 0 0 20px; line-height: 1.7; }
.supply-apply-side ul { list-style: none; margin: 0; padding: 0; }
.supply-apply-side li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}
.supply-apply-side em {
    color: #94a3b8;
    font-style: normal;
    white-space: nowrap;
}
.supply-apply-box .layui-form-label { width: 72px; }
.supply-apply-box .layui-input-block { margin-left: 102px; }
.supply-apply-box .layui-input,
.supply-apply-box .layui-textarea,
.supply-apply-box .layui-select {
    border-radius: 10px;
}

@media (max-width: 992px) {
    .supply-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px) {
    .supply-list { grid-template-columns: 1fr; }
    .supply-detail-head { flex-direction: column; }
    .supply-apply-box .layui-form-label { width: 100%; text-align: left; }
    .supply-apply-box .layui-input-block { margin-left: 0; }
}
