/* ===============================
  CGT - style
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: var(--portalThemeColor8);
    /*height: calc(100vh + 280px);*/
}

/* ===============================
   Header
================================= */

.header {
    width: calc(100% - 200px);
    height: 60px;
    background-color: #fff;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #ccc;
    position: fixed;
    top: 0;
    left: 200px;
    z-index: 1000;
}


.header-right {
    display: flex;
    align-items: center;
}


.language-selector {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.language-selector select {
    padding: 4px;
    font-size: 1rem;
    border: none;
    background: transparent;
    color: var(--portalThemeColor4);
    outline: none;
}

.country-select {
    display: flex;
    align-items: center;
}

.country-select img {
    width: 20px;
    height: auto;
    margin-right: 8px;
}


select {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--portalThemeColor6);
}


.separator {
    width: 1px;
    height: 20px;
    background-color: #ccc;
    margin: 0 10px;
}


.notification-icon i {
    font-size: 20px;
    cursor: pointer;
    margin: 0 12px;
    color: var(--portalThemeColor4);
}


.user-info {
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
}

.user-info i {
    margin: 0 12px;
    font-size: 0.8rem;
    color: var(--portalThemeColor4);
    transition: transform 0.3s ease;
}

.user-info:hover .user-dropdown i {
    transform: rotate(180deg);
    color: var(--portalThemeColor4);
}

/* ===============================
  Side bar
================================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    height: 100vh;
    width: 200px;
    background-color: #fff;
    padding: 0.4rem 0;
    border-right: 1px solid #e0e0e0;
}


.sidebar ul {
    padding: 0;
    margin: 0;
}

.sidebar ul li a {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    margin: 0.8rem 0;
    padding: 12px;
    color: var(--portalThemeColor4);
    font-size: 16px;
    text-decoration: none !important;
}

.sidebar ul li a:hover {
    background-color: var(--portalThemeColor1);
    color: #fff;
    text-decoration: none !important;
}

/*.sidebar ul li a img[src*="icon-mesdonnees.svg"] {
    filter: none !important;
    fill: #ffffff !important;
}*/

.sidebar ul li a:hover img,
.sidebar ul li a.active img {
    filter: brightness(0) invert(1);
}

.sidebar ul li a.active[href*="mesdonnees"]:hover img {
    filter: brightness(0) invert(0.7) !important;
}

.sidebar ul li a img {
    min-width: 50px;
    text-align: center;
    height: 24px;
    line-height: 50px;
}

.sidebar ul li.active {
    background-color: var(--portalThemeColor1);
    color: white;
}


.icon {
    font-size: 22px;
    margin: 0 8px;
}

.sidebar a.active svg {
    fill: white !important;
}

.main-content {
    margin-left: 200px;
    padding: 1rem;
    margin-top: 60px;
}

h1, h2, h3, h4, h5, h6 {
    
    text-align: left;
    font-weight: 600;
}
h1, h2, h3 {
    color: black;
}
h4, h5, h6 {
    color: var(--portalThemeColor4);
}
h2:first-child {
    margin-top: 0;
}
h1 {
    font-size: 24px;
    margin: 0 0 32px 0;
}
h2 {
    font-size: 18px;
    margin: 24px 0 12px 0;
}
h3 {
    font-size: 17px;
    margin: 24px 0 12px 0;
}
h4 {
    font-size: 16px;
    margin: 12px 0 4px 0;
}

#selectProfilContainer h1 {
    font-size: 20px;
    margin-top: 68px;
}

p, em {
    font-size: 16px !important;
    font-family: "Poppins", sans-serif;
    color: var(--portalThemeColor4);
    margin-bottom: 0rem;
}

strong {
    font-weight: 600;
}
strong a {
    font-weight: 600 !important;
}

a:not(.btn) {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    text-decoration: underline !important;
}
a:not(.btn):hover, a:not(.btn):focus {
    text-decoration: none !important;
    color: var(--portalThemeColor1);
}

/* ===============================
   Mes données
================================= */

.family-card {
    display: flex; 
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    padding: 24px;
    margin-left: 216px;
    margin-right: 24px;
    margin-bottom: 20px;
}

.card-content {
    display: flex;
    align-items: flex-start; 
    width: 100%;
}
.card-content > div {
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .card-content {
        flex-wrap: wrap;
        gap: 32px; /* Optionnel, pour aérer visuellement les lignes */
    }

    .card-content > div {
        width: calc(50% - 16px); /* Moitié de largeur avec marge (à ajuster selon le gap) */
    }

    .card-content > div:first-child, .card-content > div:nth-child(3) {
        border-left: none !important; /* Supprime la bordure verticale entre colonnes */
        padding-left: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    .card-content > div {
        width: 100%;
        border-left: none !important;
        padding-left: 0 !important;
    }
}

.card-content > div:not(:first-child) {
    border-left: 1px solid #ccc;
    padding-left: 32px;
}

.card-content i {
    margin-right: 12px;
}

.separator-family-card {
    width: 1px; 
    height: 20px; 
    background-color: #ccc;
    margin-left: 20px;
    margin-right: 20px;
}

.family-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-icon {
    font-size: 16px !important;  
    color: var(--portalThemeColor7) !important;   
    margin-bottom: 4px !important;
}

.family-text {
    display: flex;
    align-items: center;
}

.main-contact-info,
.other-contacts {
    display: flex;
    flex-direction: column;
}

.main-contact-details {
    display: flex; 
    align-items: center;
}

.other-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.other-contacts i {
    margin-right: 12px; 
    color: var(--portalThemeColor7); 
    font-size: 16px;
}

.contact-header h2 {
    margin: 0; 
    color: var(--portalThemeColor7); 
}

.main-contact-info h2,
.other-contacts h2,
.family-contact-info h2 {
    margin: 0; 
    color: var(--portalThemeColor7); 
}

.other-contacts h2 {
    display: flex; 
    align-items: center; 
}

.user-icon {
    margin-right: 8px; 
    color: var(--portalThemeColor4); 
    font-size: px; 
}


.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tabs {
    display: flex;
    border-bottom: 2px solid rgb(229, 229, 229);
    margin-bottom: 16px;
    margin-top: -16px;
    position: relative;

}

.tab-btn {
    background-color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    color: var(--portalThemeColor7);
    position: relative;
    transition: all 0.3s ease;
    color: var(--portalThemeColor4);
}

.tab-btn:hover {
    color: var(--portalThemeColor1);
    font-weight: bold;
}

.tab-btn.active {
    font-weight: bold;
    color: var(--portalThemeColor1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-color: var(--portalThemeColor1);
    border-radius: 8px;
}

.add-contact-btn {
    margin-left: auto;
    height: 40px;
    background-color: var(--portalThemeColor1);
    color: white;
    width: auto;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}


.add-contact-btn i {
    margin-right: 5px;
}

.field-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--portalThemeColor7);
    margin-bottom: 2px;
    display: block;
}

.required {
    color: #9E1F00;
    margin-left: 5px;
}

.form-container {
    /*margin-right: 24px;*/
    margin-bottom: 16px;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}


.input-row {
    display: flex;
    justify-content: flex-start;/*space-between before*/
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 0 24px;
}

.input-box {
    position: relative;
    flex: 1;
    margin-bottom: 8px;
    min-width: 200px;

    /*if the label is longer the input align with the other*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.input-box>div {
    position: relative;
    /*center icon on the input, the icon must be in position */
}

.input-box i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--portalThemeColor1);
    cursor: pointer;
    z-index: 101;
}

.input-box i.fa-circle-info {
    position: inherit;
    transform: inherit;
}

.input-box:last-child {
    margin-right: 0;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-box {
    position: relative;
}

input.flatpickr-input {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: var(--portalThemeColor4);
    background-color: #fff;
}

.input-wrapper {
    position: relative;
}

.input-wrapper ul {
    z-index: 102;
}

.input-wrapper .calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--portalThemeColor4) !important;
    font-size: 16px;
    pointer-events: none;
}

