﻿/* App_Themes/standard/admin.css — intranet .cr-layout (pages, cartes, formulaires).
   Complément : /_shared/Styles/controles.css. */

/* ========== Pages ASPX (ex pages.css) ========== */

/* Styles partages des pages ASPX (hors composants specifiques)
   Utilitaires cr-*, callout, filtres, HighlightSearch : /_shared/Styles/controles.css */

/* candidat_profil.aspx */
.page-bg {
    background: #ffffff;
    min-height: calc(100vh - 120px);
}

.card-clean {
    border: 0;
    box-shadow: 0 .125rem .45rem rgba(16, 24, 40, .06);
    border-radius: 1rem;
}

/* --- Fiches profil : candidat_edit, societe_edit, candidature_edit --- */
.profile-tabs {
    gap: .35rem;
    padding: .35rem .35rem 0 .35rem;
    margin-bottom: 0 !important;
    background: #e8edf3;
    border: 2px solid #a8b8cc;
    border-bottom: 0;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 1px 0 rgba(16, 24, 40, .06);
}
.profile-tabs .nav-link {
    border: 1px solid transparent;
    color: #5c6b7a;
    font-weight: 500;
    border-radius: .65rem .65rem 0 0;
    padding: .6rem .95rem;
}
.profile-tabs .nav-link.active {
    color: #1d426d;
    background: #fff;
    border-color: #a8b8cc #a8b8cc #fff;
    border-bottom: 2px solid #2f5f94;
    font-weight: 600;
    box-shadow: 0 -1px 0 #fff;
}
.profile-tabs + .tab-content {
    background: #fff;
    border: 2px solid #a8b8cc;
    border-top: 0;
    border-radius: 0 0 1rem 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 .25rem .75rem rgba(16, 24, 40, .1);
}
.profile-tabs + .tab-content .tab-pane-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin-bottom: 0;
}
.profile-tabs + .tab-content .tab-pane-card:not(:last-child) {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}
.profile-page .profile-tabs + .tab-content {
    margin-top: 0;
}

.cr-layout .profile-page > .row > [class*="col-"],
.cr-layout .profile-page .tab-content,
.cr-layout .profile-page .tab-pane {
    min-width: 0;
    max-width: 100%;
}
.profile-page .tab-pane-card {
    background: #fdfefe;
    border: 2px solid #a8b8cc;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 .25rem .75rem rgba(16, 24, 40, .1);
}
.profile-page .profile-tabs + .tab-content > .tab-pane > .tab-pane-card:first-child {
    margin-top: 0;
}

