body {
    font-family: 'Source Sans Pro', sans-serif;
}
.btn {
    letter-spacing: normal;
    font-size: 14px;
}
.modal .btn-close {
    content: 'A';
}
.section {
    position: static;
}

table.t1 tr td {
    border-top: 1px solid #e3e3e3;
}

.card.card-statistic-1 .card-header h4, .card.card-statistic-2 .card-header h4 {
    letter-spacing: normal;
}
.w_50 {width: 50px!important;}
.w_100 {width: 100px!important;}
.w_150 {width: 150px!important;}
.w_200 {width: 200px!important;}
.w_300 {width: 300px!important;}
.w_400 {width: 400px!important;}
.w_450 {width: 450px!important;}
.w_100_p {width: 100%!important;}

.h_100 {height: 100px!important;}
.h_150 {height: 150px!important;}
.h_200 {height: 200px!important;}
.h_300 {height: 300px!important;}
.h_350 {height: 350px!important;}
.h_400 {height: 400px!important;}

.fz_20 {font-size: 20px!important;}
.fz_30 {font-size: 30px!important;}
.fz_40 {font-size: 40px!important;}
.fz_50 {font-size: 50px!important;}

.c1 {
    color: #6777ef;
}

.hide {
    display: none;
}

.obfc1 {
    object-fit: cover;
    height: 200px;
}
.video-iframe-container iframe {
    width: 100%;
    height: 200px;
}

.bdb1 {border-bottom: 1px solid #d3d3d3;}

table tr td {
    border-bottom: 1px solid #e3e3e3 !important;
    vertical-align: middle!important;
}
.table.table-bordered td, .table.table-bordered th {
    border-color: #e3e3e3!important;
}

.sec-title {
    font-size: 16px;
    font-weight: 600;
    background: #eaeaea;
    padding: 8px 20px;
    color: #000;
    margin-bottom: 20px;
}
.section .section-header .btn {
    font-size: 14px!important;
}
.main-sidebar .sidebar-brand {
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}
.main-sidebar .sidebar-brand a {
    text-transform: none;
    letter-spacing: normal;
    font-size: 18px;
    font-weight: 600;
}
.main-sidebar .sidebar-menu li a {
    letter-spacing: normal;
    padding-left: 10px;
    padding-right: 10px;
    height: 40px;
}
.main-sidebar .sidebar-menu li a i {
    margin-right: 5px;
    margin-top: 5px;
}
.main-sidebar .sidebar-menu li ul.dropdown-menu li a {
    padding-left: 46px;
    font-size: 14px;
}
.main-sidebar .sidebar-menu li ul.dropdown-menu li a i {
    width: 18px;
    margin-right: 0;
}
.main-sidebar .sidebar-menu li a.has-dropdown:after {
    top: 55%;
}
.main-sidebar .sidebar-menu li.active a,
.main-sidebar .sidebar-menu li ul.dropdown-menu li.active > a {
    font-weight: 400;
}

.card.card-statistic-1 .card-header h4 {
    font-size: 16px;
}
table img {
    padding-top: 10px;
    margin-bottom: 10px;
}
.dataTables_wrapper {
    font-size: 14px!important;
}
thead tr th {
    border-top: 1px solid #ddd!important;
}
/* thead tr th:last-child {
    width: 120px;
} */
.border-box {
    border: 1px solid #d7d7d7!important;
}
.container-login {
    margin-top: 100px!important;
}
.card-header-auth {
    display: block!important;
    border-bottom-color: #fff!important;
    margin-top: 15px!important;
    padding-bottom: 10px!important;
    min-height: 0!important;
}
.card-header-auth h4 {
    font-size: 20px!important;
}
.card-body-auth {
    padding: 10px 20px!important;
}
.card-body-auth button {
    font-size: 14px!important;
}
.note-editor {
    margin-bottom: 0;
}
.form-control, .input-group-text,
.custom-select,
.custom-file-label,
.select2-container .select2-selection--multiple,
.select2-container .select2-selection--single,
.note-editor.note-frame {
    border-color: #d7d7d7!important;
}
.card .card-header {
    border-bottom-color: #ebebeb;
}
.custom-switch {
    padding-left: 0;
    padding-top: 10px;
}
#photo_preview {
    padding-top: 5px;
}
#photo_preview img.thumb {
    width: 300px;
}
.note-editor .note-btn {
    padding-left: 10px!important;
    padding-right: 10px!important;
}
.navbar .navbar-brand {
    letter-spacing: normal;
    text-transform: none;
}
.card-body-auth .invalid-feedback {
    font-size: 14px;
}
.form-group .control-label,
.form-group > label {
    font-size: 14px;
    padding-top: 10px;
    letter-spacing: normal;
    color: #000;
}
.form-label {
    color: #000;
    font-weight: 600;
}
.toggle-container .toggle {
    width: 96.8594px!important;
    height: 36px!important;
}
.navbar .nav-link.nav-link-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
img.profile-photo {
    width: 100%;
    height: auto;
}


