.piscina-esporta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.filtri-esporta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    color: white;
}

.filtri-esporta h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.filtro-form {
    margin-bottom: 20px;
}

.filtri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filtro-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.filtro-item input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.btn-filtra,
.btn-reset {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-filtra {
    background: #4CAF50;
    color: white;
}

.btn-reset {
    background: #f44336;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-left: 10px;
}

.btn-filtra:hover,
.btn-reset:hover {
    transform: scale(1.05);
}

.azioni-esporta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-export-excel,
.btn-export-csv,
.btn-export-pdf {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-export-excel {
    background: #1E7243;
    color: white;
}

.btn-export-csv {
    background: #217346;
    color: white;
}

.btn-export-pdf {
    background: #dc3545;
    color: white;
}

.btn-export-excel:hover,
.btn-export-csv:hover,
.btn-export-pdf:hover {
    transform: scale(1.05);
}

.anteprima-prenotazioni {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.anteprima-prenotazioni h3 {
    padding: 20px;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.stats {
    padding: 20px;
    background: #e3f2fd;
    border-bottom: 1px solid #dee2e6;
    font-weight: bold;
}

.table-wrapper {
    overflow-x: auto;
}

.tabella-prenotazioni {
    width: 100%;
    border-collapse: collapse;
}

.tabella-prenotazioni th,
.tabella-prenotazioni td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.tabella-prenotazioni th {
    background: #f8f9fa;
    font-weight: bold;
}

.no-data {
    text-align: center;
    padding: 50px;
    color: #999;
}

@media (max-width: 768px) {
    .tabella-prenotazioni { font-size: 12px; }
    .tabella-prenotazioni th, .tabella-prenotazioni td { padding: 8px 10px; }
}