/* --- Formulaires encadrés — même encadrement que profile-tabs + tab-content (candidature_edit) --- */
.cr-layout .card.card-formulaire,
.cr-layout .card.card-formulaire-large {
    background: #fff !important;
    border: 2px solid #a8b8cc !important;
    border-radius: 1rem !important;
    box-shadow: 0 .25rem .75rem rgba(16, 24, 40, .1) !important;
    overflow: hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.cr-layout .card.card-formulaire {
    max-width: 42rem;
}
.cr-layout .card.card-formulaire-large {
    max-width: 56.25rem;
}
.cr-layout .card.card-formulaire-dashboard {
    background: #fff !important;
    border: 2px solid #a8b8cc !important;
    border-radius: 1rem !important;
    box-shadow: 0 .25rem .75rem rgba(16, 24, 40, .1) !important;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
.cr-layout .card.card-formulaire > .card-body,
.cr-layout .card.card-formulaire > .card-footer,
.cr-layout .card.card-formulaire > .card-header,
.cr-layout .card.card-formulaire-large > .card-body,
.cr-layout .card.card-formulaire-large > .card-footer,
.cr-layout .card.card-formulaire-large > .card-header {
    background-color: #fff !important;
}
.cr-layout .card.card-formulaire-dashboard > .card-body,
.cr-layout .card.card-formulaire-dashboard > .card-footer,
.cr-layout .card.card-formulaire-dashboard > .card-header {
    background-color: #fff !important;
}
.cr-layout .card.card-formulaire > .card-footer,
.cr-layout .card.card-formulaire-large > .card-footer {
    border-top: 1px solid #dee2e6;
}

/* Onglets Bootstrap — encadrement global sur fond blanc (hors profile-tabs et card-header-tabs) */
.cr-layout .nav-tabs:not(.profile-tabs):not(.card-header-tabs) {
    gap: .25rem;
    padding: .35rem .35rem 0 .35rem;
    margin-bottom: 0 !important;
    background: #e8edf3;
    border: 2px solid #a8b8cc;
    border-bottom: 0;
    border-radius: .75rem .75rem 0 0;
    box-shadow: 0 1px 0 rgba(16, 24, 40, .06);
}
.cr-layout .nav-tabs:not(.profile-tabs):not(.card-header-tabs) .nav-link {
    border: 1px solid transparent;
    color: #5c6b7a;
    font-weight: 500;
}
.cr-layout .nav-tabs:not(.profile-tabs):not(.card-header-tabs) .nav-link.active {
    background: #fff;
    border-color: #a8b8cc #a8b8cc #fff;
    color: #1d426d;
    font-weight: 600;
}
.cr-layout .nav-tabs:not(.profile-tabs):not(.card-header-tabs) + .tab-content {
    background: #fff;
    border: 2px solid #a8b8cc;
    border-top: 0;
    border-radius: 0 0 .75rem .75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 .25rem .75rem rgba(16, 24, 40, .1);
}

.profile-page .profile-summary-head {
    background: linear-gradient(135deg, #1d426d 0%, #285284 100%);
    border-radius: 1rem 1rem 0 0;
    padding: .9rem 1rem;
    color: #fff;
}
.profile-page .profile-summary-title-wrap {
    min-width: 0;
}
.profile-page .profile-summary-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-page .profile-summary-subtitle {
    color: rgba(255, 255, 255, .88);
    font-size: .86rem;
    line-height: 1.3;
    margin: .2rem 0 0 0;
}
.profile-page .profile-summary-body {
    padding: .9rem 1rem 1rem;
}
.profile-page .profile-summary-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.profile-page .profile-summary-logo {
    width: 96px;
    height: 96px;
    border-radius: .5rem;
    background: transparent;
    border: 0;
    padding: 0;
    object-fit: contain;
    flex: 0 0 96px;
}
.profile-page .logo-inverse img {
    display: block;
    width: 96px;
    height: 96px;
}
.profile-page .profile-form .form-label {
    font-weight: 500;
    margin-bottom: 0;
    font-size: .82rem;
    line-height: 1.25;
    color: #667085;
}
.profile-page .profile-form .form-control,
.profile-page .profile-form .form-select,
.profile-page .profile-form .form-control-plaintext,
.profile-page .profile-form .form-text {
    font-size: .86rem;
    line-height: 1.3;
}
.profile-page .profile-form .row.mb-3 {
    margin-bottom: .38rem !important;
}
.profile-page .profile-form .row.mt-3 {
    margin-top: .55rem !important;
}
.profile-page .profile-card .card-body {
    padding: .85rem 1rem;
}
.profile-page .profile-candidat-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #2f5f94;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.profile-page .profile-card .profile-candidat-chevron {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: rgba(0, 0, 0, .35);
    font-size: .7rem;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}
.profile-page .profile-card:hover .profile-candidat-chevron {
    background-color: transparent;
    color: rgba(0, 0, 0, .55);
}
.profile-page .profile-form .form-control-plaintext.border.rounded {
    min-height: 1.6rem;
    padding: .15rem 0 .2rem !important;
    border-width: 0 0 1px 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.profile-page .profile-form .form-control,
.profile-page .profile-form .form-select {
    padding-top: .2rem;
    padding-bottom: .2rem;
}
.profile-page .profile-form .form-control:focus,
.profile-page .profile-form .form-control-plaintext:focus {
    border-color: #93a8c1;
    box-shadow: 0 0 0 .2rem rgba(47, 95, 148, .12);
}
.profile-page .btn-outline-primary {
    color: #2f5f94;
    border-color: #97adc9;
}
.profile-page .btn-outline-primary:hover,
.profile-page .btn-outline-primary:focus {
    color: #244a74;
    border-color: #7898bc;
    background: #eff4f9;
}
.profile-page .btn-hover-danger:hover,
.profile-page .btn-hover-danger:focus {
    color: #fff;
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
}
.uniform-width-controls .form-control,
.uniform-width-controls .form-select {
    width: 100% !important;
}
.grid-row-selected td {
    background-color: rgba(13, 110, 253, 0.12) !important;
}
.remarque-clamp-15 {
    display: -webkit-box;
    line-clamp: 8;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
}
.remarque-full-text {
    white-space: pre-line;
}

.btn-rounded {
    border-radius: 999px;
}

.wizard-stepper-track {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.wizard-step {
    border: 0;
    background: transparent;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem .5rem;
    border-radius: .75rem;
    text-align: left;
}

.wizard-step:hover,
.wizard-step:focus-visible {
    background: #edf2ff;
    color: #0d6efd;
    outline: none;
}

.wizard-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid #ced4da;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: #fff;
    flex: 0 0 2rem;
}

.wizard-step.is-active {
    color: #0d6efd;
    font-weight: 600;
}

.wizard-step.is-active .wizard-badge {
    border-color: #0d6efd;
    background: #e7f1ff;
}

.wizard-step.is-done {
    color: #198754;
}

.wizard-step.is-done .wizard-badge {
    border-color: #198754;
    background: #198754;
    color: #fff;
}

.wizard-panel.d-none {
    display: none !important;
}

.upload-dropzone {
    border: 2px dashed #d0d7e2;
    border-radius: .75rem;
    background: #fafbff;
    padding: 1rem;
}

@media (max-width: 767.98px) {
    .wizard-step {
        width: 100%;
    }
}

/* postulation.aspx */
.option-card {
    transition: all .2s ease;
}

.option-card:hover {
    border-color: #dee2e6 !important;
    background-color: #f8f9fa !important;
}

.option-card.selected {
    border-color: #28a745 !important;
    background-color: #f8fff9 !important;
}

/* Information.aspx */
.process-step {
    border-left: 2px solid #dee2e6;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
}

.confidentiality-notice {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 16px;
}

/* Cartes RH communes */
.card.rh-card {
    border-radius: 16px;
    overflow: hidden;
}

.card.rh-card:hover {
    box-shadow: 0 1rem 2.25rem rgba(0, 0, 0, 0.08);
}

.card.rh-card .card-body {
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.card-header.rh-card-header {
    font-weight: 800;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    overflow: hidden;
}

/* Fond très léger teinté + bordure gauche 4px — en-têtes RH */
.card-header.rh-card-header.bg-primary {
    background-color: rgba(var(--bs-primary-rgb), 0.14) !important;
    background-color: color-mix(in srgb, rgb(var(--bs-primary-rgb)) 14%, white) !important;
    color: #212529 !important;
    border-left: 4px solid rgb(var(--bs-primary-rgb)) !important;
}

.card-header.rh-card-header.bg-secondary {
    background-color: rgba(var(--bs-secondary-rgb), 0.14) !important;
    background-color: color-mix(in srgb, rgb(var(--bs-secondary-rgb)) 14%, white) !important;
    color: #212529 !important;
    border-left: 4px solid rgb(var(--bs-secondary-rgb)) !important;
}

.card-header.rh-card-header.bg-success {
    background-color: rgba(var(--bs-success-rgb), 0.14) !important;
    background-color: color-mix(in srgb, rgb(var(--bs-success-rgb)) 14%, white) !important;
    color: #212529 !important;
    border-left: 4px solid rgb(var(--bs-success-rgb)) !important;
}

.card-header.rh-card-header.bg-danger {
    background-color: rgba(var(--bs-danger-rgb), 0.14) !important;
    background-color: color-mix(in srgb, rgb(var(--bs-danger-rgb)) 14%, white) !important;
    color: #212529 !important;
    border-left: 4px solid rgb(var(--bs-danger-rgb)) !important;
}

.card-header.rh-card-header.bg-warning {
    background-color: rgba(var(--bs-warning-rgb), 0.18) !important;
    background-color: color-mix(in srgb, rgb(var(--bs-warning-rgb)) 18%, white) !important;
    color: #212529 !important;
    border-left: 4px solid rgb(var(--bs-warning-rgb)) !important;
}

.card-header.rh-card-header.bg-info {
    background-color: rgba(var(--bs-info-rgb), 0.14) !important;
    background-color: color-mix(in srgb, rgb(var(--bs-info-rgb)) 14%, white) !important;
    color: #212529 !important;
    border-left: 4px solid rgb(var(--bs-info-rgb)) !important;
}

.card-header.rh-card-header.bg-light {
    background-color: rgba(var(--bs-light-rgb), 0.28) !important;
    background-color: color-mix(in srgb, rgb(var(--bs-light-rgb)) 28%, white) !important;
    color: #212529 !important;
    border-left: 4px solid rgb(var(--bs-light-rgb)) !important;
}

.card-header.rh-card-header.bg-dark {
    background-color: rgba(var(--bs-dark-rgb), 0.12) !important;
    background-color: color-mix(in srgb, rgb(var(--bs-dark-rgb)) 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid rgb(var(--bs-dark-rgb)) !important;
}

.card-header.rh-card-header.bg-primary-dark {
    background-color: rgba(0, 86, 179, 0.12) !important;
    background-color: color-mix(in srgb, #0056b3 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #0056b3 !important;
}

.card-header.rh-card-header.bg-secondary-dark {
    background-color: rgba(84, 91, 98, 0.12) !important;
    background-color: color-mix(in srgb, #545b62 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #545b62 !important;
}

.card-header.rh-card-header.bg-success-dark {
    background-color: rgba(30, 126, 52, 0.12) !important;
    background-color: color-mix(in srgb, #1e7e34 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #1e7e34 !important;
}

.card-header.rh-card-header.bg-danger-dark {
    background-color: rgba(189, 33, 48, 0.12) !important;
    background-color: color-mix(in srgb, #bd2130 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #bd2130 !important;
}

.card-header.rh-card-header.bg-warning-dark {
    background-color: rgba(224, 168, 0, 0.16) !important;
    background-color: color-mix(in srgb, #e0a800 16%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #e0a800 !important;
}

.card-header.rh-card-header.bg-info-dark {
    background-color: rgba(19, 132, 150, 0.12) !important;
    background-color: color-mix(in srgb, #138496 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #138496 !important;
}

.card-header.rh-card-header.bg-light-dark {
    background-color: rgba(206, 212, 218, 0.22) !important;
    background-color: color-mix(in srgb, #ced4da 22%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #ced4da !important;
}

.card-header.rh-card-header.bg-dark-light {
    background-color: rgba(73, 80, 87, 0.12) !important;
    background-color: color-mix(in srgb, #495057 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #495057 !important;
}

.card-header.rh-card-header.bg-teal {
    background-color: rgba(32, 201, 151, 0.12) !important;
    background-color: color-mix(in srgb, #20c997 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #20c997 !important;
}

.card-header.rh-card-header.bg-teal-dark {
    background-color: rgba(26, 161, 121, 0.12) !important;
    background-color: color-mix(in srgb, #1aa179 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #1aa179 !important;
}

.card-header.rh-card-header.bg-purple {
    background-color: rgba(111, 66, 193, 0.12) !important;
    background-color: color-mix(in srgb, #6f42c1 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #6f42c1 !important;
}

.card-header.rh-card-header.bg-purple-dark {
    background-color: rgba(90, 50, 163, 0.12) !important;
    background-color: color-mix(in srgb, #5a32a3 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #5a32a3 !important;
}

.card-header.rh-card-header.bg-pink {
    background-color: rgba(232, 62, 140, 0.12) !important;
    background-color: color-mix(in srgb, #e83e8c 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #e83e8c !important;
}

.card-header.rh-card-header.bg-pink-dark {
    background-color: rgba(217, 26, 114, 0.12) !important;
    background-color: color-mix(in srgb, #d91a72 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #d91a72 !important;
}

.card-header.rh-card-header.bg-indigo {
    background-color: rgba(102, 16, 242, 0.12) !important;
    background-color: color-mix(in srgb, #6610f2 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #6610f2 !important;
}

.card-header.rh-card-header.bg-indigo-dark {
    background-color: rgba(82, 13, 194, 0.12) !important;
    background-color: color-mix(in srgb, #520dc2 12%, white) !important;
    color: #212529 !important;
    border-left: 4px solid #520dc2 !important;
}

.card-header.rh-card-header.bg-transparent {
    background-color: rgba(108, 117, 125, 0.10) !important;
    background-color: color-mix(in srgb, var(--bs-secondary, #6c757d) 10%, white) !important;
    color: #212529 !important;
    border-left: 4px solid var(--bs-secondary, #6c757d) !important;
}

/* default.aspx : cartes accueil cliquables (stretched-link) */
.home-card-clickable {
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.home-card-clickable:hover,
.home-card-clickable:focus-within {
    box-shadow: 0 0.35rem 0.9rem rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
    border-color: rgba(13, 110, 253, 0.22);
}


/* ========== Theme shell (ex Styles.css) ========== */

/* ==================================================================================== HOMEPAGE */


body {
    padding: 0;
    font-family: "Segoe UI", "Tahoma", "Geneva", "Verdana", "sans-serif";
    /*  font-family:"Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;*/
    font-size: 11pt;
/*    color: #444;*/
    color: var(--bs-heading-color);
    line-height: 1.42857143;
}

/* main {
  
    padding-left: 10%;
    padding-right: 10%
} */

.form-select {
    padding-right: 1.5rem;
    background-color: white;
    border: 1px solid #ccc;
}


section {
    /* max-width: 1000px; */
    margin: auto;
    padding: 40px 0; /* overflow-x: hidden; */
}




@font-face {
    font-family: 'Poppins Black';
    src: url('../fonts/poppins/Poppins-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins Light';
    src: url('../fonts/poppins/Poppins-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins Regular';
    src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
}



img {
    max-width: 100%;
    height: auto;
}

article {
    max-width: 1200px;
    margin: auto;
}

.h1, .h2 ,.h3,.h4,.h5,.h6, h1,h2,h3,h4,h5,h6{
    color: var(--bs-heading-color);
}
.h6, h6 {
    font-size: 1rem;
}

    h2 .title {
        font-size: 50px;
    }

    h2 .subtitle {
        position: relative;
        font-size: 36px;
        left: 80px;
    }

/* ================================================================== HEADER */

    header > .wrap {
        display: flex;
        height: 100%;
    }

#logo {
    margin-top: -40px;
}



@media (max-width: 992px) {
    .titleprincipal {
        margin-left: 0; /* Supprime la marge à gauche en mode téléphone */
    }

    #div_title {
        margin-top: 0px !important;
    }
}

#menu {
    flex: 1;
    text-align: right;
    font-family: Poppins, sans-serif;
    color: #000;
}

    #menu > .wrap {
        align-items: center;
        display: flex;
    }

#menu-pages {
    flex: 1;
}

.menu-item {
    text-transform: uppercase;
    position: relative;
    margin-right: 20px;
}

    .menu-item > span {
        cursor: default;
    }

    .menu-item:hover > span {
        font-weight: bold;
    }

    .menu-item a:hover {
        font-weight: bold;
    }

    .menu-item:hover .submenu {
        display: block;
    }

#menu a {
    text-decoration: none;
    color: #000;
}

#menu-socials a {
    padding: 4px;
    border: 1px solid;
    border-radius: 50%;
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    transition: 0.3s;
    color: #000;
}

    #menu-socials a:hover {
        background-color: #000;
        color: #fff;
    }

#menu-buttons {
    margin-right: 20px;
}

#menu-socials i {
    font-size: 14px;
}

.submenu {
    width: 300px;
    left: 0;
    top: 100%;
    position: absolute;
    text-align: left;
    display: none;
    padding-top: 4px;
    z-index: 100;
}

    .submenu .menu-item {
        display: block;
        font-size: 14px;
    }

#menu .button a {
    margin: 2px 0;
    display: block;
}

.submenu a {
    background-color: #fff;
}

#menu-pages .current {
    font-weight: bold;
}

#menu-buttons {
    display: flex;
    flex-direction: column;
}

#logo-m {
    display: none;
}


/* ==================================================================================== Sidebar */
.menu-perso .btn-outline-secondary, .menu-perso .btn-outline-primary, .menu-perso .btn-outline-danger, .menu-perso .btn-outline-success {
    background-color: white
}

.btn-theme-neutral {
    --bs-btn-color: var(--bs-dropdown-link-color, var(--bs-body-color));
    --bs-btn-bg: var(--bs-gray-200, #e9ecef);
    --bs-btn-border-color: var(--bs-border-color-translucent, var(--bs-border-color));
    --bs-btn-hover-color: var(--bs-dropdown-link-hover-color, var(--bs-body-color));
    --bs-btn-hover-bg: var(--bs-dropdown-link-hover-bg, rgba(128, 128, 128, 0.2));
    --bs-btn-hover-border-color: var(--bs-border-color-translucent, var(--bs-border-color));
    --bs-btn-active-color: var(--bs-dropdown-link-hover-color, var(--bs-body-color));
    --bs-btn-active-bg: var(--bs-dropdown-link-hover-bg, rgba(128, 128, 128, 0.2));
    --bs-btn-active-border-color: var(--bs-border-color-translucent, var(--bs-border-color));
    --bs-btn-disabled-color: var(--bs-secondary-color, var(--bs-body-color));
    --bs-btn-disabled-border-color: var(--bs-border-color-translucent, var(--bs-border-color));
    background-color: var(--bs-btn-bg);
}


    .menu-perso .btn-outline-secondary:hover {
        background-color: #6c757d; /* Couleur Bootstrap pour secondary */
        color: white;
    }

    .menu-perso .btn-outline-primary:hover {
        background-color: #007bff; /* Couleur Bootstrap pour primary */
        color: white;
    }

    .menu-perso .btn-outline-danger:hover {
        background-color: #dc3545; /* Couleur Bootstrap pour danger */
        color: white;
    }

    .menu-perso .btn-outline-success:hover {
        background-color: #28a745; /* Couleur Bootstrap pour success */
        color: white;
    }

.sticky-sidebar {
    position: fixed;
    top: 200px;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}



/*
.submenu:empty {
    display: none;
}*/

#hamburger {
    top: 5px;
    right: 5px;
    width: 54px;
    height: 54px;
    position: fixed;
    z-index: 9999;
    background-color: #fff;
    border-radius: 10px;
    border-top-right-radius: 0;
    transition: 0.3s ease;
}

    #hamburger div {
        position: relative;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

        #hamburger div div {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 32px;
            height: 5px;
            background-color: #000;
            border-radius: 5px;
            transition: 0.3s ease;
        }

            #hamburger div div::after {
                content: "";
                position: absolute;
                top: 10px;
                left: 0;
                width: 32px;
                height: 5px;
                border-radius: 5px;
                background-color: #000;
                transition: 0.3s ease;
            }

            #hamburger div div::before {
                content: "";
                position: absolute;
                top: -10px;
                left: 0;
                width: 32px;
                height: 5px;
                border-radius: 5px;
                background-color: #000;
                transition: 0.3s ease;
            }

#menu.open #hamburger div div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateZ(45deg);
    width: 40px;
    height: 4px; /* background-color: #fff; */
}

    #menu.open #hamburger div div::after {
        content: "";
        position: absolute;
        top: 0px;
        transform: rotateZ(-90deg);
        width: 40px;
        height: 4px; /* background-color: #fff; */
    }

    #menu.open #hamburger div div::before {
        content: "";
        position: absolute;
        top: 0px;
        width: 40px;
        height: 4px; /* background-color: #fff; */
    }

#hamburger {
    display: none;
}

/* =============================================================================== LAYOUT */

main > h1 {
    max-width: 1100px;
    padding: 0 20px;
    margin: auto;
    line-height: 50px;
}

.page-title {
    text-transform: none;
    font-size: 1.2em
}

.section-title {
    font-size: 36px;
    text-transform: uppercase;
    line-height: 36px;
}

body.page main {
    padding-top: 100px;
    padding-bottom: 60px;
}

body.home main {
    padding-top: 0;
}

.section-content {
    margin-top: 40px;
    margin-bottom: 40px;
}


/*#une-question-on-y-repond h3 { width: 100%; }*/

.groupe {
    margin-bottom: 60px;
}

    .groupe > .wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }


section .page-title {
    display: block;
    font-family: "Poppins Black";
    line-height: 50px;
    position: relative;
    left: -50px;
}




@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(359deg);
    }
}

#form-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.6);
    display: none;
}

form.loading #form-loading {
    display: block;
}

#form-loading i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 40px;
    transform: translate(-50%, -50%);
    animation: spin 2s linear infinite;
}

