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

.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%; }
.filters-loading .loading-left { width:min(310px,70%); }
.filters-loading .loading-right { margin-left:auto; }
.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;
}

.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-20261201-r169/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;
    }
}

/* Concentric geometry shared with the corresponding loading frames. */
html body #booking-cards-container { padding-inline:var(--sm-shape-inset)!important; box-sizing:border-box; }
html body .filters-loading { padding:4px var(--sm-shape-inset); box-sizing:border-box; }
html body .filters-loading-bar { display:flex; align-items:center; gap:12px; }
html body .filters-loading .loading-left { height:var(--sm-shape-control-height); border-radius:999px; flex:1; max-width:calc(100% - 112px); background:var(--sm-segment-track); }
html body .filters-loading .loading-right { width:100px; height:var(--sm-shape-control-height); border-radius:999px; background:var(--sm-skeleton-fill); }