#birth-date {
    width: 100%;
    padding: 10px 40px 10px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

#birth-date:focus {
    border-color: var(--portalThemeColor1);
    outline: none;
}

.flatpickr-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
}


.flatpickr-day {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin: 0;
    padding: 0;
}


.flatpickr-day.selected {
    background-color: var(--portalThemeColor1) !important;
    color: white !important;
    font-weight: bold;
    border-radius: 50%;
}


.flatpickr-day:hover {
    background-color: var(--portalThemeColor1) !important;
    color: white !important;
}


.flatpickr-day.today {
    border: 2px solid var(--portalThemeColor1) !important;
}


.flatpickr-day {
    display: flex;
    justify-content: center;
    align-items: center;
}


.flatpickr-day.disabled {
    color: #ccc;
    background-color: #f9f9f9;
}


.flatpickr-weekday {
    color: #666;
    font-weight: 600;
    padding: 10px 0;
}


.custom-dropdown {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
}

.custom-dropdown:focus-within {
    border-color: var(--portalThemeColor1) !important;
}


.custom-dropdown .civilite-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--portalThemeColor4);
    font-size: 16px;
    pointer-events: none;
}


.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    margin-top: 2px;
    border-radius: 4px;
    width: calc(100% - 2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.dropdown-item {
    padding: 12px;
    background-color: #fff;
    color: var(--portalThemeColor4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.dropdown-item:hover {
    background-color: #f1f1f1;
}

.dropdown-item.selected {
    background-color: #e0e0e0;
}

.custom-dropdown.active .dropdown-list {
    display: block;
}


.dropdown-arrow i {
    position: absolute;
    right: 10px;
    top: 50%;
    font-size: 16px;
    color: var(--portalThemeColor4);
    transform-origin: center;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    margin-top: 2px;
    border-radius: 4px;
    width: calc(100% - 2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

.dropdown-item img {
    width: 20px;
    margin-right: 10px;
}


#twb2b_nationalityid {
    padding-left: 10px !important;
}

#twb2b_nationalityid.flag-selected {
    padding-left: 40px !important;
}

.flag-display {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    background-size: cover;
    display: none;
}

.flag-container .flag-selected+.flag-display {
    display: block;
}


#twb2b_nationalityid::placeholder {
    text-align: left;
    color: #b6b6b6;

}

.input-box input {
    padding-left: 10px;
}


.input-box input.flag-selected+.flag-display {
    display: block;
}

#twb2b_contactnationality.flag-selected {
    padding-left: 40px !important;
}

input, select, .form-control {
    background-color: white !important;
}

input,
select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--portalThemeColor6) !important;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    height: 44px;
    color: var(--portalThemeColor4);
}

textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--portalThemeColor6);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    color: var(--portalThemeColor4);
    resize: none;
}

input[type="radio"] {
    border: 0;
    border-radius: 100px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid var(--portalThemeColor7);
    cursor: pointer;
    margin-right: 8px;
    margin-top: 0;
    position: relative;
}

input[type="radio"]:checked:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background-color: var(--portalThemeColor1);
}

input[type="radio"]:disabled {
    background: #f4f4f4;
    border: 1px solid #cccccc;
}

input[type="radio"]:disabled ~ label {
    color: #cccccc;
}

.input-box:has(input:disabled) label {
    color: var(--portalThemeColor7);
}

.field-radio {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.field-radio input[type="radio"]:not(:first-of-type) {
    margin-left: 16px;
}

input:focus,
select:focus {
    border-color: var(--portalThemeColor1);
    outline: none;
}

label {
    font-weight: 400;
}


input[type="tel"] {
    box-sizing: border-box;
    padding: 10px;
    margin: 0;
}

.input-box.address {
    flex: 2;
    /*margin-left: -10px;*/

}

input::placeholder,
select::placeholder,
textarea::placeholder {
    color: #b6b6b6 !important;
    font-size: 16px;
    font-weight: 400;
}


.button-container {
    text-align: right;
}

.save-btn {
    background-color: var(--portalThemeColor1);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.save-btn:hover {
    background-color: var(--portalThemeColor2);
}

.save-btn-full {
    background-color: var(--portalThemeColor1);     
    color: white;                  
    border: none;                 
    border-radius: 5px;            
    padding: 10px 20px;            
    cursor: pointer;                
    font-size: 16px; 
}

.save-btn-full:hover {
    background-color: var(--portalThemeColor2);
}


.contacts-table tbody td input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.contacts-table tbody td button.edit-btn,
.contacts-table tbody td button.delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    color: #666;
}

.contacts-table tbody td button.edit-btn:hover,
.contacts-table tbody td button.delete-btn:hover {
    color: var(--portalThemeColor1);
    background-color: #dfeded;
}


.contacts-table tbody td input[type="checkbox"]:checked {
    background-color: var(--portalThemeColor1);
}

.contacts-table tbody td input[type="checkbox"] {
    width: 40px;
    height: 20px;
    appearance: none;
    background-color: #ccc;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    outline: none;
}

.contacts-table tbody td input[type="checkbox"]:before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.contacts-table tbody td input[type="checkbox"]:checked:before {
    transform: translateX(20px);
}

/* For edit and delete buttons */
.icon-wrapper {
    display: inline-flex;
    gap: 10px;
}

.offre-section input {
    width: 100%;
    padding: 10px; 
    border: 1px solid var(--portalThemeColor5); 
    border-radius: 5px; 
    background-color: #F4F4F4; 
    color: var(--portalThemeColor7); 
    font-size: 14px; 
    box-shadow: none; 
    cursor: not-allowed; 
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--portalThemeColor4);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 4px;
}

.contacts-table tbody td button:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


.upload-container:has(.cgttooltip:hover) .tooltip {
    visibility: visible;
    opacity: 1;
}

.cgttooltip:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.add-contact-btn:hover {
    background-color: var(--portalThemeColor2);
}

.contacts-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin: 20px 0;
}

.contacts-table thead th {
    padding: 0px 16px;
    background-color: #ffffff;
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    color: var(--portalThemeColor7);
}

.contacts-table tbody tr {
    /*background-color: white;
    border: 1px solid #ccc;*/
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}


.contacts-table tbody tr td {
    padding: 12px 15px;
    background-color: white;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9; 
}
.contacts-table tbody tr td:first-child {
    border-left: 1px solid #D9D9D9;
    border-radius: 8px 0 0 8px; 
}
.contacts-table tbody tr td:last-child {
    border-right: 1px solid #D9D9D9;
    border-radius: 0 8px 8px 0; 
}

.contacts-table tbody tr:first-child {
    border-top-left-radius: 8px; 
    border-top-right-radius: 8px; 
}

.contacts-table tbody tr:last-child {
    border-bottom-left-radius: 8px; 
    border-bottom-right-radius: 8px;
}

/* ===============================
   Mes offres
================================= */

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    max-width: 100%;
}

.create-offer-btn {
    background-color: var(--portalThemeColor1) !important;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.create-offer-btn i {
    font-size: 14px;
    margin-right: 8px;
}

.create-offer-btn:hover {
    background-color: var(--portalThemeColor2);
}

.filters {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.filter {
    display: flex;
    align-items: center;
}

.filter label {
    margin-right: 8px;
    font-size: 14px;
    color: var(--portalThemeColor7);
    white-space: nowrap;
}

.dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-wrapper select {
    padding: 8px 30px 8px 12px;
    border: none;
    font-size: 14px;
    color: var(--portalThemeColor4);
    appearance: none;
    background-color: white;
    min-width: 120px;
    cursor: pointer;
}

.dropdown-wrapper i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: var(--portalThemeColor4);
    font-size: 14px;
    pointer-events: none;
    transition: transform 0.3s;
}

.dropdown-wrapper.active i {
    transform: translateY(-50%) rotate(180deg);
}


.filters select option {
    color: var(--portalThemeColor4);
}

.search-bar-wrapper {
    position: relative;
    display: inline-block;
    width: 350px;
    margin-left: auto;
}

.search-bar {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--portalThemeColor6);
    border-radius: 5px;
    font-size: 16px;
    color: var(--portalThemeColor4);
    background-color: #F5F8FF;
}