#form-error {
    background-color: tomato;
    padding: 16px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: none;
}

#form-done {
    background-color: #c0dd86;
    padding: 16px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: none;
}

form.done #form-done {
    display: block;
}

form.error #form-error {
    display: block;
}

form.done #_submit {
    pointer-events: none;
}

/* = = = = = = = = = = */

/* = = ACCORDEONS  = = */
.accordeon {
    padding: 20px;
    margin-bottom: 20px;
}

.accordeon-title {
    position: relative;
    text-align: center;
    font-family: "Poppins";
    font-size: 20px;
    text-transform: uppercase;
    line-height: 24px;
    box-sizing: border-box;
}

.accordeon-content {
    padding: 0 10px;
    overflow: auto;
    max-height: 0;
    opacity: 0;
    transition: 0.5s;
}

.accordeon.open .accordeon-content {
    max-height: 1200px;
    opacity: 1;
}

.accordeon-icon {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: auto;
    overflow: hidden;
    height: 260px;
    margin-bottom: 40px;
}

.accordeon-link > .accordeon-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.05); /*background-image:linear-gradient(45deg,transparent,transparent,rgba(0,0,0,0.05));*/
    opacity: 0;
    transition: opacity 0.3s;
}

.accordeon-link > .accordeon-icon:hover::after {
    opacity: 1;
}