img.template-preview {
    width: 100%;
    height: 145px;
    border-radius: 6px;
    border: 2px solid #757575;
}
.funkyradio div {
    overflow: hidden;
    width: 100%;
    float: left;
    margin-right: 20px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
}

.funkyradio div span {
    font-size: 14px;
}

.funkyradio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: 400;
    font-size: 13px;
    color: #000;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
    display: none;
    font-size: 14px!important;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 2.5em;
    text-indent: 3.25em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.5em;
    background: #D1D3D4;
    border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #000;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
    color: #000;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #000;
    background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #6777ef;
}

.funkyradio1 .funkyradio-success {
    width: 25%;
    font-size: 14px;
    float: left;
}

.funkyradio1 div {
    margin-bottom: 0!important;
}


/* Ajax Loader */
#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.75) url(loading.gif) no-repeat center center;
    z-index: 10000;
}

.razorpay-payment-button {
    box-shadow: 0 2px 6px #acb5f6;
    background-color: #6777ef;
    border-color: #6777ef;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    padding: 5px 10px;
    color: #fff;
    border-style: none;
    border-radius: 4px;
    width: 100%;
}
.razorpay-payment-button:hover {
    background-color: #394eea!important;
}


.section .section-header .btn:hover,
.section-body button[type="submit"]:hover {
    background: #000!important;
}
/* table tr th:last-child {
    width: 200px;
} */
table.t2 tr th:last-child {
    width: auto!important;
}

td.social a {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    display: inline-block;
    background: #000;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.invoice hr {
    border-color: #dfdfdf;
}
hr.invoice-above-table {
    display: none;
}
@media print {
    .main-sidebar,
    .navbar,
    .section-header,
    .print-invoice-button,
    .section .section-title:before,
    hr.about-print-button {
        display:none!important;
    }
    .section .section-lead {
        margin-left: 0;
    }
    hr.invoice-above-table {
        display: block;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* TinyMCE Notification Off */
.tox .tox-notification {
    display: none !important;
}

/* ===================================================
   DASHBOARD KPI CARDS (dkpi)
   =================================================== */

.dkpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 14px;
    padding: 22px 12px 18px;
    text-decoration: none;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
    border-bottom: 3px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease;
    height: 100%;
    min-height: 130px;
}
.dkpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.11);
    text-decoration: none;
}

.dkpi-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
    transition: transform .18s;
}
.dkpi:hover .dkpi-icon { transform: scale(1.1); }

.dkpi-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a2e35;
    line-height: 1;
    margin-bottom: 5px;
}
.dkpi-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #aaa;
    text-align: center;
}