.search-bar::placeholder {
    color: #676E80;
    font-size: 16px;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #676E80;
    font-size: 16px;
}

.status {
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 16px;
    display: inline-block;
    /*text-align: center;*/
    min-width: 100px;
}

/* Status colors */
/* .status.enregistre {
    background-color: #FDF6DD;
    color: #613A00;
} */

.status.certifie {
    background-color: #E6FAED;
    color: #00501B;
}

.status.ouverte {
    background-color: #ebeef3;
    color: var(--portalThemeColor1)
}

.status.soumise {
    background-color: #E6FAED;
    color: #00501B;
}

.status.refusee {
    background-color: #FFF3F0;
    color: #9E1F00;
}

/* General styles for all buttons */
.btn {
    color: var(--portalThemeColor1);
    background-color: none;
    border: none;
    transition: background-color 0.3s ease;
    padding: 0 20px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
}
.btn-primary {
    background-color: var(--portalThemeColor1) !important;
    color: white !important;
    border: none !important;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--portalThemeColor1);
    border: 2px solid var(--portalThemeColor1);
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--portalThemeColor3) !important; /* lighter background on hover */
}
.btn-primary:hover {
    background-color: var(--portalThemeColor2) !important; /* Darker background on hover */
}
.btn-secondary:hover {
    background-color: var(--portalThemeColor3) !important; /* lighter background on hover */
}

.contacts-table tbody td button {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}
.contacts-table tbody td button.approuver {
    background-color: #ffffff;
    color: var(--portalThemeColor1);
    border: 2px solid var(--portalThemeColor1);
    transition: background-color 0.3s ease;
}
.contacts-table tbody td button.refuser {
    background-color: #ffffff;
    color: #9E1F00;
    border: 2px solid #9E1F00;
    transition: background-color 0.3s ease;

    margin-left: 12px;
}
.contacts-table tbody td button.approuver i, .contacts-table tbody td button.refuser i {
    margin-right: 8px;
}
.contacts-table tbody td button.approuver:hover {
    background-color: var(--portalThemeColor3) !important; /* lighter background on hover */
}
.contacts-table tbody td button.refuser:hover {
    background-color: #9E1F0025 !important; /* lighter background on hover */
}


/* Styles Nouvelle démarche button */
.contacts-table tbody td button.nouvelle-demarche-btn {
    background-color: var(--portalThemeColor1);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 7px 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
}

.contacts-table tbody td button.nouvelle-demarche-btn:hover {
    background-color: var(--portalThemeColor2);
    /* Darker background on hover */
}

.contacts-table tbody td button.nouvelle-demarche-btn i {
    margin-right: 8px;
    /* Space between icon and text */
    font-size: 14px;
}


/* For edit and delete buttons */
.icon-wrapper {
    display: inline-flex;
    gap: 10px;
}

.icon-wrapper button {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}


.contacts-table tbody tr td:first-child {
    font-weight: 600;
    font-size: 16px;
    color: var(--portalThemeColor4);
    padding-left: 24px;
}

/* Style for sortable header cells */
.contacts-table thead th.sortable {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}


.contacts-table thead th.sortable i {
    margin-left: 8px;
    font-size: 13px;
    color: var(--portalThemeColor7);
    transition: transform 0.2s ease-in-out;
}

.contacts-table thead th.sortable i.asc {
    transform: rotate(180deg);
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    overflow: hidden;
}


.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    max-height: 90%;
    width: auto;
    min-width: 352px;
    max-width: 90%;
    overflow-y: scroll;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
}

#selectionner-contact-principal-modal .modal-content {
    width: 90%;
    max-width: 100%;
}
#selectionner-representant-legal-modal .modal-content {
    width: 90%;
    max-width: 100%;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content h2 {
    font-size: 24px;
    color: var(--portalThemeColor4);
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    padding-bottom: 8px;
}

.modal-center {
   text-align: center; 
}

.close-btn {
    position: absolute; 
    top: 24px; 
    right: 24px;
    width: 40px;
    height: 40px;
    font-size: 24px; 
    cursor: pointer; 
    color: var(--portalThemeColor4);
    background-color: transparent;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-message {
    background-color: #E7EDFB;
    border: 1px solid #0A4BD8;
    color: var(--portalThemeColor4);
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
}


.info-message i {
    margin-right: 10px;
    flex-shrink: 0;
    color: #0A4BD8;
    font-size: 18px;
}


.offre-section input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background-color: #F4F4F4;
    color: var(--portalThemeColor7);
    font-size: 14px;
    box-shadow: none;
    cursor: not-allowed;
}

.type-demarche-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--portalThemeColor4);
    margin-top: 20px !important;
    margin-bottom: 8px;
    text-align: left;
}


.demarche-option {
    width: 100%;
    margin-bottom: 12px;
    overflow: hidden;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}


.demarche-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px;
    background-color: inherit;
    border-bottom: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
}

.demarche-header label {
    font-size: 16px;
    color: var(--portalThemeColor7);
    margin-left: 10px;
    flex-grow: 1;
    text-align: left;
}

.demarche-header input[type="radio"], .sous-type-header input[type="radio"] {
    height: 44px;
    appearance: auto;    
}


.demarche-option input[type="radio"] {
    accent-color: var(--portalThemeColor1);
    margin-right: 8px;
    width: 24px;
}

.demarche-header i {
    font-size: 14px;
    color: var(--portalThemeColor7);
    margin-right: 8px;
}


.sous-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-top: none;
    gap: 10px;
}


.sous-type {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: #fff;
    color: var(--portalThemeColor7);
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 5px;
    width: calc(33.33% - 10px);
    box-sizing: border-box;
    height: 110px;
}


.sous-type:hover {
    background-color: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-color: var(--portalThemeColor1);
}

.sous-type-header input[type="radio"]:checked+i {
    color: var(--portalThemeColor1);
}

.sous-type-header input[type="radio"]:checked~span {
    color: var(--portalThemeColor1);
}

.sous-type-header input[type="radio"]:checked+i {
    color: var(--portalThemeColor1);
}


.sous-type-header input[type="radio"]:checked {
    background-color: #f0f0f0;
    border: 2px solid var(--portalThemeColor1);
}


.sous-type-header input[type="radio"]:checked+i {
    background-color: #f0f0f0;
    border-color: var(--portalThemeColor1);
}


.sous-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.sous-type-header i {
    margin-left: 8px;
    margin-right: 4px;
    color: var(--portalThemeColor7);
    font-size: 18px;
}


.sous-type:last-child {
    margin-right: 0;
}


.sous-types .sous-type {
    flex-grow: 0;
}

.sous-type.disabled{
        background-color: #F4F4F4 !important;
        color: #929292 !important;
}
.sous-type.disabled:hover{
    background-color: #f0f0f0;
    box-shadow: 0 0px 0px rgb(254, 254, 254);
    border-color: #ffffff;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    bottom: 20px;
    right: 20px;
    width: calc(100% - 40px);
}

.cancel-btn,
.validate-btn {
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
}

.content button {
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    /*height: 50px; 
    line-height: 50px; sj*/
    font-size: 15px;
}

.cancel-btn {
    background-color: #ffffff;
    color: var(--portalThemeColor1);
    border: 2px solid var(--portalThemeColor1);
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.validate-btn {
    background-color: var(--portalThemeColor1);
    color: white;
    border: none;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.validate-btn i {
    margin-left: 8px;
}

.secondary-btn {
    color: var(--portalThemeColor1); 
    font-size: 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
} 


.breadcrumbs {
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--portalThemeColor7);
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--portalThemeColor1);
    font-size: 14px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--portalThemeColor7);
}

.specific-demarche {
    display: block;
    margin-left: 0;
    margin-bottom: 20px;
}

.specific-demarche h1 {
    text-align: left;
}


.stepper {
    margin-right: 24px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;

}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #D9D9D9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    color: var(--portalThemeColor7);
    margin-bottom: 5px;
}