.accordeon.round .accordeon-icon {
    border-radius: 50%;
    width: 260px;
}

.foldable .accordeon-title {
    cursor: pointer;
    position: relative;
    border: 2px solid;
    border-radius: 20px;
    padding: 10px 40px;
}

.accordeon.foldable .accordeon-title::after {
    font-family: "FontAwesome";
    content: "\f078";
    position: absolute;
    font-weight: normal;
    transform-origin: center;
    right: 20px;
    transition: 0.3s;
}

.accordeon.foldable.open .accordeon-title::after {
    transform: rotateZ(180deg);
}

/* = = = = = = = = = = */

/* Logo inversé (sidebar master, aperçu société_edit) */
.logo-inverse {
    filter: invert(1);
    mix-blend-mode: screen;
}

.public-hero-logo-wrap {
    width: 45%;
    min-width: 45%;
    max-width: 100%;
}

.public-hero-logo-wrap a,
.public-hero-logo-wrap img {
    display: block;
    width: 100%;
}

.public-hero-logo-wrap img {
    height: auto !important;
    max-width: 100%;
}

.navbar .public-hero-logo-wrap {
    width: auto;
    min-width: 0;
    max-width: 240px;
}

.navbar .public-hero-logo-wrap a,
.navbar .public-hero-logo-wrap img {
    width: auto;
    max-width: 100%;
}

