/* ========== 供给大厅页面样式 ========== */

/* 覆盖Banner主题色 - 绿色系 */
:root {
    --banner-gradient: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
    --banner-glow-color: rgba(16, 185, 129, 0.3);
    --banner-btn-primary-bg: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --banner-btn-primary-shadow: rgba(16, 185, 129, 0.4);
    --banner-btn-primary-shadow-hover: rgba(16, 185, 129, 0.5);
    --gradient-primary: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --theme-primary: #059669;
    --theme-primary-light: #10b981;
    --theme-primary-dark: #047857;
    --primary-color: #059669;
    --primary-hover: #047857;
    --primary-light: #ecfdf5;
}


/* 头部发布按钮主题色 */
.header-actions .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.header-actions .btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}

/* 头部导航主题色 */
.main-nav .nav-item:hover,
.main-nav .nav-item.active {
    color: #10b981;
}

.main-nav .dropdown-menu a:hover {
    color: #10b981;
    background: #ecfdf5;
}

/* 页面特定Banner背景（带图片） */
.supply-banner {
    background: 
        linear-gradient(135deg, rgba(4, 120, 87, 0.92) 0%, rgba(5, 150, 105, 0.88) 50%, rgba(16, 185, 129, 0.85) 100%),
        url('/public/images/banner-supply.jpeg') center/cover no-repeat;
}

/* 分类Tab */
.category-tabs {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.category-tabs-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
}

.category-tabs-inner::-webkit-scrollbar {
    display: none;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-item:hover {
    background: #f8fafc;
}

.tab-item.active {
    background: #ecfdf5;
    color: #059669;
}

.tab-item .icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-item .count {
    padding: 2px 8px;
    background: #e5e7eb;
    border-radius: 10px;
    font-size: 12px;
}

.tab-item.active .count {
    background: #059669;
    color: white;
}

.search-bar-right {
    margin-left: auto;
    display: flex;
    gap: 12px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 12px;
    flex-direction: row;
}

.search-input-wrapper input {
    border: none;
    background: transparent;
    padding: 10px;
    font-size: 14px;
    width: 200px;
    outline: none;
}

.search-input-wrapper button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
}

/* 列表区域 */
.list-section {
    padding: 32px 0;
    background: #f8fafc;
    min-height: 60vh;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.result-info {
    font-size: 14px;
    color: #64748b;
}

.result-info strong {
    color: #059669;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

/* 供给卡片网格 */
.supply-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.supply-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.supply-card:hover {
    border-color: #059669;
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.12);
    transform: translateY(-4px);
}

.supply-card-image {
    height: 160px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.supply-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supply-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    font-size: 12px;
    color: white;
}

.supply-card-badge.verified {
    background: rgba(5, 150, 105, 0.9);
}

.supply-card-body {
    padding: 20px;
}

.supply-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.supply-provider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.supply-provider img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f5f9;
}

.supply-provider-info {
    flex: 1;
}

.supply-provider-name {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
}

.supply-provider-type {
    font-size: 11px;
    color: #94a3b8;
}

.supply-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.supply-tag {
    padding: 4px 10px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 4px;
    font-size: 12px;
}

.supply-meta {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}
.meta-item {
    text-align: center;
}

.meta-item .label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.meta-item .value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.meta-item .value.price {
    color: #f59e0b;
}
.supply-card-footer {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
}

.supply-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #f59e0b;
}

.btn-inquire {
    padding: 8px 20px;
    background: #059669;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-inquire:hover {
    background: #047857;
}

/* 分页 */
.pagination-new {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled):not(.active) {
    border-color: #059669;
    color: #059669;
}

.page-btn.active {
    background: #059669;
    border-color: #059669;
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 响应式 - 统一在文件末尾 */
.modal-overlay .full-width{background: none;}

#inquiryModal .match-info {
    padding: 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #d1fae5;
}

#inquiryModal .match-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 4px;
}

#inquiryModal .match-info p {
    font-size: 13px;
    color: #059669;
    margin: 0;
}
/* ========== 面包屑样式 ========== */
.breadcrumb {
    padding: 16px 0;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid #e8ecf0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 0 20px;
}