.step.active .step-number {
    background-color: var(--portalThemeColor1);
    color: white;
    border: none;
}

.step.active .step-title {
    font-weight: 600;
    color: var(--portalThemeColor4);
}

.step-title {
    font-size: 16px;
    text-align: center;
    color: var(--portalThemeColor7);
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -30%;
    width: 90%;
    height: 2px;
    background-color: #D9D9D9;
    z-index: -1;
}

.step.completed:not(:last-child)::after {
    background-color: var(--portalThemeColor1);
}

.step.active::after {
    background-color: var(--portalThemeColor1);
}

.step.completed .step-number {
    background-color: var(--portalThemeColor1);
    border: none;
    color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    position: relative;
}

.step.completed .step-number::before {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



.step:first-child::after {
    right: -40%;
    width: 80%;
}


.step:nth-child(2)::after {
    right: -40%;
    width: 80%;
}


.step:nth-child(3)::after {
    right: -40%;
    width: 80%;
}

.step:nth-child(4)::after {
    right: -40%;
    width: 80%;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    bottom: 20px;
    right: 20px;
    width: calc(100% - 20px);
    margin-top: 20px;

}

.previous-btn {
    position: absolute;
    left: 216px;
    background-color: var(--portalThemeColor1);
    color: white;
    border: none;
    transition: background-color 0.3s ease;

}

.previous-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.button-container button {
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
}

.cancel-btn-stepper {
    background-color: none;
    color: var(--portalThemeColor1);
    border: none;
    background: none;
}

.validate-btn {
    background-color: var(--portalThemeColor1);
    color: white;
    border: none;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}


.save-btn {
    background-color: #ffffff;
    color: var(--portalThemeColor1);
    border: 2px solid var(--portalThemeColor1);
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.save-btn i, .download-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.cancel-btn:hover {
    background-color: #ccc;
}

.validate-btn:hover {
    background-color: var(--portalThemeColor2);
}

.save-btn:hover {
    background-color: #e0eeef;
}

.previous-btn:hover {
    background-color: var(--portalThemeColor2);
}

.input-box.type {
    flex-basis: calc(33.333% - 24px);
    margin-right: 24px;
}

.input-box.denomination {
    flex-basis: calc(66.666% - 24px);
    margin-left: 0;
}

.social-input {
    flex-basis: calc(33.333% - 24px);
    margin-right: 24px;
    position: relative;
}


.social-input:last-child {
    margin-right: 0;
}

input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

input[type="text"]:disabled {
    background-color: #F4F4F4;
    color: var(--portalThemeColor7);
}

input:disabled, select:disabled {
    background-color: #F4F4F4 !important;
    color: var(--portalThemeColor7);
    opacity: 1;
}

.custom-select-wrapper:has(select:disabled) i {
    color: var(--portalThemeColor7) !important;
}

.social-input .social-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.social-input input {
    padding-left: 40px;
    width: 100%;
    box-sizing: border-box;
}

.social-media-header {
    font-size: 18px;
    font-weight: bold;
    color: var(--portalThemeColor4);
    text-align: left;
    margin-bottom: 16px;
    margin-top: 20px;
}

.info-message-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.info-message-2 a {
    font-weight: 600;
    text-decoration: underline;
    font-size: 16px;
}

.button-group {
    display: flex;
}

.button-group button {
    margin-left: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    height: 40px;
}

.yes-btn {
    background-color: var(--portalThemeColor1);
    color: white;
    border: none;
}

.no-btn {
    background-color: #ffffff;
    color: var(--portalThemeColor1);
    border: 2px solid var(--portalThemeColor1);
}

.yes-btn:hover {
    background-color: var(--portalThemeColor2);
}

.no-btn:hover {
    background-color: #e0eeef;
}

.hidden {
    display: none;
}

.create-btn {
    margin-left: auto;
    margin-top: 20px;
    height: 44px;
    background-color: var(--portalThemeColor1);
    color: white;
    width: auto;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.create-btn i {
    margin-right: 8px;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f5f5f5;
}


.radio-item input[type="radio"] {
    display: none;
}


.radio-item i {
    margin-right: 10px;
    font-size: 22px;
    color: var(--portalThemeColor7);
}


.radio-item input[type="radio"]+i::before {
    content: '\f111';
}


.radio-item input[type="radio"]:checked+i::before {
    content: '\f192';
    color: var(--portalThemeColor1);
}


.radio-item input[type="radio"]:checked+i,
.radio-item input[type="radio"]:checked+span {
    background-color: #f5f5f5;
}


.services {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
}

.service-checkbox input[type="checkbox"] {
    display: none;
}

.service-checkbox i.fa-regular.fa-square {
    font-size: 20px;
    color: var(--portalThemeColor7);
}

.service-checkbox i.fa-solid.fa-square-check {
    font-size: 20px;
    color: var(--portalThemeColor1);
    display: none;
}

.service-checkbox input[type="checkbox"]:checked~i.fa-regular.fa-square {
    display: none;
}

.service-checkbox input[type="checkbox"]:checked~i.fa-solid.fa-square-check {
    display: inline-block;
}

.service-checkbox span {
    font-size: 16px;
    position: relative;
}

.service-checkbox p {
    margin-bottom: 0rem;
}


.custom-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}


.description {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    color: var(--portalThemeColor7);
    text-align: left;
    margin-top: -10px;
}

.upload-container {
    border: 2px dashed var(--portalThemeColor1);
    padding: 20px;
    border-radius: 6px;
    background-color: #F5F8FF;
    text-align: center;
}

.custom-file-label {
    cursor: pointer;
    color: var(--portalThemeColor1);
    font-size: 16px;
}

.custom-file-label i.fa-file-arrow-up {
    font-size: 24px;
    color: var(--portalThemeColor1);
    margin-bottom: 10px;
}

.file-input {
    display: none;
}

.file-list {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.file-list li {
    background-color: #F5F8FF;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border: 1px solid var(--portalThemeColor7);
}

.file-list li i {
    color: var(--portalThemeColor7);
    cursor: pointer;
    margin-left: 10px;
}

.highlight-text {
    color: var(--portalThemeColor1);
    font-weight: 500;
    text-decoration: underline;
}

.gdpr {
    margin-left: 216px;
}

.highlight-gdpr {
    color: var(--portalThemeColor4);
    font-weight: 500;
    text-decoration: underline;
}

.selected-option {

    appearance: none;
    -webkit-appearance: none;
    line-height: 1.5;

    padding-right: 30px;
}

.gestionnaire-arrow {
    /*position: absolute !important;*/
    right: 12px !important;
    /*transform: translateY(20%) !important;*/
    color: var(--portalThemeColor4) !important;
    /*font-size: 16px !important;*/
    pointer-events: none;
}

.question-label {
    font-weight: 500;
    font-size: 16px;
    color: var(--portalThemeColor4);
    line-height: 1.5;
    margin-bottom: 10px;
}

.question-label p {
    font-weight: 500;
    font-size: 16px;
    color: var(--portalThemeColor4);
    line-height: 1.5;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
}

.custom-radio-section .radio-group {
    display: flex;
    gap: 32px;
    align-items: center;
}

.custom-radio-section .radio-item {
    display: flex;
    align-items: center;
    padding: 12px 0px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    background-color: transparent;
}

.custom-radio-section .radio-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--portalThemeColor4);
}

.separator-survey {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
    width: 100%;
    display: block;
}

.stretchable-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    min-height: 50px;
    resize: vertical;
}


.stretchable-textarea:focus {
    border-color: var(--portalThemeColor1);
    outline: none;
}

.certification-btn {
    background-color: var(--portalThemeColor1);
    color: white;
    border: none;
    margin-left: 24px;
    transition: background-color 0.3s ease;
}

.info-message-counter {
    background-color: #FDF8E4;
    border: 1px solid #BF8D1F;
    border-radius: 4px;
    padding: 12px;
    display: none;
    align-items: center;
    font-size: 16px;
    color: #BF8D1F;
    width: 100%;
    box-sizing: border-box;
    margin: 12px 0;
}