.navbar .public-hero-logo-wrap img {
    max-height: 3rem;
    height: auto;
    width: auto;
    object-fit: contain;
}

.aide-rh-flottant {
    position: fixed !important;
    bottom: 4.5rem !important;
    right: 1.25rem !important;
    left: auto !important;
    top: auto !important;
    z-index: 1100 !important;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.aide-rh-flottant:hover,
.aide-rh-flottant:focus {
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.2);
}

@media (max-width: 575.98px) {
    .aide-rh-flottant {
        bottom: 4rem !important;
        right: 0.75rem !important;
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* ========== Thème CareRecrut (.cr-layout) — ex carerecrut-theme.css ========== */

.cr-layout {
    --cr-bg: #ffffff;
    --cr-bg-subtle: #fafafa;
    --cr-text: #181818;
    --cr-text-muted: #6b7280;
    --cr-border: rgba(0, 0, 0, .08);
    --cr-input-border: rgba(0, 0, 0, .28);
    --cr-radius: 10px;
    --cr-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    --cr-shadow-card: 0 1px 4px rgba(0, 0, 0, .06);
    --bs-body-bg: var(--cr-bg);
    --bs-body-color: var(--cr-text);
    --bs-border-color: var(--cr-border);
    --bs-secondary-color: var(--cr-text-muted);
    background-color: var(--cr-bg) !important;
    color: var(--cr-text);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.cr-layout header {
    border-bottom: 1px solid var(--cr-border);
    box-shadow: none !important;
}

.cr-layout #lb_title,
.cr-layout main h1 {
    font-size: 1.625rem !important;
    font-weight: 500 !important;
    color: var(--cr-text) !important;
    letter-spacing: -.015em;
    margin-bottom: .75rem;
}

.cr-layout .page-bg {
    background: var(--cr-bg);
}

.cr-layout .card {
    border: 0;
    box-shadow: var(--cr-shadow-card);
    border-radius: var(--cr-radius);
}

.cr-layout .profile-page .profile-card {
    --bs-card-border-width: 0;
    --bs-card-border-radius: 1rem;
    background: #fff !important;
    border: 2px solid #a8b8cc !important;
    border-radius: 1rem !important;
    box-shadow: 0 .25rem .75rem rgba(16, 24, 40, .1) !important;
    overflow: hidden;
}

/* Fiche candidat : même fond que le parcours (timeline) à droite */
.profile-page .candidat-fiche-col .card-clean,
.profile-page .candidat-fiche-col .profile-card {
    background-color: #f1f3f5 !important;
}

/* Colonne fiche : laisse shrinker le contenu dans col-lg-3 */
.profile-page .candidat-fiche-col {
    min-width: 0;
    max-width: 100%;
}

/* Pièces jointes : 3 pastilles + engrenage restent dans la card */
.profile-page .candidat-fiche-col #piecesJointesCollapse > .d-flex {
    min-width: 0;
    max-width: 100%;
}
.profile-page .candidat-fiche-col #piecesJointesCollapse .row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}
.profile-page .candidat-fiche-col #piecesJointesCollapse .row > [class*="col-"] {
    min-width: 0;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}
.profile-page .candidat-fiche-col #piecesJointesCollapse .card {
    overflow: hidden;
}
.profile-page .candidat-fiche-col #piecesJointesCollapse .card-body {
    overflow: hidden;
}
.profile-page .candidat-fiche-col #piecesJointesCollapse .text-truncate {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-layout .card-light {
    border: 0;
    box-shadow: var(--cr-shadow-card);
}