/* Variantes couleurs */
.dkpi--teal   { border-bottom-color: #007481; }
.dkpi--teal   .dkpi-icon { background: #e6f4f5; color: #007481; }

.dkpi--green  { border-bottom-color: #00b451; }
.dkpi--green  .dkpi-icon { background: #e6f9ee; color: #00b451; }

.dkpi--orange { border-bottom-color: #f59e0b; }
.dkpi--orange .dkpi-icon { background: #fff8e6; color: #f59e0b; }

.dkpi--blue   { border-bottom-color: #2563eb; }
.dkpi--blue   .dkpi-icon { background: #eff4ff; color: #2563eb; }

.dkpi--purple { border-bottom-color: #7c3aed; }
.dkpi--purple .dkpi-icon { background: #f3eeff; color: #7c3aed; }

.dkpi--red    { border-bottom-color: #dc2626; }
.dkpi--red    .dkpi-icon { background: #fef2f2; color: #dc2626; }

.dkpi--gray   { border-bottom-color: #6b7280; }
.dkpi--gray   .dkpi-icon { background: #f3f4f6; color: #6b7280; }

/* ===================================================
   DASHBOARD MINIMAL
   =================================================== */

/* Bandeau bienvenue */
.dash-welcome {
    background: #fff;
    border-radius: 10px;
    border-left: 5px solid #007481;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.dash-welcome-title { font-size: 1.2rem; font-weight: 700; color: #1a2e35; margin: 0; }
.dash-welcome-sub   { font-size: .875rem; color: #777; margin: 3px 0 0; }
.dash-welcome-date  { font-size: .82rem; color: #999; white-space: nowrap; }

/* KPI cards — icône centrée */
.dash-kpi {
    background: #fff;
    border-radius: 12px;
    border-top: 4px solid #ccc;
    padding: 22px 14px 18px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    text-decoration: none;
    display: block;
    transition: box-shadow .2s, transform .2s;
}
.dash-kpi:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); transform: translateY(-3px); text-decoration: none; }

.dash-kpi-icon-wrap {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 12px;
}
.dash-kpi-value {
    font-size: 2.2rem; font-weight: 800;
    color: #1a2e35; line-height: 1;
    margin-bottom: 6px;
}
.dash-kpi-label {
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: #aaa;
}

.dash-kpi--teal   { border-top-color: #007481; }
.dash-kpi--teal   .dash-kpi-icon-wrap { background: #e6f4f5; color: #007481; }
.dash-kpi--green  { border-top-color: #00b451; }
.dash-kpi--green  .dash-kpi-icon-wrap { background: #e6f9ee; color: #00b451; }
.dash-kpi--blue   { border-top-color: #2563eb; }
.dash-kpi--blue   .dash-kpi-icon-wrap { background: #eff4ff; color: #2563eb; }
.dash-kpi--orange { border-top-color: #f59e0b; }
.dash-kpi--orange .dash-kpi-icon-wrap { background: #fff8e6; color: #f59e0b; }
.dash-kpi--red    { border-top-color: #dc2626; }
.dash-kpi--red    .dash-kpi-icon-wrap { background: #fef2f2; color: #dc2626; }
.dash-kpi--purple { border-top-color: #7c3aed; }
.dash-kpi--purple .dash-kpi-icon-wrap { background: #f3eeff; color: #7c3aed; }

/* Accès rapide */
.dash-quicklinks {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.dash-quicklink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    background: #007481;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.dash-quicklink:hover { background: #005b65; color: #fff; text-decoration: none; transform: translateY(-1px); }
.dash-quicklink--green:hover  { background: #009040; }
.dash-quicklink--green  { background: #00b451; }
.dash-quicklink--orange { background: #f59e0b; }
.dash-quicklink--orange:hover { background: #d48709; }
.dash-quicklink--blue   { background: #2563eb; }
.dash-quicklink--blue:hover   { background: #1a4fc0; }
.dash-quicklink--purple { background: #7c3aed; }
.dash-quicklink--purple:hover { background: #5f25c7; }
.dash-quicklink--red    { background: #dc2626; }
.dash-quicklink--red:hover    { background: #b91c1c; }
.dash-quicklink--alt    { background: #5a6471; }
.dash-quicklink--alt:hover    { background: #3e4650; }
.dash-quicklink .badge { font-size: .72rem; background: rgba(255,255,255,.25); color: #fff; }

/* Top jobs */
.dash-topjob-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    overflow: hidden;
    margin-bottom: 24px;
}
.dash-topjob-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dash-topjob-header-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: #fef2f2;
    color: #dc2626;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
}
.dash-topjob-title { font-size: .9rem; font-weight: 700; color: #1a2e35; margin: 0; }

.dash-topjob-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    border-bottom: 1px solid #f8f8f8;
    transition: background .15s;
}
.dash-topjob-item:last-child { border-bottom: 0; }
.dash-topjob-item:hover { background: #fafafa; }

.dash-topjob-rank {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #e8e8e8;
    color: #aaa;
    font-size: .72rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dash-topjob-rank--top { border-color: #007481; color: #007481; }

.dash-topjob-info { flex: 1; min-width: 0; }
.dash-topjob-name { font-size: .875rem; font-weight: 600; color: #1a2e35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-topjob-org  { font-size: .78rem; color: #aaa; }
.dash-topjob-views { font-size: .8rem; color: #888; white-space: nowrap; display: flex; align-items: center; gap: 4px; }


/* =====================================================================
   HABILLAGE FONGIM (09/11/2026)
   Remplace le bleu du modèle d'origine (#0083c1, #007bff) par la couleur du FONGIM
   sur toutes les pages de l'admin : bandeau, boutons, liens, menu, champs, tableaux.
   À garder EN FIN de fichier : ces règles doivent passer après celles du modèle.
   ===================================================================== */
:root {
    --adm-primaire: #007481;
    --adm-primaire-fonce: #005f6a;
    --adm-primaire-clair: #e6f4f5;
    --adm-texte: #1f2d33;
    --adm-texte-doux: #5f6b72;
    --adm-bordure: #e6ecee;
}

/* Bandeau de couleur derrière les titres de page */
.navbar-bg {
    background: linear-gradient(120deg, #005f6a 0%, #007481 55%, #0b8a78 100%);
}

/* Liens et titres de cartes */
a { color: var(--adm-primaire); }
a:hover { color: var(--adm-primaire-fonce); }
.card .card-header h4 { color: var(--adm-primaire); }
.text-primary { color: var(--adm-primaire) !important; }
.bg-primary, .badge-primary { background-color: var(--adm-primaire) !important; }

/* Cartes : coins plus doux, ombre légère */
.card {
    border-radius: 8px;
    border: 1px solid #eef2f3;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
}
.section .section-header {
    border-radius: 8px;
}

/* Boutons principaux */
.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--adm-primaire) !important;
    border-color: var(--adm-primaire) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.disabled:hover {
    background-color: var(--adm-primaire-fonce) !important;
    border-color: var(--adm-primaire-fonce) !important;
}
.btn-outline-primary,
.btn-outline-primary.disabled {
    border-color: var(--adm-primaire);
    color: var(--adm-primaire);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--adm-primaire) !important;
    border-color: var(--adm-primaire) !important;
    color: #fff;
}
.btn:focus-visible {
    outline: 2px solid var(--adm-primaire);
    outline-offset: 2px;
}

/* Champs de formulaire */
.form-control:focus,
.custom-select:focus,
.custom-file-input:focus ~ .custom-file-label {
    border-color: var(--adm-primaire) !important;
    box-shadow: 0 0 0 3px rgba(0, 116, 129, .12) !important;
}
.custom-switch-input:checked ~ .custom-switch-indicator { background: var(--adm-primaire); }
.custom-switch-input:focus ~ .custom-switch-indicator { border-color: var(--adm-primaire); }
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--adm-primaire);
    border-color: var(--adm-primaire);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link { background-color: var(--adm-primaire); }

/* Tableaux des listes */
.table:not(.table-sm) thead th {
    background-color: #f5f8f9;
    color: var(--adm-texte-doux);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 1px solid var(--adm-bordure) !important;
}
.table tbody tr:hover { background-color: #f6fafa; }
.page-link { color: var(--adm-primaire); }
.page-item.active .page-link {
    background-color: var(--adm-primaire) !important;
    border-color: var(--adm-primaire) !important;
    color: #fff;
    box-shadow: none !important;
}
.dataTables_wrapper .dataTables_filter input:focus { border-color: var(--adm-primaire); }

/* ----- Menu de gauche ----- */
.main-sidebar .sidebar-brand {
    display: flex;
    align-items: center;
    height: 60px;
    line-height: normal;
    border-bottom: 1px solid var(--adm-bordure);
}
.main-sidebar .sidebar-brand a.adm-marque {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--adm-texte);
    font-size: 16px;
    font-weight: 700;
}
.main-sidebar .sidebar-brand img {
    display: block;
    height: 30px;
    width: auto;
}
.main-sidebar .sidebar-brand-sm {
    justify-content: center;
}
.main-sidebar .sidebar-brand-sm img { height: 26px; }

.main-sidebar .sidebar-menu li.menu-header {
    padding: 18px 20px 6px;
    margin-top: 0 !important;
    color: #9aa6ac;
    font-size: 10.5px;
    letter-spacing: 1.2px;
}
.main-sidebar .sidebar-menu li a {
    color: #3d4a52;
    height: 42px;
}
.main-sidebar .sidebar-menu li a i { color: #8a989f; }
.main-sidebar .sidebar-menu li a:hover { background-color: #f4f8f9; color: var(--adm-primaire); }
.main-sidebar .sidebar-menu li a:hover i { color: var(--adm-primaire); }
body:not(.sidebar-mini) .main-sidebar .sidebar-menu > li > a { padding-left: 20px; }
body:not(.sidebar-mini) .main-sidebar .sidebar-menu li a i { width: 20px; margin-right: 12px; margin-top: 0; }

/* Rubrique ouverte (page en cours) : fond clair et trait vert à gauche */
.main-sidebar .sidebar-menu > li.active > a {
    color: var(--adm-primaire);
    background-color: var(--adm-primaire-clair);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--adm-primaire);
}
.main-sidebar .sidebar-menu > li.active > a i { color: var(--adm-primaire); }

/* Sous-menus */
.main-sidebar .sidebar-menu li.active ul.dropdown-menu { background-color: #fafcfc; }
.main-sidebar .sidebar-menu li ul.dropdown-menu li a {
    height: 36px;
    padding-left: 52px;
    font-size: 13.5px;
}
.main-sidebar .sidebar-menu li.active ul.dropdown-menu li a {
    color: var(--adm-texte-doux);
    font-weight: 400;
    background-color: transparent;
}
.main-sidebar .sidebar-menu li.active ul.dropdown-menu li a:hover { color: var(--adm-primaire); background-color: #f0f6f7; }
.main-sidebar .sidebar-menu li ul.dropdown-menu li.active > a {
    color: var(--adm-primaire);
    font-weight: 600;
}
.main-sidebar .sidebar-menu li ul.dropdown-menu li.active > a i { color: var(--adm-primaire); }

/* Menu réduit (icônes seules) */
body.sidebar-mini .main-sidebar .sidebar-menu > li.active > a {
    background-color: var(--adm-primaire);
    color: #fff;
    box-shadow: none;
}
body.sidebar-mini .main-sidebar .sidebar-menu > li.active > a i { color: #fff; }
.main-sidebar .sidebar-menu li ul.dropdown-menu li a i {
    width: 18px;
    margin-right: 10px;
    text-align: center;
    color: #a3afb5;
}

/* =====================================================================
   TABLEAU DE BORD (09/11/2026) : « À traiter », accès rapides, sous-titres des chiffres
   ===================================================================== */
.dkpi-sub {
    margin-top: 6px;
    font-size: 12px;
    color: #7b888e;
    text-align: center;
    line-height: 1.3;
}
.dash-panel { height: calc(100% - 30px); }
.dash-panel .card-header { min-height: 56px; }

/* À traiter : une ligne cliquable par point à suivre */
.dash-todo {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-bottom: 1px solid #f1f4f5;
    color: inherit;
    text-decoration: none !important;
    transition: background-color .15s;
}
.dash-todo:last-child { border-bottom: 0; }
.dash-todo:hover { background-color: #f6fafa; }
.dash-todo-icone {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff4e0;
    color: #b45309;
}
.dash-todo-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dash-todo-libelle { font-size: .9rem; font-weight: 600; color: var(--adm-texte); line-height: 1.35; }
.dash-todo-aide { font-size: .78rem; color: #7b888e; margin-top: 2px; }
.dash-todo-nombre {
    font-size: 1.25rem;
    font-weight: 800;
    color: #b45309;
    min-width: 40px;
    text-align: right;
}
.dash-todo-fleche { color: #c3cdd1; font-size: .75rem; }
.dash-todo:hover .dash-todo-fleche { color: var(--adm-primaire); }
.dash-todo--ok .dash-todo-icone { background: #e6f7ee; color: #047857; }
.dash-todo--ok .dash-todo-nombre { color: #047857; }

/* Accès rapides : tuiles icône + libellé */
.dash-raccourcis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.dash-raccourcis--large { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.dash-raccourci {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--adm-bordure);
    border-radius: 8px;
    color: var(--adm-texte);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    transition: border-color .15s, background-color .15s, color .15s;
}
.dash-raccourci-icone {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--adm-primaire-clair);
    color: var(--adm-primaire);
}
.dash-raccourci:hover {
    border-color: var(--adm-primaire);
    background-color: #f6fafa;
    color: var(--adm-primaire);
}
.dash-raccourci:hover .dash-raccourci-icone { background: var(--adm-primaire); color: #fff; }

.dash-voir-tout { font-size: .8rem; font-weight: 600; }
.dash-vide { color: #9aa6ac; font-size: .85rem; justify-content: center; }

@media (max-width: 575px) {
    .dash-raccourcis { grid-template-columns: 1fr; }
    .dash-todo { padding: 12px 16px; }
}
/* Chiffres clés alignés en haut : icônes et nombres sur une même ligne, même si une carte a un sous-titre */
.dkpi { justify-content: flex-start; }

/* Interrupteurs Bootstrap (custom-control custom-switch), ex. « Sécurité du compte » :
   la règle .custom-switch { padding-left: 0 } plus haut (prévue pour les interrupteurs du modèle)
   les faisait sortir de leur carte. On leur rend la place prévue pour le bouton. */
.custom-control.custom-switch {
    display: block;
    padding-left: 2.75rem;
    padding-top: 0;
}
.custom-control.custom-switch .custom-control-label { cursor: pointer; }
.custom-control.custom-switch .custom-control-label::before { left: -2.75rem; }
.custom-control.custom-switch .custom-control-label::after { left: calc(-2.75rem + 2px); }

/* Cases à cocher et boutons radio Bootstrap : couleur FONGIM */
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,
.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--adm-primaire) !important;
    border-color: var(--adm-primaire) !important;
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 3px rgba(0, 116, 129, .2) !important;
}

/* =====================================================================
   ESPACE MEMBRES : tableau de bord (09/11/2026)
   Réutilise .dash-welcome, .dash-raccourci et .dash-topjob-* du tableau de bord admin.
   ===================================================================== */
.mbr-titre-section {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--adm-texte-doux);
    margin: 0 0 12px;
}

/* Mes démarches : une carte par type de demande */
.mbr-demarche {
    background: #fff;
    border: 1px solid #eef2f3;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
    padding: 20px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.mbr-demarche-tete {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}
.mbr-demarche-icone {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--adm-primaire-clair);
    color: var(--adm-primaire);
    font-size: 1.05rem;
}
.mbr-demarche-titre { display: flex; flex-direction: column; min-width: 0; }
.mbr-demarche-titre a { font-size: 1rem; font-weight: 700; color: var(--adm-texte); }
.mbr-demarche-titre a:hover { color: var(--adm-primaire); }
.mbr-demarche-titre span { font-size: .8rem; color: #7b888e; }

.mbr-statuts {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.mbr-statuts li {
    border-radius: 8px;
    padding: 12px 10px;
    text-align: center;
    background: #f6f8f9;
}
.mbr-statut-nombre { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.mbr-statut-libelle { display: block; font-size: .75rem; font-weight: 600; margin-top: 2px; }
.mbr-statut--attente { background: #fff6e5 !important; color: #a35a00; }
.mbr-statut--ok      { background: #e8f7ef !important; color: #047857; }
.mbr-statut--refus   { background: #fdecec !important; color: #b42318; }

.mbr-demarche-lien { margin-top: auto; font-size: .85rem; font-weight: 600; }
.mbr-demarche-lien i { font-size: .75rem; margin-left: 4px; transition: transform .15s; }
.mbr-demarche-lien:hover i { transform: translateX(3px); }
.mbr-demarche-vide { margin: 0; color: #7b888e; font-size: .875rem; }

/* Accès rapides : 4 tuiles sur une ligne en grand écran */
.mbr-raccourcis { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .mbr-raccourcis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .mbr-raccourcis { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Publications et actualités */
.mbr-icone-teal { background: var(--adm-primaire-clair) !important; color: var(--adm-primaire) !important; }
.mbr-icone-vert { background: #e8f7ef !important; color: #047857 !important; }
.mbr-fichier-icone { font-size: 1.35rem; width: 26px; text-align: center; color: #8a989f; flex-shrink: 0; }
.mbr-actu { color: inherit; text-decoration: none !important; }
.mbr-actu:hover .dash-topjob-name { color: var(--adm-primaire); }
.mbr-actu-date {
    flex-shrink: 0;
    width: 46px;
    border-radius: 8px;
    background: #e8f7ef;
    color: #047857;
    text-align: center;
    font-size: .7rem;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 6px 0;
}
.mbr-actu-date strong { display: block; font-size: 1.05rem; }
.mbr-actu-fleche { color: #c3cdd1; font-size: .75rem; }
.mbr-actu:hover .mbr-actu-fleche { color: var(--adm-primaire); }

@media (max-width: 575px) {
    .mbr-demarche { padding: 16px; }
    .mbr-demarche-tete .btn { margin-left: 0 !important; width: 100%; }
    .mbr-statut-nombre { font-size: 1.35rem; }
}

/* =====================================================================
   ACTUALITÉS (admin, 11/11/2026) : encadré « Classement et mise en avant » des formulaires (admin/Blog/_classement)
   ===================================================================== */
.blog-classement {
    margin: 6px 0 18px;
    padding: 18px 20px 4px;
    border: 1px solid var(--adm-bordure);
    border-left: 3px solid var(--adm-primaire);
    border-radius: 10px;
    background: #fbfcfc;
}
.blog-classement-titre { font-size: .95rem; font-weight: 700; color: var(--adm-primaire); margin: 0 0 14px; }
.text-warning-fonce { color: #8a4b00; font-weight: 600; }
