/* static/css/crea_squadra/riepilogo.css */

/* Riepilogo sotto il campo */
.riepilogo-section {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}
.riepilogo-section .card {
    flex: 1 1 auto;
    min-width: 200px;
    margin-bottom: 0;
}
.riepilogo-section .card .card-header {
    padding: 8px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}
.riepilogo-section .card .card-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}
.riepilogo-section .card .card-body {
    padding: 12px 15px;
}
.riepilogo-section .card .card-body p {
    margin-bottom: 4px;
    font-size: 14px;
}
.riepilogo-section .card .card-body .badge {
    font-size: 14px;
    padding: 4px 12px;
}
.riepilogo-section .statistiche-container {
    flex: 2 1 auto;
    min-width: 250px;
}

/* Riepilogo generale */
.card .badge {
    font-size: 13px !important;
    padding: 4px 10px !important;
}
#giocatori-selezionati-count {
    font-size: 18px;
    font-weight: bold;
}
#costo-totale {
    font-size: 18px;
    font-weight: bold;
    color: #198754;
}

/* Statistiche stagioni */
#statistiche-stagioni .badge {
    font-size: 14px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    min-width: 60px;
    text-align: center;
}
#statistiche-stagioni .badge.bg-danger {
    background: linear-gradient(135deg, #dc3545, #e74c3c) !important;
}
#statistiche-stagioni .badge.bg-primary {
    background: linear-gradient(135deg, #0d6efd, #2980b9) !important;
}

.stat-stagione-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-left: 4px solid #0d6efd;
    font-size: 15px;
}
.stat-stagione-item .stagione-label {
    font-weight: bold;
    font-size: 15px;
}

/* Dettaglio stagioni - senza scroll */
#dettaglio-stagioni .card-body {
    padding: 8px !important;
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}
#dettaglio-stagioni .table-responsive {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}
#dettaglio-stagioni .table {
    margin-bottom: 0;
    height: auto !important;
}
#dettaglio-stagioni .card {
    height: auto !important;
    min-height: 100px;
}
#dettaglio-stagioni .card .card-body {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
    padding: 8px !important;
}