.cr-layout .card-clean {
    border: 0 !important;
    box-shadow: var(--cr-shadow-card);
}

.cr-layout .table {
    --bs-table-border-color: var(--cr-border);
    margin-bottom: 0;
}

.cr-layout .table > :not(caption) > * > * {
    border-bottom-width: 1px;
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
}

.cr-layout .table thead th {
    font-weight: 600;
    font-size: .875rem;
    color: var(--cr-text-muted);
    border-bottom-width: 1px;
    background-color: var(--cr-bg-subtle);
}

.cr-layout .form-control,
.cr-layout .form-select {
    border-color: var(--cr-input-border);
    border-radius: 8px;
}

.cr-layout .form-control:focus,
.cr-layout .form-select:focus {
    border-color: rgba(var(--bs-primary-rgb), .45);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .12);
}

.cr-layout .btn-outline-secondary {
    --bs-btn-border-color: var(--cr-border);
}

/* Convention projet : btn-{couleur} -> rendu outline (LinkButton, Button, boutons HTML) */
.cr-layout .btn.btn-primary:not(.btn-outline-primary):not(.btn-link) {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-primary);
}
.cr-layout .btn.btn-secondary:not(.btn-outline-secondary):not(.btn-link) {
    --bs-btn-color: var(--bs-secondary);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-secondary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);
}
.cr-layout .btn.btn-success:not(.btn-outline-success):not(.btn-link) {
    --bs-btn-color: var(--bs-success);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--bs-success);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-success);
    --bs-btn-hover-border-color: var(--bs-success);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-success);
    --bs-btn-active-border-color: var(--bs-success);
}
.cr-layout .btn.btn-danger:not(.btn-outline-danger):not(.btn-link) {
    --bs-btn-color: var(--bs-danger);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--bs-danger);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-danger);
    --bs-btn-hover-border-color: var(--bs-danger);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-danger);
    --bs-btn-active-border-color: var(--bs-danger);
}
.cr-layout .btn.btn-warning:not(.btn-outline-warning):not(.btn-link) {
    --bs-btn-color: var(--bs-warning);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--bs-warning);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--bs-warning);
    --bs-btn-hover-border-color: var(--bs-warning);
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: var(--bs-warning);
    --bs-btn-active-border-color: var(--bs-warning);
}
.cr-layout .btn.btn-info:not(.btn-outline-info):not(.btn-link) {
    --bs-btn-color: var(--bs-info);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--bs-info);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--bs-info);
    --bs-btn-hover-border-color: var(--bs-info);
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: var(--bs-info);
    --bs-btn-active-border-color: var(--bs-info);
}

