#turf-spots-list-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.turf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.turf-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 0 150px;
    min-width: 120px;
}

.turf-filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.turf-filter-group input,
.turf-filter-group select {
    padding: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.95rem;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

.turf-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.turf-btn:hover {
    background: #005a87;
}

.turf-btn-secondary {
    background: #6c757d;
}

.turf-btn-secondary:hover {
    background: #5a6268;
}

#turf-spots-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

#turf-spots-table th {
    background: #f1f3f5;
    text-align: left;
    padding: 12px 10px;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

#turf-spots-table td {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

#turf-spots-table tr:hover {
    background: #f8f9fa;
}

.stars {
    color: #f1c40f;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Lien nom */
.turf-spot-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.turf-spot-link:hover {
    text-decoration: underline;
}

/* Modal */
#turf-spot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

#turf-spot-modal .turf-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

#turf-spot-modal .turf-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

#turf-spot-modal .turf-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

#turf-spot-modal .turf-modal-close:hover {
    color: #000;
}

#turf-spot-modal .turf-modal-details p {
    margin: 8px 0;
    line-height: 1.5;
}

#turf-spot-modal .turf-modal-details strong {
    display: inline-block;
    min-width: 120px;
}

/* Responsive */
@media (max-width: 768px) {
    .turf-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .turf-filter-group {
        flex: 1 1 auto;
        min-width: 100%;
    }
    .turf-btn {
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }
    #turf-spots-table {
        font-size: 0.85rem;
    }
    #turf-spots-table th,
    #turf-spots-table td {
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    #turf-spots-table thead {
        display: none;
    }
    #turf-spots-table tbody tr {
        display: block;
        border: 1px solid #dee2e6;
        margin-bottom: 15px;
        padding: 10px;
        border-radius: 6px;
        background: white;
    }
    #turf-spots-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border: none;
        border-bottom: 1px dotted #e9ecef;
    }
    #turf-spots-table tbody td:last-child {
        border-bottom: none;
    }
    #turf-spots-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #495057;
        flex: 0 0 40%;
    }
    #turf-spots-table tbody td:first-child::before {
        content: "Nom";
    }
    #turf-spots-table tbody td:nth-child(2)::before {
        content: "Date";
    }
    #turf-spots-table tbody td:nth-child(3)::before {
        content: "Hippodrome";
    }
    #turf-spots-table tbody td:nth-child(4)::before {
        content: "Réunion/Course";
    }
    #turf-spots-table tbody td:nth-child(5)::before {
        content: "Spécialité";
    }
    #turf-spots-table tbody td:nth-child(6)::before {
        content: "Étoiles";
    }

    #turf-spot-modal .turf-modal-content {
        padding: 20px;
        width: 95%;
    }
    #turf-spot-modal .turf-modal-details strong {
        display: block;
        min-width: auto;
    }
}