/* Stili specifici per Dark Mode */
html.dark-mode {
    background-color: #0F0529; /* Viola notte */
    color: #EAEAEA;
    background-image: url('../img/background-dark.webp'); /* Immagine di sfondo per dark mode */
}

html.dark-mode .card {
    background-color: rgba(23, 10, 54, 0.75); /* Sfondo card più scuro */
    border: 1px solid rgba(255, 215, 0, 0.2);
}

html.dark-mode .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255,255,255,0.05);
}

html.dark-mode .form-control,
html.dark-mode .form-select {
    background-color: #1c0a40;
    color: #fff;
    border-color: #4a148c;
}
html.dark-mode .form-control:focus,
html.dark-mode .form-select:focus {
    background-color: #1c0a40;
    color: #fff;
    border-color: #ffd700;
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

html.dark-mode .accordion-item {
    border-color: rgba(255, 215, 0, 0.2);
}
/* ... (codice esistente) ... */

/* FIX: Rende il testo del responso delle carte leggibile in dark mode */
html.dark-mode .accordion-body {
    color: #EAEAEA; /* Lo stesso colore del testo principale */
}

/* FIX: Assicura che i link dentro l'accordion siano visibili */
html.dark-mode .accordion-body a {
    color: #8cb5ff; /* Un blu chiaro che si distingue */
}