.breadcrumb-item {
    color: #64748b;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #94a3b8;
    font-weight: 600;
}

.breadcrumb-item.current {
    color: #1e293b;
    font-weight: 600;
}
/* ========== 供给详情页样式 ========== */
.supply-detail-main {
    padding: 20px 0 80px;
    background: #f0f4f8;
    min-height: calc(100vh - 200px);
    margin-top: 70px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* 头部区域 */
.supply-header {
    background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
    border-radius: 16px;
    padding: 36px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(5, 150, 105, 0.35);
}

.supply-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.08) 100%);
    pointer-events: none;
}

.supply-header::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.supply-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.supply-type-badge.tech {
    background: rgba(16, 185, 129, 0.22);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.35);
}

.supply-type-badge.equipment {
    background: rgba(59, 130, 246, 0.22);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.35);
}

.supply-page-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.35;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    max-width: 800px;
}

.supply-page-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.supply-page-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.95;
    padding: 8px 16px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}

.supply-page-meta svg {
    width: 16px;
    height: 16px;
    opacity: 0.85;
    flex-shrink: 0;
}

/* 卡片样式 */
.supply-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    border: 1px solid #e8ecf0;
    transition: box-shadow 0.25s ease;
    margin-bottom: 20px;
}

.supply-detail-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.supply-detail-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}
.supply-detail-card .card-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
/* 服务商信息 */
.provider-info-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.3s;
}

.provider-info-box:hover {
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.provider-view-detail {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s;
}

.provider-info-box:hover .provider-view-detail {
    opacity: 1;
}

.provider-logo-link {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: block;
}

.provider-logo-link:hover {
    opacity: 0.8;
}

.provider-logo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-detail {
    flex: 1;
    min-width: 0;
}

.provider-detail h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.provider-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.provider-tag {
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%);
    border-radius: 6px;
    font-size: 12px;
    color: #0284c7;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(2, 132, 199, 0.15);
}

.provider-tag.verified {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.08) 100%);
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.provider-contact {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #64748b;
}

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

.detail-info-grid .info-item {
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.25s;
    border: 1px solid transparent;
}

.detail-info-grid .info-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: translateY(-2px);
}

.detail-info-grid .info-label {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 6px;
    display: block;
}

.detail-info-grid .info-value {
    font-size: 15px;
    color: #1e293b;
    font-weight: 600;
    display: block;
}

.detail-info-grid .info-value.price {
    color: #dc2626;
}

.detail-content {
    line-height: 1.8;
    color: #475569;
    font-size: 15px;
}

.detail-content p {
    margin-bottom: 16px;
}

.detail-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 24px 0 12px;
    padding-left: 12px;
    border-left: 3px solid #059669;
}

.detail-content strong {
    color: #059669;
}

.case-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.case-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e8ecf0;
    transition: all 0.25s ease;
}

.case-item:hover {
    background: #fff;
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.case-img {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-info {
    flex: 1;
    min-width: 0;
}

.case-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.4;
}

.case-info p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-tag {
    display: inline-block;
    padding: 3px 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.08) 100%);
    color: #059669;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e8ecf0;
    transition: all 0.25s ease;
}

.review-item:hover {
    background: #fff;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.review-item:last-child {
    border-bottom: 1px solid #e8ecf0;
    padding-bottom: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.review-meta {
    flex: 1;
    min-width: 0;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: block;
    margin-bottom: 2px;
}

.review-rating {
    color: #f59e0b;
    font-size: 12px;
    letter-spacing: 1px;
}

.review-time {
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
}

.review-content {
    padding-left: 56px;
}

.review-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* 侧边栏 */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    border: 1px solid #e8ecf0;
    transition: all 0.25s ease;
}

.sidebar-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.sidebar-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 14px;
}

.sidebar-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.6;
}

.detail-sidebar .full-width {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.25);
}

.detail-sidebar .full-width:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 5px 16px rgba(5, 150, 105, 0.35);
    transform: translateY(-1px);
}

