/* ===== 约球页面样式 ===== */

.booking-page {
    background: #1a1a1a;
    color: #fff;
    min-height: 100vh;
}

/* ===== 英雄界面预加载动画已移至通用位置（ui-components.css） ===== */

/* Toolbar and cards reserve their final layout while data arrives. */
.filters-loading { width:100%; padding:4px 0; }
.filters-loading-bar { display:flex; align-items:center; gap:12px; }
.filters-loading .loading-left { width:min(310px,70%); height:42px; border-radius:12px; }
.filters-loading .loading-right { width:100px; height:38px; margin-left:auto; border-radius:10px; }
.booking-grid > .loading-state { width:100%; }

/* The visible toolbar has the same 4px breathing room above and below. */
.booking-page .filters-bar {
    padding-block: 4px;
    margin-block: 0;
}

/* ===== 主要内容区域 ===== */
.main-content {
    padding: 0; /* 移除所有内边距，让页面更紧凑 */
}

/* ===== 详情内容区域 - 按照标准容器切换模板 ===== */
.details-booking-content {
    padding: 20px 0 80px 0;
    transition: opacity 0.3s ease;
}

.details-booking-content .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面内容区域过渡效果 */
.main-content,
.details-booking-content {
    transition: opacity 0.2s ease-in-out;
}

.main-content[style*="none"] {
    opacity: 0;
}

.details-booking-content[style*="block"] {
    opacity: 1;
}

.content-section {
    margin-bottom: 0; /* 移除大的底部边距，使布局更紧凑 */
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== 发布约球表单 ===== */
.action-center {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.action-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* 动画效果已移至 /_static/repair-20261017-r134/components/others/transitions.css 统一管理 */

/* 移动端容器优化 - 移除所有内边距让页面更紧凑 */
@media (max-width: 768px) {
    .main-content .container {
        padding: 0; /* 移除所有内边距 */
    }
    
    .details-booking-content .container {
        padding: 0 0.5rem; /* 设置左右边距为0.5rem */
    }
    .section-header h2 {
        font-size: 2rem;
    }
    
    .booking-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .main-content .container {
        padding: 0; /* 移除所有内边距 */
    }
    .main-content {
        padding: 0; /* 移除所有内边距 */
    }
    
    .content-section {
        margin-bottom: 0; /* 移除移动端的底部边距，使布局更紧凑 */
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
}