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; }
