:/* --- STYLES SPÉCIFIQUES POUR L'INTERFACE ELEC-PRO --- */

.border-top-info { border-top: 4px solid #3e8ed0; }
.border-info { border: 1px solid #3e8ed0 !important; }
.border-grey { border: 1px solid #dbdbdb; }
.shadow { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.h-100 { height: 100%; }

/* --- LE SCHÉMA UNIFILAIRE (PUR CSS) --- */
.schema-container {
    background-color: #fafbfc;
    /* Optionnel : petite grille de fond pour faire technique */
    background-image: radial-gradient(#e1e8ed 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Le jeu de barres principal (Ligne verticale épaisse) */
.schema-busbar {
    border-left: 4px solid #4a4a4a;
    margin-left: 20px;
    padding-top: 10px;
    padding-bottom: 20px;
}

/* Une branche de circuit */
.schema-branch {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    opacity: 0.6; /* Un peu effacé si non sélectionné */
    transition: all 0.2s ease;
}

/* On met en valeur le circuit sur lequel on travaille */
.schema-branch.is-active {
    opacity: 1;
}

/* Les fils horizontaux */
.schema-line {
    height: 2px;
    background-color: #4a4a4a;
    width: 40px;
}

.schema-branch.is-active .schema-line {
    background-color: #3e8ed0; /* Bleu si actif */
}

/* Les composants (Disjoncteurs, Moteurs...) */
.schema-component {
    margin: 0 5px;
}