/* 场地页面特定样式 */
.page-header {
    background: linear-gradient(rgba(29, 53, 87, 0.9), rgba(29, 53, 87, 0.9)), url('../images/court-bg.jpg') center/cover;
    padding: 4rem 0;
}

.court-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.court-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.court-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.court-card:hover .court-img {
    transform: scale(1.05);
}

.court-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-available {
    background-color: #d4edda;
    color: #155724;
}

.status-booked {
    background-color: #f8d7da;
    color: #721c24;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.time-slot {
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.time-slot.available {
    background-color: #e8f5e8;
    color: #155724;
    border-color: #c3e6cb;
}

.time-slot.available:hover {
    background-color: #d4edda;
    transform: translateY(-2px);
}

.time-slot.booked {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    cursor: not-allowed;
    opacity: 0.6;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.card-header {
    background-color: var(--dark-color);
    color: white;
    border-bottom: none;
}

.table th {
    background-color: var(--light-gray);
    color: var(--dark-color);
    font-weight: 600;
}