:root {
    --common-blue-beaupeyrat: #4c8fba;
    --orange-beaupeyrat: #f6731f;
    --border-color: #dce0e5;
    --title-blue-beaupeyrat: #00609c;
}

    
h1 {
    font-family: "Bell MT", serif !important;
    color: var(--title-blue-beaupeyrat) !important;
}

td {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}


h2 {
    font-family: "Bell MT", serif !important;
    color: var(--title-blue-beaupeyrat) !important;
}
.w-40 {
    width: 40% !important;
}
.bg-beaupeyrat {
    background-color: var(--common-blue-beaupeyrat) !important;
}
.border-beaupeyrat {
    border: 1px solid var(--common-blue-beaupeyrat) !important;
    border-color: var(--common-blue-beaupeyrat) !important;
}

.table {
    width: 100% !important;
    border-collapse: collapse !important;
}
.btn-excel {
    background-color: #217346 !important;
    color: white !important;
}

/* =========================
   SKILL GRID (Evaluation)
========================= */

.skill-grid {
    table-layout: fixed;
    width: 100%;
}

.skill-grid td {
    height: 48px;
    padding: 0;
}

.skill-radio {
    display: none;
}

.skill-cell {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.skill-cell:hover {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.skill-cell.is-selected {
    background-color: var(--skill-color);
    color: #fff;
    font-weight: 700;
}

/* =========================
   BEHAVIOR GRID (Evaluation)
========================= */

.behavior-grid {
    table-layout: fixed;
    width: 100%;
}

.behavior-grid td {
    height: 60px;
    padding: 0;
}

.behavior-label-cell {
    padding: 8px !important;
    width: 200px;
    min-width: 200px;
}

.behavior-radio {
    display: none;
}

.behavior-cell {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    padding: 4px;
    text-align: center;
    font-size: 0.85rem;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.behavior-cell:hover {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Couleurs par niveau (du pire au meilleur) */
.behavior-cell.is-selected[data-level="1"] {
    background-color: #EF4444;
    color: #fff;
    font-weight: 700;
}

.behavior-cell.is-selected[data-level="2"] {
    background-color: #ff8904;
    color: #fff;
    font-weight: 700;
}

.behavior-cell.is-selected[data-level="3"] {
    background-color: #FACC15;
    color: #000;
    font-weight: 700;
}

.behavior-cell.is-selected[data-level="4"] {
    background-color: #84CC16;
    color: #fff;
    font-weight: 700;
}

.behavior-cell.is-selected[data-level="5"] {
    background-color: #22C55E;
    color: #fff;
    font-weight: 700;
}

/* =========================
   BEHAVIOR VIEW GRID (Read-only)
========================= */

.behavior-view-grid {
    table-layout: fixed;
    width: 100%;
}

.behavior-view-grid td {
    height: 60px;
    padding: 0;
}

.behavior-view-grid .behavior-label-cell {
    padding: 8px !important;
    width: 200px;
    min-width: 200px;
}

.behavior-view-cell {
    transition: background-color 0.15s ease;
}