/* ==========================================================================
   CLIENT/ASSETS/CSS/EXERCICE-FINANCES.CSS
   Surcharge de style (Thème Violet & Lavande) pour le Module Finances en Couple
   ========================================================================== */

:root {
    --exo-bg-page: #ece2f5;       /* Fond lavande très clair */
    --exo-primary: #5120a8;       /* Violet dynamique */
    --exo-primary-dark: #2a0b63;  /* Violet sombre (Titres forts) */
    --exo-secondary: #dac6f0;     /* Lavande soutenu (Bordures / Lignes de fond) */
    --exo-text: #271a3d;          /* Gris teinté violet profond pour la lecture */
    --exo-paper: #ffffff;         /* Blanc (Zones texte et tableaux) */
    --exo-shadow: 0 4px 15px rgba(42, 11, 99, 0.12);
}

/* Surcharge des liges du papier quadrillé */
.exo-textarea.large {
    background-image: linear-gradient(#fafafa 29px, var(--exo-secondary) 30px);
}

.exo-textarea:focus {
    background-image: linear-gradient(#fff 29px, var(--exo-secondary) 30px);
    box-shadow: 0 0 0 3px rgba(81, 32, 168, 0.1);
}

/* Ajustement des couleurs de la barre d'outils */
.toolbar-instruction-box {
    background-color: rgba(81, 32, 168, 0.05);
    border: 1px solid rgba(81, 32, 168, 0.2);
}

.instruction-divider {
    background-color: rgba(81, 32, 168, 0.2);
}

/* Accentuation de la première ligne d'exemple dans les tableaux */
.journal-table tbody tr:first-child .exo-input {
    min-height: 0 !important; 
    height: 30px !important;
    padding: 5px 0 !important;
    font-size: 1rem; 
    font-style: italic;
    opacity: 0.6;
    color: var(--exo-primary-dark);
}

/* Les inputs de montants financiers (alignés à droite pour les chiffres par ex) */
.input-montant {
    text-align: right;
    font-family: monospace; /* Plus clair pour les chiffres */
    font-size: 1.1rem;
}

body[data-exercice-id^="fin-s"] .info-card p,
body[data-exercice-id^="fin-s"] .warning-card p {
    font-size: 1.25rem;
    line-height: 1.6;
}

body[data-exercice-id^="fin-s"] .check-list li {
    font-size: 1.2rem;
}
