/*------*/
/* v.14 */
/*------*/

/* Stili per la pagina di coniugazione dei verbi */

/* NUOVO: Stile per il titolo principale della pagina */
.page-main-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #343a40; /* Grigio scuro */
    margin-bottom: 2rem;
}

.search-box { background: white; padding: 2rem; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); max-width: 700px; margin: 2rem auto; }
.verb-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 2.5rem; }
.verb-name { color: #ffffff; background-color: #A084CA; padding: 0.3rem 1rem; border-radius: 8px; font-style: italic; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.modo-title { font-size: 2.5rem; font-weight: 800; text-align: center; margin: 3rem 0 2rem 0; color: #1A759F; border-bottom: 3px solid #1A759F; padding-bottom: 1rem; }
.verb-info-table { border: 1px solid #dee2e6; border-radius: .75rem; overflow: hidden; }
.verb-info-table th { background-color: #f8f9fa; font-weight: 600; }

/* Stile per le fasce dei tempi */
.tempi-subtitle {
	font-size: 1.3rem; font-weight: 600; color: #6c757d;
    text-align: center; background-color: #A084CA; color: #ffffff;
    padding: 0.5rem; border-radius: 8px; margin-top: 2rem; margin-bottom: 1.5rem;
}

.tempi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; }

/* Regole per posizionamento griglia */
.tempi-grid.due-colonne-centrali .tempo-box:nth-child(1) { grid-column-start: 2; }
.tempi-grid.imperativo .tempo-box:nth-child(1) { grid-column-start: 2; }

/* Stile per i titoli dei box */
.tempo-box { background: white; border: 1px solid #e9ecef; border-radius: 8px; padding: 1rem; }
.tempo-title {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    background: #000000;
	color: #ffffff;
    padding: 0.5rem;
    border-radius: 4px;
    margin: -1rem -1rem 0.8rem -1rem;
    line-height: 1.4;
}

.forme-list { list-style: none; padding: 0; margin: 0; }
.forme-list li { padding: 0.35rem 0.2rem; border-bottom: 1px solid #f1f1f1; }
.forme-list li:last-child { border-bottom: none; }
.forma-verbo { font-weight: 600; }

/* Responsive */
@media (max-width: 992px) {
    .tempi-grid { grid-template-columns: repeat(2, 1fr); }
    .tempi-grid.due-colonne-centrali .tempo-box:nth-child(1) { grid-column-start: auto; }
}
@media (max-width: 576px) {
    .page-main-title { font-size: 2rem; }
    .tempi-grid { grid-template-columns: 1fr; }
}