/* ==========================
   CALENDARIO - STILE PULITO
   Uso esclusivo per la pagina calendario
========================== */

/* Contenitore principale calendario */
.calendar-container {
    padding: 5px 10px;
}

/* ==========================
   Card partita
========================== */
.partita-card {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partita-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Dettagli partita */
.partita-details {
    color: #000;
    font-size: 15px;
}

/* Icona competizione */
.partita-card img {
    max-width: 50px;
}

/* ==========================
   Colori per competizione
========================== */
.partita-champions { background-color:#ACCDFC; color:#0D133E; }
.partita-europa { background-color: #FF6600; color:#fff; }
.partita-seriea { background-color: #0c76a4; color:#fff; }
.partita-coppa { background-color:#B1FAC1; color:#0D133E; }
.partita-supercoppa { background-color:#F4FABD; color:#000; }
.partita-conference { background-color:#F5C3F7; color:#0D133E; }
.partita-amichevole { background-color:#D5D5D5; color:#0D133E; }

/* ==========================
   Stato partita
========================== */
.partita-giocata {
    opacity: 0.75;
}

.partita-futura {
    background-color: #e9f2f7 !important;  /* sfondo leggero */
    border: 1px solid #c3d3e0 !important;  /* bordo leggermente più scuro */
    border-radius: 8px !important;         /* mantiene il bordo arrotondato */
    color: #0c76a4 !important;             /* testo coerente */
}

/* ==========================
   Titoli mese
========================== */
.month-title {
    font-size: 18px;
    font-weight: 600;
    color: #084a7a;
    margin: 8px 0 12px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.month-title.active {
    background-color: #0c76a4;
    color: #ffffff;
    font-weight: 700;
}

/* ==========================
   Titolo sezione
========================== */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #0c76a4;
    margin-bottom: 10px;
}

/* Linea HR */
hr {
    border: 0;
    height: 1px;
    background-color: #0c76a4;
    margin: 8px 0 12px;
}

/* ==========================
   Risultato
========================== */
.risultato strong {
    font-weight: 700;
    color: #084a7a;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 768px) {
    .partita-card { padding: 12px; }
    .partita-details { font-size: 14px; }
    .month-title { font-size: 16px; }
    .calendar-container { padding: 5px; }
}

@media (max-width: 576px) {
    .partita-card { padding: 10px; flex-direction: column; text-align: center; }
    .partita-card img { margin-bottom: 6px; }
    .partita-details { font-size: 13px; }
    .month-title { font-size: 15px; padding: 5px 8px; }
}