.info-message-counter i {
    font-size: 20px;
    color: #BF8D1F;
    margin-right: 8px;
}

.deadline-text {
    white-space: nowrap;
    margin-right: 8px;
    font-size: 16px;
    color: var(--portalThemeColor4);
}

.progress-bar-container {
    width: 200px;
    height: 6px;
    background-color: #DDDDDD;
    border-radius: 4px;
    overflow: hidden;
    margin-left: 8px;
}

.collapsible-info {
    background-color: #EFF6FB;
    border: 1px solid #0A4BD8;
    border-radius: 8px;
    margin: 12px 0;
    overflow: hidden;
}

.collapsible-header {
    background-color: #EFF6FB;
    padding: 16px;
    font-weight: 600;
    color: var(--portalThemeColor4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collapsible-header i {
    color: #0A4BD8;
    font-size: 18px;
}

.collapsible-title {
    flex-grow: 1;
    margin-left: 8px;
}

.collapsible-content {
    display: none;
    padding: 12px;
    background-color: #EFF6FB;
    color: var(--portalThemeColor4);
    font-size: 14px;
}

.collapsible-content p {
    margin: 8px 0;
}

.collapsible-header .collapsible-arrow {
    transition: transform 0.3s ease;
}

.collapsible-header.open .collapsible-arrow {
    transform: rotate(180deg);
}

.date-info i {
    color: #0A4BD8;
    font-size: 18px;
}

.specific-page .form-container {
    margin-bottom: 8px;
    /*margin-top: -16px;*/
    height: 100%;
    flex-grow: 1;
    box-sizing: border-box;
}

.specific-dropdown {
    margin-bottom: 24px;
    margin-top: 20px;
}

.upload-icon {
    font-size: 24px;
    color: var(--portalThemeColor1);
}

.single-field-width {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 400px;
    max-width: 100%;
    margin-bottom: 20px;
}


.disabled-form input {
    background-color: #F4F4F4;
    color: #450101;
    border: 1px solid #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.disabled-form h2 {
    margin-top: 20px;
}

.input-box.type-hebergement,
.input-box.type-utilisateur,
.input-box.tel-alternatif,
.input-box.tel-publiable {
    flex: 1;
    max-width: calc(33.33% - 20px);
}


/* Certifications */


.date-delivrance-asi,
.date-fin-asi {
    margin-top: 20px;
}


.registration-update .field-label {
    font-weight: 600;
    font-size: 16px;
    color: var(--portalThemeColor4);
    margin-bottom: 8px;
    display: block;
}

.registration-update .error-message {
    color: #9E1F00;
    font-weight: bold;
    font-size: 14px;
    margin-top: 5px;
}


/*.step-content.active:first-of-type form:last-of-type {
    border: 1px solid #9E1F00; 
}*/
.data-not-up-to-date {
    border: 1px solid #9E1F00;
}

.step-content:nth-of-type(2) #type-hebergement {
    background-color: #F4F4F4;
    color: #525252;
    cursor: not-allowed;
    pointer-events: none;
}

.certification-description {
    font-size: 16px;
    color: var(--portalThemeColor7);
    margin-top: 4px;
    line-height: 1.5;
}

.information-message-group {
    width: 100%;
}

.information-message {
    background-color: #E7EDFB; 
    border: 1px solid #0A4BD8; 
    color: var(--portalThemeColor4);
    padding: 12px 48px 12px 12px; 
    margin-bottom: 20px; 
    border-radius: 5px; 
    font-size: 16px; 
    display: flex;
    align-items: center; 
    width: 100%;
    /*display: none;*/
}

.information-message i, .information-message svg {
    margin-right: 8px; 
    flex-shrink: 0; 
    color: #0A4BD8;
    font-size: 20px; 
}

.information-message * {
    width: auto;
}
.information-message .download-btn {
    margin-left: auto;
    text-decoration: none;
    color: white !important;
    border-color: #0A4BD8;
    background-color: #0A4BD8;
    min-width: fit-content;
}
.information-message .download-btn i {
    color: white;
}
.information-message .download-btn:hover {
    border-color: #083eb3 !important;
    background-color: #083eb3 !important;
}

.icon-information-message {
    width: 24px;
    filter: saturate(0);
}

.information-message img {
    margin-right: 8px;
}

.icon-information-message:hover {
    filter: saturate(1);
}

.information-message .text-content {
    display: flex;
    flex-direction: column;
}

.information-message ul {
    text-align: left;
    padding-left: 20px;
    margin: 10px 0;
}

.information-message li {
    margin-bottom: 5px;
    font-size: 14px;
}

.information-message p {
    font-size: 14px;
    /*margin-top: 10px; sj*/
}

.certification-form {
    padding-right: 24px;
    padding-left: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.certification-header {
    display: flex;
    align-items: center;
}


.certification-header input[type="radio"] {
    margin-right: 10px;
}

.header-label {
    flex-grow: 1;
    font-weight: bold;
}

.certification-header i {
    color: var(--portalThemeColor1);
}

.certification-content {
    max-height: 0px;
    /* Keep it collapsed initially */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}


.toggle-arrow {
    transition: transform 0.3s ease-in-out;
}

.toggle-arrow.active {
    transform: rotate(180deg);
    /* Rotate arrow when active */
}

.certification-header .toggle-arrow {
    position: absolute;
    right: 60px;
}

.certification-header .toggle-arrow.active {
    transform: rotate(180deg);
}


.certification-header.selected .radio-label strong {
    color: var(--portalThemeColor1);
}

.certification-content.open {
    max-height: 10000px;

}

.certification-specifique.open .header-separator {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
    margin-bottom: 24px;
    margin-top: 12px;
}

#identity {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    /* Couleur du texte en blanc pour le contraste */
    /*background: linear-gradient(135deg, #009999, #006666);*/
    /* Dégradé basé sur var(--portalThemeColor1) */
    /*border: 1px solid #005555;*/
    /* Bordure subtile */
    border-radius: 12px;
    /* Coins arrondis */
    padding: 15px 20px;
    /* Espace intérieur */
    text-align: center;
    /* Centrer le texte */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    /* Ombres douces */
    max-width: 400px;
    /* Largeur maximale */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Animation douce */
}

/* Responsive : Ajustement pour petits écrans */
@media (max-width: 600px) {
    #identity {
        font-size: 16px;
        padding: 10px 15px;
    }
}

.thumbs-mes-demarches,
.thumbs-mes-offres {
    margin-bottom: 20px;
}

.thumbs-mes-demarches .thumb,
.thumbs-mes-offres .thumb {
    background-color: white;
    color: #555555;
    border: 2px solid #D9D9D9;
    border-radius: 5px;
    /*padding: 10px 20px; removed*/
    cursor: pointer;
    font-size: 16px;
    margin-right: 16px;
}

.thumbs-mes-demarches .thumb.active,
.thumbs-mes-offres .thumb.active {
    background-color: var(--portalThemeColor1);
    color: white;
    border: 2px solid var(--portalThemeColor1);
}

.not-visible {
    display: none !important;
}

.information-message-group {
    width: 100%;
}