/* 相似推荐 */
.similar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.similar-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
}

.similar-item:hover {
    background: #fff;
    border-color: #10b981;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.similar-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
}

.similar-meta {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 600;
}

.sidebar-card.tips {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border-color: #fef08a;
}

.sidebar-card.tips h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #92400e;
    font-size: 14px;
}

.sidebar-card.tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card.tips li {
    font-size: 13px;
    color: #92400e;
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.sidebar-card.tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d97706;
}

/* ========== 咨询弹窗样式 ========== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.apply-join-modal {
    max-width: 720px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.apply-join-modal .modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.apply-join-modal .modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.apply-join-modal .modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.apply-join-modal .modal-close:hover {
    background: #e2e8f0;
}

.apply-join-modal .modal-close svg {
    width: 20px;
    height: 20px;
    color: #64748b;
}

.apply-join-modal .modal-body {
    padding: 28px;
}

.form-section {
    margin-bottom: 28px;
}

.form-section:last-of-type {
    margin-bottom: 24px;
}

.form-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--theme-primary);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--theme-primary-light);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s;
}

.checkbox-item:hover {
    background: #f1f5f9;
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--theme-primary);
}

.checkbox-item input[type="checkbox"]:checked + span {
    color: var(--theme-primary);
    font-weight: 500;
}

.file-upload-area {
    position: relative;
}

.file-upload-area input[type="file"] {
    display: none;
}

.file-upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f9fafb;
}

.file-upload-btn:hover {
    border-color: var(--theme-primary-light);
    background: #ecfdf5;
}

.file-upload-btn svg {
    width: 32px;
    height: 32px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.file-upload-btn span {
    font-size: 14px;
    color: #6b7280;
}

.file-list {
    margin-top: 12px;
}

.file-list .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 8px;
}

.file-list .file-item .file-name {
    font-size: 13px;
    color: #374151;
}

.file-list .file-item .file-remove {
    color: #ef4444;
    cursor: pointer;
    font-size: 12px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.form-actions .btn-cancel {
    padding: 10px 24px;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.form-actions .btn-cancel:hover {
    background: #e2e8f0;
}

.form-actions .btn-submit {
    padding: 10px 28px;
    background: var(--theme-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.form-actions .btn-submit:hover {
    background: var(--theme-primary-dark);
}

/* ========== 响应式样式（统一） ========== */

@media (max-width: 1200px) {
    .supply-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    /* 供给大厅 */
    .supply-header { padding: 24px 20px; }
    .supply-grid { grid-template-columns: 1fr; }
    .category-tabs-inner { gap: 16px; padding-bottom: 8px; }
    .tab-item { padding: 8px 16px; font-size: 13px; background: #f8fafc; }
    .search-bar-right { margin-left: auto; }
    .search-input-wrapper { display: none; }

    /* 详情页 */
    .detail-info-grid { grid-template-columns: repeat(2, 1fr); }
    .provider-logo { width: 60px; height: 60px; }
    .case-list { grid-template-columns: 1fr; }
    .case-item { flex-direction: column; }
    .case-img { width: 100%; height: 120px; }
    .provider-info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .provider-contact { flex-direction: column; gap: 8px; }
    .provider-view-detail {
        top: 0;
        right: 0;
        bottom: auto;
        padding: 6px 10px;
        opacity: 1;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .supply-grid { grid-template-columns: 1fr; gap: 12px; }
    .category-tabs-inner { gap: 8px; }
    .btn-search { padding: 8px 12px; }
}

@media (max-width: 480px) {
    .category-tabs { padding: 10px 0; }
    .search-bar { flex-direction: column; gap: 12px; }
    .search-bar-right { margin-left: 0; margin-top: 8px; width: 100%; }
    .supply-card-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .supply-badge { align-self: flex-start; }
    .supply-title { font-size: 14px; }
    .supply-tags { flex-wrap: wrap; }
    .supply-actions { width: 100%; flex-direction: column; gap: 8px; }
    .supply-actions .btn-primary { width: 100%; text-align: center; }
}