.cr-layout .cr-theme-preview-banner {
    border-radius: var(--cr-radius);
    border: 1px solid rgba(255, 193, 7, .35);
}

/* Menu master (legacy navbar-dark) — rendu clair tant que menu_master.ascx n'est pas migré */
.cr-layout #div_menu_master .navbar-dark.bg-primary {
    background-color: #fff !important;
    border-bottom: 1px solid var(--cr-border);
}

.cr-layout #div_menu_master .navbar-dark .navbar-nav .nav-link {
    color: rgba(24, 24, 24, .82);
}

.cr-layout #div_menu_master .navbar-dark .navbar-nav .nav-link:hover,
.cr-layout #div_menu_master .navbar-dark .navbar-nav .nav-link:focus {
    color: var(--bs-primary);
}

.cr-layout #div_menu_master .navbar-dark .navbar-nav .nav-link.active {
    color: var(--bs-primary);
    font-weight: 600;
}

.cr-layout #div_menu_master .navbar-dark .navbar-toggler {
    border-color: var(--cr-border);
}

.cr-layout #div_menu_master .navbar-dark .navbar-toggler-icon {
    filter: invert(1) grayscale(1);
}

.cr-layout #div_menu_master .text-white {
    color: var(--cr-text) !important;
}

.cr-layout .navbar .logo-societe-brand,
.cr-layout .navbar .logo-societe-brand:hover {
    color: var(--cr-text);
}