.main-content>.container {
    margin-right: 24px;
    margin-bottom: 16px;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

.main-content>.container .content-box {
    overflow: hidden;
}

.contact-list {
    list-style: none;
    margin-top: 80px;
}

.contact-list li {
    position: relative;
    font-weight: 600;
    padding: 0 0 40px 40px;
}

.contact-list li i {
    position: absolute;
    top: 5px;
    left: 0;
    height: 18px;
    max-width: 18px;
}

/* ===============================
   Accessibility
================================= */
*:focus-visible{
    box-shadow: 0 0 0 1px #fff, 0 0 0 4px #05775Bb0 !important;
    border-color: var(--portalThemeColor1) !important;
    outline: none;
    border-radius: .375rem;
}

.modal {
    display: none;
}

.modal[aria-hidden="false"] {
    display: flex;
}

*::selection { background-color: #19828545; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ===============================
  Alignments
================================= */

.flex-horizontal {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.flex-right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.flex-left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

/* ===============================
  Margins
================================= */
.m-t-xs {
    margin-top: 8px;
}
.m-t-sm {
    margin-top: 16px;
}
.m-t-md {
    margin-top: 20px;
}
.m-t-lg {
    margin-top: 24px;
}
.m-t-xl {
    margin-top: 46px;
}

.m-b-xs {
    margin-bottom: 8px;
}
.m-b-sm {
    margin-bottom: 16px;
}
.m-b-md {
    margin-bottom: 20px;
}
.m-b-lg {
    margin-bottom: 24px;
}
.m-b-xl {
    margin-bottom: 46px;
}

/* ===============================
  Modals/pop-up
================================= */
#submission-modal .modal-content {
    height: auto;
    width: auto;
    padding: 40px;
}

#submission-modal .modal-content i.fa-check {
    color: #198285;
    font-size: 48px;
    border: 6px solid rgb(25 130 133 / 15%);
    border-radius: 200px;
    width: 92px;
    height: 92px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    margin: 0 auto 16px auto;
}
#handleAR-modal .modal-content, #delete-modal .modal-content {
    height: auto;
    width: auto;
    padding: 40px;
    width: 560px;
    max-width: 100%;
}
#handleAR-modal .modal-content i.fa-xmark, #delete-modal .modal-content i.fa-xmark {
    color: var(--portalThemeColor4);
    font-size: 48px;
    border: 6px solid #D9D9D9;
    border-radius: 200px;
    width: 92px;
    height: 92px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    margin: 0 auto 16px auto;
}
#handleAR-modal .modal-content .cancel-btn, #delete-modal .modal-content .cancel-btn {
    border: none;
    color: var(--portalThemeColor4);
}
#handleAR-modal .modal-content .delete-btn, #delete-modal .modal-content .delete-btn {
    border: none;
    color: white;
    background-color: #9E1F00;
    margin-left: 12px;
}
#handleAR-modal .modal-content .delete-btn i, #delete-modal .modal-content .delete-btn i {
    margin-right: 8px;
}
#handleAR-modal .modal-content .delete-btn:hover, #delete-modal .modal-content .delete-btn:hover {
    background-color: #781901 !important;
}

.modal-content .form-modal-container {
    margin: 80px 100px;
}

/* ===============================
  Select list
================================= */
.select-list {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    padding: 0 !important;
}

.select-list ul {
    background: white;
    /*reset list style*/
    padding: 0;
    margin: 0;
}

.select-list ul li {
    /*reset list style*/
    display: flex;
    flex-direction: column;
}

.select-list .select-list-item>div {
    position: relative;
}

/* Select List - radio button*/
.select-list input[type="radio"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;

    position: absolute;
    z-index: 1;
    top: 50%;
    left: 32px;
    transform: translateY(-50%);

    border: 0;
    border-radius: 100px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--portalThemeColor7);
    cursor: pointer;

    margin: 0;
}

.select-list input[type="radio"]:checked:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background-color: var(--portalThemeColor1);
}

/* Select List - label */
.select-list label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    box-sizing: border-box;

    width: 100%;
    padding: 24px 88px;
}

.select-list .level-2 label {
    padding-left: calc(88px * 2 - 32px);
}

.select-list .level-3 label {
    padding-left: calc(88px * 3 - 32px * 2);
}

.select-list .level-2 input[type="radio"] {
    left: 88px;
}

.select-list .level-3 input[type="radio"] {
    left: calc(88px * 2 - 32px);
}

/* Style pour l'item sélectionné */
.select-list .select-list-item.active>div {
    background-color: #EEF6F7;
}

.select-list .select-list-item.active>div h2,
.select-list input[type="radio"]:checked~label h2 {
    color: var(--portalThemeColor1);
}
.select-list .select-list-item>div:not(:has(p)) h2 {
    margin-bottom: 0;
}

.select-list .select-list-item.active~li {
    /*opacity: 50%;*/
}

.select-list .select-list-item>ul {
    display: none;
}

.select-list .select-list-item.active>ul {
    display: block;
}

.select-list .level-2,
.select-list .level-3 {
    display: none;
}

.select-list .level-2.expanded,
.select-list .level-3.expanded {
    display: block;
}

/* ===============================
  Notifications
================================= */
.success-notif {
    display: none;
    padding: 9px 39px 9px 14px;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #323130;
    -ms-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    margin-bottom: 18px;
    -ms-text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

.error-notif {
    display: none;
    padding: 9px 39px 9px 14px;
    background-color: #ffe5e5;
    border-color: #ffe5e5;
    color: #323130;
    -ms-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    margin-bottom: 18px;
    -ms-text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

/* ===============================
  Map location
================================= */
#map {
    display: none;
    overflow: hidden;
    max-height: 300px;
    border: 16px solid white;
    border-radius: 4px;
    z-index: 101;
    margin-top: 10px;
}

#map.show {
    display: block;
}

.modal-background {
    display: none;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.modal-background.show {
    display: block;
}

*[id^="address"] {
    position: relative;
    z-index: 101;
}

.modale-creer-un-gestionnaire.show {
    display: block;
}

.modal.modale-creer-un-gestionnaire .modal-content {
    padding: 40px 100px;
    height: auto;
}

.sous-section {
    padding-left: 12px;
    margin-top: 24px;
    border-left: 2px solid var(--portalThemeColor4);
}

.page-w-1 {
    max-width: calc((100% / 12 * 1) - (24px / 2));
    min-width: 74px;
}
.page-w-2 {
    max-width: calc((100% / 12 * 2) - (24px / 2));
    min-width: 100px;
}
.page-w-4 {
    max-width: calc((100% / 12 * 4) - 16px);
    min-width: 200px;
}
.page-w-6, .half-page {
    max-width: calc((100% / 12 * 6) - (24px / 2));
    min-width: 200px;
}
.page-w-8 {
    max-width: calc((100% / 12 * 8) - (24px / 2));
    min-width: 200px;
}

@media screen and (max-width: 720px) {
    .page-w-4, .page-w-6, .page-w-8, .page-w-10, .page-w-12 {
        max-width: 100%;
    }
}

.third-page {
    max-width: 33%;
    min-width: 200px;
}

   .required-invalid {
    border: 2px solid #e63946 !important;
    background-color: #ffe5e5 !important;  
    color: #e63946;            
}
.required-invalid option { 
    background-color: white;  
    color: black;  
}
.required-invalid::placeholder {
    color: #e63946;             
}
.required-invalid:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(230, 57, 70, 0.5); 
}
/* ===============================
  save spinner
================================= */


.processing {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(255,255,255,0.8);
    z-index:9999;
    display:none;
}
@-webkit-keyframes spin {
    from {-webkit-transform:rotate(0deg);}
    to {-webkit-transform:rotate(360deg);}
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}
.processing::after {
    content:'';
    display:block;
    position:absolute;
    left:48%;top:40%;
    width:100px;height:100px;
    border-style:solid;
    border-color:#3498db;
    border-top-color:transparent;
    border-width: 7px;
    border-radius:50%;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

/* ===============================
  Thumbs
================================= */
.thumb-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
}
/*non active*/
.thumb {
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
}

.thumb:not(.active) {
    background-color: #ffffff;
    color: var(--portalThemeColor7);
    border: 1px solid #D9D9D9;
    transition: background-color 0.3s ease;
}
.thumb:not(.active):hover {
    color: var(--portalThemeColor1);
    border: 1px solid var(--portalThemeColor1);
    transition: border 0.3s ease;
}

/*active*/
.thumb.active {
    background-color: var(--portalThemeColor1);
    color: white;
    border: 1px solid var(--portalThemeColor1);
    transition: background-color 0.3s ease;
    font-weight: 500;
}
.thumb.active:hover {
    background-color: var(--portalThemeColor2);
}
.thumb-target {
    display: none;
}
.thumb-target.active {
    display: block;
}

