/**
 * booth.css - 展位系统样式
 * 简洁干净风格
 * 
 * @author 小猪
 * @date 2026-03-29
 */

/* ===== VIP展区 - 莫兰迪素雅风格 ===== */
.vip-exhibition {
    background: linear-gradient(135deg, #6B7B8C 0%, #5A6A7B 100%);
    padding: 60px 0;
    color: #fff;
}

.normal-exhibition {
    background-color: #F5F4F1;
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vip-icon {
    font-size: 32px;
}

.section-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}

.normal-exhibition .section-subtitle {
    color: #888;
}

/* ===== VIP展位卡片 - 简洁 ===== */
.vip-booths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.vip-booth-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.vip-booth-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.vip-booth-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #9B8E7E 0%, #7A8B69 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-booth-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
}

.vip-booth-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.vip-booth-company {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}

.vip-booth-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
}

.vip-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #C4A574 0%, #B8956A 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
}

.vip-booth-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px dashed rgba(255,255,255,0.2);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* ===== 普通用户列表 - 简洁 ===== */
.refresh-section {
    margin-top: 20px;
}

.btn-refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #6B7B8C;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-refresh:hover:not(.disabled) {
    background: #5A6A7B;
}

.btn-refresh.disabled {
    background: #d9d9d9;
    cursor: not-allowed;
}

.refresh-timer {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #888;
}

.normal-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.normal-user-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.user-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.user-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B7B8C 0%, #9B8E7E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.user-type-badge {
    padding: 3px 10px;
    background: #E8EBEE;
    color: #6B7B8C;
    font-size: 11px;
    border-radius: 10px;
}

.user-company {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.user-region {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.user-business {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 14px;
}

.user-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.active-time {
    font-size: 12px;
    color: #7A8B69;
}

.view-btn {
    font-size: 12px;
    color: #6B7B8C;
    font-weight: 500;
}

.load-more {
    text-align: center;
    margin-top: 40px;
}

/* ===== 展位详情页 - 简洁 ===== */
.booth-detail {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 40px;
}

@media (min-width: 1400px) {
    .booth-detail {
        max-width: 1400px;
        padding: 40px 60px;
    }
}

@media (max-width: 768px) {
    .booth-detail {
        padding: 20px 16px;
    }
}

.booth-banner {
    height: 280px;
    background: linear-gradient(135deg, #6B7B8C 0%, #9B8E7E 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1400px) {
    .booth-banner {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .booth-banner {
        height: 200px;
    }
}

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

.booth-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

@media (min-width: 1400px) {
    .booth-info-card {
        padding: 48px 60px;
    }
}

@media (max-width: 768px) {
    .booth-info-card {
        padding: 24px 20px;
    }
}

.booth-info-header {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
}

@media (min-width: 1400px) {
    .booth-info-header {
        gap: 40px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
}

.booth-info-logo {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6B7B8C 0%, #9B8E7E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    flex-shrink: 0;
}

@media (min-width: 1400px) {
    .booth-info-logo {
        width: 140px;
        height: 140px;
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .booth-info-logo {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

.booth-info-main {
    flex: 1;
}

.booth-info-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

@media (min-width: 1400px) {
    .booth-info-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .booth-info-title {
        font-size: 22px;
    }
}

.booth-info-company {
    font-size: 15px;
    color: #666;
    margin-bottom: 14px;
}

.booth-info-stats {
    display: flex;
    gap: 32px;
}

@media (min-width: 1400px) {
    .booth-info-stats {
        gap: 40px;
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #6B7B8C;
}

.stat-label {
    font-size: 13px;
    color: #888;
}

@media (min-width: 1400px) {
    .stat-value {
        font-size: 28px;
    }
    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .stat-value {
        font-size: 20px;
    }
    .stat-label {
        font-size: 12px;
    }
}

/* ===== 联系信息网格 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .vip-booths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .normal-users-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .booth-info-header {
        flex-direction: column;
        text-align: center;
    }
    
    .booth-info-logo {
        margin: 0 auto;
    }

    /* 移动端为底部导航腾出空间 */
    .vip-exhibition,
    .normal-exhibition {
        padding-bottom: 20px;
    }
}

/* ===== 自动加载样式 ===== */
.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    color: #8B8B8B;
    font-size: 14px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #E0DDD5;
    border-top-color: #6B7B8C;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.no-more-data {
    text-align: center;
    padding: 30px;
    color: #A0A0A0;
    font-size: 14px;
}