/* --- Courrier : email individuel / collectif --- */
.courrier-compose-card .form-label {
    margin-bottom: 0;
}
.courrier-destinataires-list {
    max-height: 20rem;
}
.courrier-compose-inactif {
    opacity: 0.55;
    pointer-events: none;
}
.motsclef-catalogue .MotClef {
    cursor: grab;
    user-select: none;
    white-space: nowrap;
    font-size: 0.8125rem;
}
.motsclef-catalogue .MotClef:active {
    cursor: grabbing;
}
.motsclef-catalogue .motsclef-groupe:last-child {
    margin-bottom: 0 !important;
}
.courrier-date-range .form-control {
    max-width: 10rem;
}
.courrier-apercu-message {
    font-family: Verdana, sans-serif;
}
.courrier-mail .email-wrapper {
    min-height: calc(100vh - 12rem);
}
.courrier-mail .mail-layout {
    min-height: calc(100vh - 12rem);
}
.courrier-mail .mail-sidebar,
.courrier-mail .mail-list-container,
.courrier-mail .mail-view {
    min-height: calc(100vh - 12rem);
}
.courrier-mail .mail-list-wrap {
    overflow-y: auto;
    min-height: 0;
}
.courrier-mail .mail-detail-wrap {
    overflow-y: auto;
    min-height: 0;
}
.courrier-mail .menu-items > li {
    padding: 0.5rem 0.75rem;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.25rem;
}
.courrier-mail .menu-items > li:hover {
    background-color: rgba(248, 250, 252, 0.9);
}
.courrier-mail .menu-items > li.active {
    background-color: #e6e9ed;
}
.courrier-mail .menu-items > li.compose:hover {
    background-color: transparent;
}
.courrier-mail .menu-items .mail-folder-link {
    color: inherit;
    font-size: 0.8125rem;
    text-decoration: none;
    flex-grow: 1;
    min-width: 0;
}
.courrier-mail .menu-items > li.active .mail-folder-link {
    font-weight: 600;
}
.courrier-mail .mail-list-container .mail-list {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.625rem 0.9375rem;
    width: 100%;
    border-bottom: 1px solid #e9e9e9;
    text-decoration: none;
    color: inherit;
}
.courrier-mail .mail-list-container .mail-list:hover {
    background-color: #f8fafc;
    color: inherit;
}
.courrier-mail .mail-list-container .mail-list-item-active {
    background-color: #e6e9ed;
}
.courrier-mail .mail-list-avatar .mail-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #2f5f94;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
}
.courrier-mail .mail-list-container .content {
    flex-grow: 1;
    min-width: 0;
}
.courrier-mail .sender-name {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
}
.courrier-mail .message_text {
    margin: 0.125rem 0 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #6c757d;
}
.courrier-mail .mail-candidat-line {
    font-size: 0.75rem;
    color: #94a3b8;
}
.courrier-mail .mail-sens-label {
    font-size: 0.75rem;
    font-weight: 400;
}
.courrier-mail .mail-groupe-entete {
    padding: 0.375rem 0.9375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    background-color: #f8fafc;
    border-bottom: 1px solid #e9e9e9;
    cursor: pointer;
}
.courrier-mail .mail-detail-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    padding: 2rem;
}
.courrier-mail .message-body .sender-details {
    padding: 1.25rem 0.9375rem 0;
    border-bottom: 1px solid #e9e9e9;
    display: flex;
    gap: 0.75rem;
}
.courrier-mail .message-body .sender-details .mail-avatar-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #2f5f94;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
}
.courrier-mail .message-body .msg-subject {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}
.courrier-mail .message-body .sender-email {
    color: #6c757d;
    line-height: 1.5;
}
.courrier-mail .message-body .message-content {
    padding: 1.5rem 0.9375rem;
}