/* ===============================
   Multi-select dropdown 
================================= */
.multi-select-tag {
    all: revert !important;
    font-family: inherit !important;
}
.multi-select-tag .wrapper {
    position: relative;
    text-align: start;
}
.multi-select-tag .tag-container {
    display: flex;
    align-items: center;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
}
.multi-select-tag .tag-container input {
    border: none;
}
.multi-select-tag .tag-item {
    display: flex;
    align-items: center;
    height: fit-content;
    color: var(--portalThemeColor1);
    background-color: rgba(0, 130, 133, 0.1);
    padding: 6px 6px 6px 12px;
    margin: 0 6px;
    border-radius: 4px;
}
.multi-select-tag .tag-item .cross {
    cursor: pointer;
    padding: 0 6px;
}
.multi-select-tag .tag-item .cross:hover {
    color: var(--portalThemeColor4);
}
.multi-select-tag .dropdown.hidden {
    display: none;
}
.multi-select-tag .dropdown {
    display: block;
}
.multi-select-tag .li {
    padding: .5rem;
    cursor: pointer;
    list-style-type: none;
}
.multi-select-tag .li:hover {
    background-color: rgba(0, 130, 133, 0.1);
}

/* ===============================
  tooltip for the asi/acs file
================================= */

.cgttooltip {
    position: relative;
    display: inline-block;
}
.cgttooltip .tooltiptext {
    visibility: hidden;
    width: 550px;
    height: 300px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -275px;
    transition: opacity 0.3s;
    opacity:1;
}
.cgttooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
.cgttooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* ===============================
   Tables
================================= */
.table {
    overflow-x:auto;
    width: 100%;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 12px 0;
    margin: 24px 0;
}
table {
    border-collapse:collapse;
    text-align: left;
    color: var(--portalThemeColor4);
}
tr > * {
    border-bottom: 2px solid white;
}
tr > *:not(:has(label)) {
    padding: 12px 44px 12px 12px;
}
td:has(label) {
    padding-left: 24px;
}
td:has(button) {
    padding: 0;
}
td label {
    margin-bottom: 0 !important;
    width: 20px;
}
.delete-item-btn {
    width: 40px;
    height: 40px !important;
    font-size: 24px; 
    cursor: pointer; 
    color: var(--portalThemeColor4);
    background-color: transparent;
    border: 0;
    border-radius: 4px;
    padding: 0 !important;
    margin-left: 12px;
}
.delete-item-btn:hover {
    background-color: rgba(0, 130, 133, 0.1);
}

tr:has(td):has(label input:checked) {
    background-color: #eaf3f3;
}
tr:has(td):has(label input:checked) td:last-child {
    background: linear-gradient(90deg, #eaf3f3, #ffffff);
}

/* ===============================
   Search Modal
================================= */
.search-modal {
    position: absolute !important;
    right: 0;
    z-index: 1;
}
.search-modal ul {
    list-style: none;
    margin-top: 4px;
    padding-left: 0;
    background-color: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    width: max-content;
    max-width: 1000px; /*sj*/
    max-height: 300px; /*sj*/
    overflow-y: auto; /*sj*/
}
.search-modal ul li {
    padding: 12px 24px;
    display: flex;
    cursor: pointer;
}
.search-modal ul li:hover {
    background-color: rgba(0, 130, 133, 0.1);
}
.search-modal ul li i {
    position: unset;
    transform: none !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: black;
}
.search-modal ul li:first-child {
    border-radius: 4px 4px 0 0;
}
.search-modal ul li:last-child {
    border-radius: 0 0 4px 4px;
}
.search-modal ul li:hover i {
    color: var(--portalThemeColor1);
}
.search-modal ul li strong, .search-modal ul li span {
    margin-left: 24px;
}

/* ===============================
  cgt-custom.css - Check what to keep
================================= */
.family-card {
    margin-left: 0px;
}

.footer-bottom {
    display: none;
}

/*.user-icon {
   margin-left: -150px !important;
}*/

.user-dropdown {
    display: flex;
    flex-direction: column;
    /* Stack lines vertically */
    align-items: flex-start;
    /* Align text to the left */
    font-size: 18px;
    /* Base font size for the name */
    cursor: pointer;
    padding: 5px;
    min-width: 200px;
}

#userContainer:hover .user-dropdown * {
    color: white;
}

.contact-account, .menu-contact-label {
    font-size: 14px !important;
    /* Smaller font size for the second line */
    color: var(--portalThemeColor7);
    /* Gray text for distinction */
    font-weight: 400;
    /* Normal weight */
}
.user-dropdown-content .profile-icon {
    margin: 12px;
}
.menu-contact-name {
    text-transform: uppercase;
    font-weight: bold;
    color: var(--portalThemeColor4);
}

/*.header-right {
    margin-right: 20px;
}*/


/* ===============================
   Profile
================================= */
.profile-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid #D9D9D9;
    background-color: white;
    padding: 16px 24px;
    height: 100%;
    width: 100%;
}
.profile-box[selected="true"] {
    background-color: #F5F8FF;
    border: 1px solid var(--portalThemeColor1);
}

.profile-icon {
    height: 56px;
    width: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    background-color: #d8e9e5;
    color: var(--portalThemeColor1);
    margin-bottom: 20px;
}

.radio-check {
    position: absolute;
    top: 18px;
    right: 18px;
}
.profile-box .profile-info {
    align-items: flex-start;
    text-align: left;
}
.profile-box .profile-info > * {
    margin-bottom: 8px;
}
.profile-box[selected="true"] .profile-info > * {
    color: var(--portalThemeColor1);
    
}
.profile-box[selected="false"] .radio-check .checkmark:after {
    display: none;
}
.profile-box[selected="true"] .radio-check .checkmark:after {
    display: block;
}

#selectProfilContainer .btn {
    width: auto;
    margin: 64px auto 0 auto;
}

.uppercase {
    text-transform: uppercase;
}

/* ===============================
   Contact List
================================= */
.mes-contacts ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 24px;
}

.mes-contacts ul li {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 18px 24px;
}

.mes-contacts ul li h3 {
    margin-bottom: 0;
}

.mes-contacts .profile-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.mes-contacts .user {
    height: 56px;
    width: 56px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    background-color: var(--portalThemeColor3);
    color: var(--portalThemeColor1);
}

.mes-contacts button {
    padding: 0;
    margin-right: 24px;
}

.btn-modify {
    border: none;
    background-color: transparent;
    border-radius: 4px;
    height: 24px;
    width: 24px;
    cursor: pointer;
    margin-left: 8px;
}

.btn-modify:hover {
    color: var(--portalThemeColor1);
    background-color: var(--portalThemeColor3);
}

.btn-modify i {
    margin: 0;
} 

.mes-contacts .mail i, .mes-contacts .tel i, .mes-contacts button i {
    margin-right: 8px;
}

.mes-contacts .adresse-title {
    color: var(--portalThemeColor7);
    font-weight: 500;
}

/* ===============================
   Switch Button
================================= */
.usager-administrateur {
    display: inline-block;
    margin-right: 12px;
}
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
    line-height: 20px;
}
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--portalThemeColor7);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 100px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 100px;
}
input:checked + .slider {
    background-color: var(--portalThemeColor1);
}

/*input:checked:not(:disabled) + .slider {
    background-color: var(--portalThemeColor1);
}*/

input:focus + .slider {
    box-shadow: 0 0 1px var(--portalThemeColor1);
}
input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}





.heading-content {
    /*title + button on a single line*/
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 24px;
}

/* ===============================
   Se connecter
================================= */
.connexion-page {

}

.connexion-page .block-picture {
    display: inline; 
    position: fixed; 
    left: 0;
    width: 50vw; 
    height: 100vh; 
    overflow: hidden;
}

.connexion-page .block-picture img {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
} 

.connexion-page .block-text {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    width: 50vw; 
    height: 100vh; 
    position: fixed; 
    right: 0;
}

.connexion-page .block-text > div {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 486px; 
    max-width: 100%; 
    padding: 0 24px;
}
.connexion-page .block-text > div img {
    max-width: 153px; 
    margin-bottom: 68px;
} 
.connexion-page .block-text > div p {
    margin-bottom: 32px; 
    text-align: center;
}
.connexion-page .block-text > div button {
    margin-bottom: 12px; 
    width: 100%; 
    margin-left: 0;
}
@media screen and (max-width:560px) {
    .connexion-page .block-picture {
        display: none;
    }
    .connexion-page .block-text {
        width: 100vw;
        display: flex;
        justify-content: flex-start;
        position: unset;
        padding: 32px 24px;
    }
}
.connexion-page  .login-heading-section{
    display: none;
}
.connexion-page  .row{
    width: 100%;
}
.connexion-page  .row .col-md-6{
    width: 100%;
}

/* ===============================
   FAQ
================================= */
.faq .arrow {
    position: relative;
    cursor: pointer;
    margin-bottom: 0;
}
.faq .arrow::before {
    content: '\f078'; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    font-size: 16px; 
    color: var(--portalThemeColor4);
    position: absolute;
    top: 50%;
    right: 0; 
    transform: translateY(-50%) rotate(180deg);
    transition: transform 0.4s ease;
}
.faq .arrow.collapsed::before {
    content: '\f078'; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    font-size: 16px; 
    color: var(--portalThemeColor4);
    position: absolute;
    top: 50%;
    right: 0; 
    transform: translateY(-50%) rotate(0deg); 
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}
.faq-answer p {
    margin-top: 12px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   Pas de résultat
================================= */
.no-results-content .fa-file-circle-plus:before {
    color: var(--portalThemeColor1);
}

.no-results-content .create-offer-btn {
    margin-top: 32px;
}


/* ===============================
   Footer
================================= */
/* Anteo Test */

footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    background-color: white;
    border-top: 1px solid var(--portalThemeColor5);
    padding: 0 40px 0 240px;
    margin-top: 64px;
    transition: height 0.3s ease;
    overflow: hidden;
    padding-top: 10px;
    
}
footer div {
    
} 
footer div p {
    font-size: 14px !important;
    color: var(--portalThemeColor7);
    padding-top: 5px;
}
footer div ul {
    display: flex;
    flex-direction: row;
    gap: 18px;
    list-style: none;
    margin: 0;
}
footer div ul li a {
    font-size: 14px !important;
    color: var(--portalThemeColor7);
}
footer div ul li a:hover {
    font-size: 14px !important;
    color: var(--portalThemeColor2);
}
footer .tw-footer-basic{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 5px;
}
/* Sticky footer */
footer {
    /* position: fixed;
    bottom: 0;
    left: 0; */
    
    transition: all 0.35s ease;
    overflow: hidden;
}

/* Partie étendue (cachée par défaut) */
footer::after {
    content: "";
    display: block;
    max-height: 0;
    opacity: 0;
    transition: all 0.35s ease;
}

/* Footer étendu en bas de page */
footer.expanded {
    height: 160px;
    padding-bottom: 20px;
}

/* Contenu étendu */
footer.expanded .tw-footer-extra {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

/* Bloc infos supplémentaires */
.tw-footer-extra {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    font-size: 14px;
    color: var(--portalThemeColor7);
}
/*@media screen and (max-height: 520px) {
    footer {
        position: inherit;
    }        
}*/


/*BTN DELETE*/
.btn-delete {
    margin-left: 0;
}
.btn-delete i {
    margin-right: 12px;
}
.btn:disabled {
    opacity: 50%;
    pointer-events: none;
}
.btn-primary.attention {
    background-color: #9E1F00;
}
.btn-primary.attention:hover {
    background-color: #771800 !important;
}
/*INFO MESSAGE ATTENTION*/
.information-message.attention {
    background-color: #9E1F0010; 
    border: 1px solid #9E1F00; 
    color: #9E1F00;
}
.information-message.attention i, .information-message.attention p {
    color: #9E1F00;
}

/*INFO MESSAGE CAUTION*/
.information-message.caution {
    position: relative;
    background-color: #FDF8E4; 
    border: 1px solid #BF8D1F; 
    color: var(--portalThemeColor4);
    padding: 12px 48px;
}
.information-message.caution:before {
    content: '\f071';
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    font-size: 16px; 
    color: #BF8D1F;
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
}


/* ===============================
   Page Accueil
================================= */
.accueil {
    display: flex;
}
.accueil > div {
    padding-top: 60px;
    max-width: 496px; 
    margin-left: 124px;
}
.accueil > div.image img {
    max-width: 100%;
}
.accueil h1 {
    margin-bottom: 16px;
}
.accueil .list-title {
    color: var(--portalThemeColor7);
}
.accueil ul {
    list-style: none;
    padding-top: 16px;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 0;
}
.accueil ul li {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    color: var(--portalThemeColor7);
}
.accueil ul li img {
    width: 24px;
}
.accueil ul li i {
    font-size: 21px;
}
.accueil .intro {
    margin-bottom: 32px;
    font-size: 18px !important;
    font-weight: 300;
}
/*dropdown accueil*/
.accueil .arrow {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 0;
}
.accueil .arrow::before {
    content: '\f078'; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    font-size: 16px; 
    color: var(--portalThemeColor4);
    position: absolute;
    top: 50%;
    right: -24px; 
    transform: translateY(-50%) rotate(180deg);
    transition: transform 0.4s ease;
}
.accueil .arrow.collapsed::before {
    transform: translateY(-50%) rotate(0deg); 
}
.accueil-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}
.accueil-answer p {
    margin-top: 12px;
    font-weight: 300;
}

.accueil-item {
    border-bottom: 1px solid var(--portalThemeColor5);
}

.accueil-item.open .accueil-answer {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}
.accueil-answer .information-message {
    margin-top: 12px;
}
.accueil-answer .information-message p {
    margin-top: 0;
}
.accueil a {
    color: var(--portalThemeColor1);
    text-decoration: underline;
    font-weight: 500;
}
.accueil a:hover {
    color: var(--portalThemeColor2);
    text-decoration: none;
}
@media screen and (max-width: 1200px) {
    .accueil .image {
        display: none;
    }
}

.group-highlight {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
    padding: 12px 24px;
    
    border: 1px solid var(--portalThemeColor5);
    background-color: #F5F8FF;
    border-radius: 4px;
}


/* ===============================
   Binary choice
================================= */
.binary-choice-btn {
  padding: 8px 16px;
  border: 1px solid var(--portalThemeColor5);
  cursor: pointer;
  background-color: #ffffff;
  border-radius: 4px;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.binary-choice-btn.selected {
  background-color: var(--portalThemeColor1);
  color: white;
  border: 1px solid var(--portalThemeColor1);
}

.binary-choice-btn:hover {
    background-color: var(--portalThemeColor3);
}
.binary-choice-btn.selected:hover {
    background-color: var(--portalThemeColor2);
}



.download-btn {
    margin: 6px 0 12px 0;
}


.flex-column {
    display: flex;
    flex-direction: column;
    /*align-items: flex-start; sj*/
}

.form-container ul {
    /*margin-left: 46px; sj*/
}
.form-container ul li{
    margin-bottom: 16px;
}

.input-box .fa-euro-sign, .input-box .fa-percent {
    top: inherit;
    bottom: 5px;
    z-index: 1;
    color: var(--portalThemeColor7);
}

.input-box label i {
    top: 8px;
    transition: initial;
}


/* ===============================
   Map picker v2
================================= */
#mapPicker {
    position: absolute;
    z-index: 101;
    top: 70px;
    left: 0;
    width: 100%;
    min-height: 200px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}
#mapPicker iframe {
    width: 100%;
    max-height: 100%;
}


/* DOWNLOAD BUTTON - correction hover, active, focus */
button.download-btn:focus, button.download-btn:focus-visible, button.download-btn:hover, button.download-btn:active {
    background-color: #e0eeef !important;
    border: 2px solid var(--portalThemeColor1) !important;
    color: var(--portalThemeColor1) !important;
    outline: none;
}