@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600&display=swap');


:root {
    --color4: #000;
    --bs-table-bg: #FCFCFD;
}

input:autofill {
    background: transparent; /* or any other */
}

input {
    filter: none;
}

input:autofill {
    transition: background-color calc(infinity * 1s) step-end,
    background-image calc(infinity * 1s) step-end allow-discrete,
    color calc(infinity * 1s) step-end;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #495057;
}

a {
    color: #000;
    text-decoration: inherit;
}

h1 {
    color: var(--color1, #1BA294);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.5px;
}

.text-primary {
    color: #1BA294 !important;
}

/* Utility classes for spacing */
.gap-40 {
    gap: 40px;
}

.w-180 {
    width: 180px;
}

.turbo-progress-bar {
    height: 5px;
    background: #1BA294 !important;
}

.link-secondary {
    color: #1BA294 !important;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-decoration-line: none;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    border-bottom: 1px solid;
}

/* Button styles */
.btn {
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    padding: 8px 16px;
    height: 40px;
    border-radius: 50rem;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 11px;
}

.btn > * {
    margin: 0 auto;
}

.btn-primary {
    --bs-btn-color: #111;
    --bs-btn-bg: #1BA294;
    --bs-btn-border-color: #1BA294;
    --bs-btn-hover-color: #111;
    --bs-btn-hover-bg: #11A597;
    --bs-btn-hover-border-color: #11A597;
    --bs-btn-focus-shadow-rgb: 253, 186, 92;
    --bs-btn-active-color: #111;
    --bs-btn-active-bg: #11A597;
    --bs-btn-active-border-color: #1BA294;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #1BA294;
    --bs-btn-disabled-border-color: #1BA294;
    color: #fff;
}

.btn-primary:active {
    background-color: #fff !important;
    color: #000 !important;
}

.btn-outline-primary {
    --bs-btn-color: #1ba294;
    --bs-btn-border-color: #1ba294;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1ba294;
    --bs-btn-hover-border-color: #1ba294;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1ba294;
    --bs-btn-active-border-color: #1ba294;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #1ba294;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #1ba294;
    --bs-gradient: none;
}

.btn-light {
    --bs-btn-bg: #EAECF0;
    --bs-btn-border-color: #EAECF0;
}

.btn.btn-back {
    background: #ECFDF3;
    flex-direction: row;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: #000;
}

.btn-add i {
    font-size: 20px;
}

/* form styles */
.form-label {
    margin-bottom: 8px;
    color: #1E293B;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: -0.084px;
}

.form-label.required::after {
    content: "*";
    color: #000;
    margin-left: 3px;
}

.form-control, .form-select {
    border-radius: 40px;
    background-color: #F4F4F4;
    min-height: 48px;
    padding: 12px 24px;
    border-color: #F4F4F4 !important;
    color: #475569;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.112px;
}

.input-group .form-control {
    padding: 12px;
}

.form-select {
    padding: 12px 40px 12px 20px;
}

.form-control:focus, .form-select:focus {
    color: var(--bs-body-color);
    background-color: #f4f4f4;
    border-color: #f4f4f4;
    outline: 0;
    box-shadow: none !important;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: var(--bs-form-invalid-border-color) !important;
    background-image: none;
}

.form-check {
    margin-bottom: 0;
    font-size: 16px;
}

.form-check-input:checked {
    background-color: #1BA294;
    border-color: #1BA294;
}

.form-check-input:focus {
    border-color: #ECFDF3;
    box-shadow: 0 0 0 .25rem rgba(236, 253, 243, 0.25)
}

.form-help-container {
    position: relative;
}

.form-help-container .form-help {
    position: absolute;
    top: -40px;
    right: 10px;
}

.input-group-text {
    background-color: #f4f4f4;
    border-radius: 40px;
    border-color: #f4f4f4;
    padding-right: 0;
    font-size: 20px;
    color: rgb(71, 85, 105);
}
.input-group-text.append {
    padding-right: 10px;
}
.input-group-text.append button {
    padding: 0;
    width: 40px;
    height: 40px;
}
.input-group input + .input-group-text {
    padding-right: 15px;
}

.form-check.form-check-inline .form-check {
    display: inline-block;
    margin-right: 20px;
}

/* Sidebar styles */
#sidebar {
    position: fixed;
    background-color: #FAFAFA;
    width: 266px;
    min-width: 220px;
    box-shadow: 0px 5px 11px 0px rgba(0, 0, 0, 0.07);
    z-index: 10;
    background: linear-gradient(to right, #1ba294 50px, #fafafa 0);
    color:#fff;
}

.sidebar-header {
    position: relative;
    padding: 20px 0 15px 50px;
}

.sidebar-header::after {
    position: absolute;
    left: 50px;
    bottom: 0;
    width: calc(100% - 50px);
    height: 1px;
    content: "";
    background: #EAECF0;
}

#sidebar ul {
    gap: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

#sidebar ul .nav-item {
    align-items: center;
    display: flex;
    padding: 0;
}

#sidebar ul .nav-item.has-item {
    flex-direction: column;
    position: relative;
}

#sidebar .navbar-toggler {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #fff;
}

#sidebar .navbar-toggler.collapsed {
    transform: rotate(180deg);
}

#sidebar ul .nav-item .nav-link {
    color: #000;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    gap: 0;
    transition: none !important;
    padding: 0;
    width: 100%;
    min-height: 50px;
}

#sidebar ul .nav-item .nav-link .icon {
    min-width: 50px;
    text-align: center;
}

#sidebar ul .nav-item .nav-link .label {
    padding: 0 0 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    width: 100%;
    background-size: auto 67px;
    background-image: url("../images/bg_menu--lL_7xJ.png");
    background-repeat: no-repeat;
    background-position: -200px center;
    transition: background-position 0.4s ease;

}

#sidebar ul .nav-item.active .nav-link {

}

#sidebar ul .nav-item.active a .label, #sidebar ul .nav-item a:hover .label {
    background-position: left center;
    transition: background-position 0.2s ease;
    color: #fff;
}

#sidebar ul .nav-item.active i, #sidebar ul .nav-item a:hover i {
    color: #1BA294;
}

#sidebar .nav-sub-item-top {
    width: 100%;
}

.sidebar-footer {
    position: relative;
    background-color: #1ba294;
    padding: 20px 0 20px 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M24.9746 25C24.8421 21.9559 24.179 18.9552 23.0107 16.1348C21.6973 12.9638 19.7717 10.0823 17.3447 7.65527C14.9177 5.22829 12.0362 3.30273 8.86524 1.98926C6.04478 0.821039 3.04411 0.158848 2.18326e-06 0.026365L2.18557e-06 -2.18557e-06L25 0L25 25L24.9746 25Z' fill='%23FAFAFA'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 100% 0;
    min-width: 85px;
}

.sidebar-footer::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 50px;
    background: #fafafa;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M0.0253906 0C0.157872 3.04412 0.821031 6.04476 1.98926 8.86523C3.30273 12.0362 5.22829 14.9177 7.65527 17.3447C10.0823 19.7717 12.9638 21.6973 16.1348 23.0107C18.9552 24.179 21.9559 24.8412 25 24.9736V25L0 25L0 0L0.0253906 0Z' fill='%231BA294'/%3E%3C/svg%3E");
}
#toggle_menu {
    display: none;
}

.sf-toolbar {
    position: absolute;
}

/* Contact Information Section */
.contact-info-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-info-title {
    color: var(--color1, #1BA294);
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-info-label {
    color: var(--color1, #1BA294);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-value {
    color: var(--color4, #000);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.contact-info-value a {
    color: var(--color1, #1BA294);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-value a:hover {
    color: #159b8e;
    text-decoration: underline;
}

/* Header styles */
#header h2 {
    margin: 0;
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 38px;
    color: #1BA294;
}

/* main content styles */
#main-wrapper {
    width: calc(100% - 266px);
    padding-left: 266px;
}

#main-content {
    padding: 46px;
}
#main-content > main {
    justify-content: space-between;
}

/* Table styles */
#datalist .loader {
    border: 1px solid #bbb;
    align-items: center;
    border-radius: 20px;
    margin-bottom: 15px;
}

.card.card-table {
    box-shadow: none !important;
}

.table-responsive {

}

.table-responsive.no-overflow {
    overflow: visible;
}

.table-responsive.no-overflow > table {
    overflow: visible !important;
}

.table {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

table th {
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 150% */
    background-color: #FCFCFD !important;
    position: relative;
    padding-right: 24px !important;
    vertical-align: top;
}

.table tbody td {
    /* display: flex; */
    /* height: 64px; */
    padding: 12px 24px 12px 6px;
    align-items: center;
    align-self: stretch;
}

table th i {
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 16px;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: rgba(0, 0, 0, 0.02);
}

/* Dropdown styles */

.dropdown-actions {
    min-width: 220px;
    inset: 0px 0px auto auto;
    margin: 0px;
    transform: translate(-4px, 42px);
    padding: var(--py-2, 8px) var(--px-2, 8px);
    align-items: center;
    gap: var(--gap-2, 8px);
    align-self: stretch;
    flex-direction: column;
    align-content: start;
}

.dropdown-actions li a, .dropdown-actions li button {
    display: flex;
    padding: 8px !important;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

/* Card styles */
.card {
    border-radius: 15px !important;
    background: #FFF;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.15) !important;
}

.card-title {
    color: var(--color4, #000) !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 128.571% */
}

.card-subtitle {
    color: var(--color4, #000);
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 46px; /* 127.778% */
    letter-spacing: -1px;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 2px 8px 2px 6px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 16px;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    background-color: #2B2F38;
}

.badge.badge-status-suspendu {
    background: rgba(242, 34, 34, 0.10);
    color: #F22222;
}

.badge.badge-status-suspendu svg {
    fill: #F22222;
}

.badge.badge-status-desactive {
    background: #6C778B;
    color: #FFF;
}

.badge.badge-status-desactive svg {
    fill: #FFF;
}

.badge.badge-status-actif, .badge.badge-status-active {
    color: #037847;
    background-color: #ECFDF3;
}

.badge.badge-status-actif svg, .badge.badge-status-active svg {
    fill: #14BA6D;
}

.badge.badge-admin-gie {
    background: #3E7DE6;
    color: #fff;
}

.badge.badge-admin-entreprise {
    background: #B65905;
    color: #fff;
}

.badge.badge-utilisateur-entreprise {
    background: #F69035;
    color: #fff;
}

.badge.badge-utilisateur-gie {
    background-color: #373737;
}

.badge.badge-redacteur-gie {
    background-color: #d300ff;
}

.badge.role_user {
    background: #14BA6D;
    color: #fff;
}

.badge.role_rh {
    background: #14BA6D;
    color: #fff;
}

.badge_roles .badge {
    margin-inline-start: 0;
    padding: 2px 8px;
}

/* Pagination styles */
.active > .page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #1ba294;
    border-color: #1ba294;
}

.page-link {
    color: #000;
}

.pagination nav {
    margin: 0 0 0 auto;
}

/* Filter styles */
#filters {
    margin-bottom: 40px;
}

#filters form > * {
    display: flex;
    flex-direction: revert;
    gap: 11px;
}

#filters .input-group input {
    width: 366px;
}

#filters .form-select {
    background-color: #D8D8D8;
    border-color: #D8D8D8 !important;
    color: #000 !important;
    background-size: 24px;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_12_15455)'%3E%3Cpath d='M12 15L7.75702 10.757L9.17202 9.34302L12 12.172L14.828 9.34302L16.243 10.757L12 15Z' fill='%231BA294'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_12_15455'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

#filters .filter-title {
    color: #1BA294;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
}

#filters form > * > * {
    position: relative;
    margin-bottom: 0 !important;
}

#filters form .form-label {
    position: absolute;
    left: 22px;
    top: 13px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.112px;
    pointer-events: none;
    z-index: 10;
}

#filters .input-group-text {
    background-size: 24px;
    padding: 0 0 0 18px;
    --bs-input-group-text-bg-img: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_12_15455)'%3E%3Cpath d='M12 15L7.75702 10.757L9.17202 9.34302L12 12.172L14.828 9.34302L16.243 10.757L12 15Z' fill='%231BA294'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_12_15455'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

#filters .filter-select-sort .form-label {
    left: 43px !important;
}

#filters .filter-select-sort select {
    padding: 0 16px 0 43px;
    background-position: left .75rem center;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12H18M3 6H21M9 18H15' stroke='%231BA294' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* content styles */
.title-green {
    color: var(--color1, #1BA294);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: -0.112px;
}

h6.text-primary {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
    letter-spacing: -0.112px;
}

/* Alert styles */
.alert {
    border-radius: 0;
    margin-bottom: 3px;
}

.alert .btn-close {
    opacity: 1 !important;
    --bs-btn-close-color: #000;
    --bs-btn-close-bg: url("data:image/svg+xml,%3Csvg width='21' height='22' viewBox='0 0 21 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5142 0.866211C4.66826 0.866211 0.0214844 5.51621 0.0214844 11.3662C0.0214844 17.2162 4.66826 21.8662 10.5142 21.8662C16.3601 21.8662 21.0069 17.2162 21.0069 11.3662C21.0069 5.51621 16.3601 0.866211 10.5142 0.866211ZM10.5142 20.3662C5.56763 20.3662 1.52044 16.3162 1.52044 11.3662C1.52044 6.41621 5.56763 2.36621 10.5142 2.36621C15.4608 2.36621 19.5079 6.41621 19.5079 11.3662C19.5079 16.3162 15.4608 20.3662 10.5142 20.3662Z' fill='white'/%3E%3Cpath d='M14.5611 16.6162L10.5139 12.5662L6.46675 16.6162L5.26758 15.4162L9.31477 11.3662L5.26758 7.31621L6.46675 6.11621L10.5139 10.1662L14.5611 6.11621L15.7603 7.31621L11.7131 11.3662L15.7603 15.4162L14.5611 16.6162Z' fill='white'/%3E%3C/svg%3E");
}

.alert .btn-close, .alert .btn-close:focus {
    background-size: inherit;
    box-shadow: none;
    outline: none;
}

.alert.alert-success {
    color: #fff;
    background-color: #1ba294;
    border-color: #1ba294;
}

.alert.alert-error {
    background: #FBB755;
    font-weight: 700;
}

/* Modal styles */
.modal-content {
    border-radius: 25px;
    padding-bottom: 20px;
}

.modal-title {
    margin-bottom: 0;
    color: var(--color1, #1BA294);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.modal .btn-close {
    --bs-btn-close-color: #000;
    --bs-btn-close-bg: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='12' fill='black'/%3E%3Cpath d='M7.5 7.5L12 12M12 12L7.5 16.5M12 12L16.5 16.5M12 12L16.5 7.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.modal .btn-close, .modal .btn-close:hover {
    opacity: 1;
    border-radius: 100%;
    padding: 0 !important;
    background-size: 24px;
    width: 24px;
    height: 24px;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 620px;
    }
}

/*login styles */
.full-page footer a {
    color: var(--color4, #000);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

/* Frontend styles */
.logo_container {
    margin-top: 20px;
    text-align: center;
}

.logo_container img {
    max-width: 237px;
}
.page_right_container form {
    margin: 80px auto 0;
}
.login form {
    max-width: 440px;
    margin: 80px auto 0;
}

.register form {
    max-width: 462px;
    margin: 80px auto 0;
}


.border-dashed {
    border: 2px dashed #e2e8f0;
}

.document-dropzone {
    cursor: pointer;
    transition: background-color 0.2s;
}

.document-dropzone:hover {
    background-color: #f8fafc;
}

.input-group {
    border: 1px solid #f4f4f4 !important;
    border-radius: 40px;
    overflow: hidden;
}

.input-group.is-invalid {
    border: 1px solid var(--bs-form-invalid-border-color) !important;
}

.input-group.is-invalid .form-control.is-invalid {
    border: none;
}

.bg-info {
    background-color: rgb(255, 255, 255) !important;
    color: #1ba294;
}

.phone-type label {
    display: block;
}

.phone-type .iti {
    display: block;
}

.password-criteria {
    font-size: 14px;
}

/* pubications */
.editTitle {
    border-radius: 30px;
    background: #ECFDF3;
    display: flex;
    min-width: 273px;
    padding: 0 10px;
    align-items: center;
    justify-content: space-between;
}

.editTitle .inputTitle {
    width: calc(100%);
}

.editTitle .inputTitle > * {
    margin: 0 !important;
}

.editTitle .form-control {
    background-color: transparent;
    border-color: transparent !important;
    padding-left: 0;
}

.badge.badge-category {
    padding: 6px 12px;
}

.badge.badge-category-veille {
    background: #B878BE;
}

.badge.badge-category-veille.qsse {
    background: #B878BE;
}

.badge.badge-category.badge-category-qsse {
    background: #B878BE;
}

.badge.badge-category-evenements {
    background-color: #9747FF;
}

.badge.badge-category-veille.rh {
    background-color: #14BA6D;
}

.badge.badge-category.badge-category-ressources.humaines {
    background-color: #14BA6D;
}

.badge.badge-category-pv.d\\agence, .badge.badge-category.badge-category-pv.d\'agence {
    background-color: #5193FF;
}

.badge.badge-category.badge-category-procés.verbaux {
    background-color: #5193FF;
}

/* Styles pour les selects de statut */
.status-select {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.status-select:focus {
    border-color: #1BA294;
    box-shadow: 0 0 0 0.2rem rgba(27, 162, 148, 0.25);
}

.status-select:disabled {
    background-color: #e9ecef;
    opacity: 0.65;
}


/* Styles pour les valeurs sélectionnées dans le select */
.status-select[data-value="brouillon"] {
    background-color: #DD00041A;
    border-color: #DD00041A !important;
    color: #364254 !important;
}

.status-select[data-value="publie"] {
    background-color: #ECFDF3;
    border-color: #ECFDF3 !important;
    color: #037847 !important;
}

.status-select[data-value="archive"] {
    background-color: #f1f1f1;
    border-color: #f1f1f1 !important;
}

/* Animation de chargement */
.status-select.updating {
    opacity: 0.6;
    pointer-events: none;
}

.publicationMenu ul li {
    width: 20%;
    padding: 16px;
}

.publicationMenu a {
    display: flex;
    height: 58px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sds-size-space-200);
    flex: 1 0 0;
    border-radius: 10px;
    background: #C0C1C2;
    text-align: center;
    padding: 8px;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}

.publicationMenu a:hover, .publicationMenu a:focus, .publicationMenu li.active a {
    border-radius: 10px;
    border: 1px solid #1BA294;
    background: #FFF;
    transition: all 0.2s ease-in-out;
}

/* Veille Show Page Styles */
.publication-show-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 100px;
}

.publication-content {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.publication-header {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.publication-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.publication-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1em;
    letter-spacing: -1.25%;
    color: #000000;
    margin: 0;
}

.publication-category-badge {
    background-color: #1BA294;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5em;
    padding: 14px 37px;
    border-radius: 30px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 244px;
    height: 48px;
}

.publication-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
}



.publication-text-content {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7857142857142858em;
    text-align: justify;
    color: #000000;
    padding: 16px;
    background-color: #fff;
    border-radius: 15px;
    display: block;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    align-self: stretch;
}
.publication-text-content h2, .publication-text-content h3, .publication-text-content h4 {
    color: var(--color1, #1BA294);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 15px;
}
.publication-text-content h2 {
    font-size: 28px;
    line-height: 32px; /* 125% */
}

.publication-text-content h3 {
    font-size: 22px;
    line-height: 24px; /* 125% */

}

.publication-text-content h4, .publication-text-content h5, .publication-text-content h6 {
}

.publication-text-content p {
    color: var(--color4, #000);
    text-align: justify;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
    margin-bottom: 10px;
}


.publication-metadata {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.metadata-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metadata-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
}

.metadata-value {
    font-size: 16px;
    color: #000000;
}

.publication-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .publication-show-container {
        padding: 32px 50px;
    }

    .publication-title {
        font-size: 32px;
    }

    .publication-category-badge {
        font-size: 14px;
        padding: 12px 24px;
        min-width: 200px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .publication-show-container {
        padding: 24px 20px;

    }

    .publication-content {
        gap: 15px;
    }

    .publication-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .publication-title {
        font-size: 28px;
    }

    .publication-category-badge {
        align-self: flex-start;
        min-width: auto;
        padding: 10px 20px;
    }

    .document-content {
        padding: 24px;
    }

    .document-title {
        font-size: 20px;
    }

    .metadata-grid {
        grid-template-columns: 1fr;
    }

    .publication-actions {
        flex-direction: column;
        align-items: center;
    }

    .download-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Veille Show Page Styles */
.publication-show-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 100px;
    min-height: 570px;
}

.publication-content {
    display: flex;
    flex-direction: column;
    gap: 52px;
}


.publication-header {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.publication-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.publication-title {
    margin: 0;
    color: var(--color1, #1BA294);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "DM Sans", sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.5px;
    text-align: left;
}

.publication-category-badge {
    background-color: #1BA294;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5em;
    padding: 14px 37px;
    border-radius: 30px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 244px;
    height: 48px;
}

.publication-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0;
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
}

.publication-main-image {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
    border-radius: 10px;
}


.publication-metadata {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.metadata-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metadata-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
}

.metadata-value {
    font-size: 16px;
    color: #000000;
}

.publication-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .publication-show-container {
        padding: 32px 50px;
    }

    .publication-title {
        font-size: 32px;
    }

    .publication-category-badge {
        font-size: 14px;
        padding: 12px 24px;
        min-width: 200px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .publication-show-container {
        padding: 24px 20px;
    }

    .publication-content {
        gap: 15px;
    }
    .publication-text-content {
        padding: 0;
    }

    .publication-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .publication-title {
        font-size: 28px;
    }

    .publication-category-badge {
        align-self: flex-start;
        min-width: auto;
        padding: 10px 20px;
    }

    .document-content {
        padding: 24px;
    }

    .document-title {
        font-size: 20px;
    }

    .metadata-grid {
        grid-template-columns: 1fr;
    }

    .publication-actions {
        flex-direction: column;
        align-items: center;
    }

    .download-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .publication-show-container {
        padding: 16px 12px;
    }

    .publication-title {
        font-size: 24px;
    }

    .document-content {
        padding: 16px;
    }

    .publication-category-badge {
        font-size: 12px;
        padding: 8px 16px;
        height: 36px;
    }
}

/* Avantage Header Styles */
.cat_header_content {
    display: flex;
    width: 100%;
    padding: 16px;
    flex-direction: column;
    align-items: center;
    gap: var(--sds-size-space-400);
    border-radius: 15px;
    background: #F4F4F4;
}

.cat_header_content > div , .cat_header_content > ul{
    display: flex;
    width: 100%;
    text-align: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 0 !important;
}
.cat_header_content .nav-item {
    width: calc(48%);
    justify-content: center;
    display: flex;
}
.cat_header_content .nav-item .nav-link {
    padding: 14px 24px;
    border-radius: 15px;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2rem;
    background: #C0C1C2;
    border: 1px solid #C0C1C2;
    color: #000;
    margin: 0;
    align-content: center;
    height: 100%;
    min-height: 68px;
    align-items: center;
    width: 100%;
}
.cat_header_content .nav-item .nav-link.active {
    border: 1px solid #1BA294;
    background: #FFF;
    color: #1BA294;
}
.cat_header_content .cat_header_link {
    display: flex;
    width: auto;
    padding: 14px 24px;
    border-radius: 15px;
    /* text-align: center; */
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2rem;
    background: #C0C1C2;
    border: 1px solid #C0C1C2;
    color: #000;
    max-width: 210px;
    margin: 5px;
    align-content: center;
    height: 100%;
    min-height: 68px;
    align-items: center;
}

.cat_header_content .cat_header_link.active {
    border: 1px solid #1BA294;
    background: #FFF;
    color: #1BA294;
}
.cat_header_content .cat_header_link span {
    margin: auto;
}
.cat_header_content.veille-cat .cat_header_link {
   min-width: 200px;
}
.cat_header_content.avantage-cat > div, .cat_header_content.avantage-cat > ul {
    flex-wrap: nowrap;
}
.cat_header_content.avantage-cat .cat_header_link {
    width: 100%;
    max-width: inherit;
}
/* DropZone */

.dropzone-container {
    padding: 10px !important;
    text-align: center;
    cursor: pointer;
    transition: border 0.2s ease;
    position: relative;
    border-radius: 15px;
    border: 1px solid #F5F5F5;
    background: #ECFDF3;
}

.dropzone-container.has-file {
    border: 1px solid #EE6E62;
    background: #FFF;
}

.dropzone-container:hover {
    border-color: #0ca678;
}

.dropzone-container .dropzone-placeholder > p {
    text-align: center;
    margin: 0;
    font-size: 16px;
    color: #111;
}

.dropzone-container .dropzone-placeholder small {
    display: block;
    color: #666;
}

.dropzone-container .icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 6px solid #FFF;
    background: #1BA294;
}

.dropzone-preview-button {
    color: rgb(221, 0, 4) !important;
    font-size: 18px !important;
    top: 34px !important;
    right: 15px !important;
}

.dropzone-preview-button::before {
    display: none;
}

.dropzone-preview-image {
    display: flex !important;
    background-color: #1ba294;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    align-content: center;
    align-items: center;
    background-size: cover !important;

}

.dropzone-wrapper .file-info {
    flex: 1;
}

.dropzone-wrapper .file-info div {
    color: var(--color4, #000);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
}

.dropzone-preview-image > i {
    margin: 0 auto;
}

.dropzone-preview-size {
    color: #667085 !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 20px !important;
}

/* attachment  upload */
.attachment-row {
    display: flex;
    gap: 10px;
}

.attachment-row .attachment-image-content {
    width: 100px;
    position: relative;
    margin: auto;
}

.attachment-row .attachment-image-content .image {
    border-radius: 50%;
    border: 3px solid #eaeaea;
    background-color: #EE6E62;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
}

.attachment-row .attachment-image-input {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: #1BA294;
    width: 32px;
    height: 32px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
    color: #fff;
    border: 1px solid #1ba294;
}

.attachment-row .attachment-image-input input[type="file"] {
    position: absolute;
    transform: scale(2);
    opacity: 0;
}

.attachment-row .attachment-file-content {
    width: calc(100% - 150px);
}

/* attachment  upload end */
/* Add to your CSS file */
.file-input-wrapper {
    position: relative;
}

.upload-area {
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-preview {

}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 0.375rem;
}

.file-preview .file-icon {
    font-size: 2rem;
    color: #fff;
}

.file-preview .file-info {
    margin-left: 1rem;
}

.file-preview .file-name {
    font-weight: 500;
    display: block;
}

.file-preview .file-size {
    font-size: 0.875rem;
    color: #6c757d;
}

.drag-over {
    border-color: #0d6efd !important;
    background-color: #e7f1ff !important;
}

.has-error {
    border-color: #dc3545 !important;
}

.file-input-error {
    font-size: 0.875rem;
}

/* Home Veille Section Styles */
.home-publication-section {
    padding: 0 15px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.home-greeting {
    margin-bottom: 40px;
}

.home-greeting h1 {
    color: #1BA294;
    text-align: left;
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    margin: 0 0 10px 0;
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
}

.home-date {
    color: #000000;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.home-date .date-icon {
    width: 17px;
    height: 17px;
}

.publication-cards-container {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.publication-card {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    border-radius: 15px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.publication-card-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.publication-card-category {
    width: 100%;
    height: 150px;
    border-radius: 15px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px 8px 15px 15px;
    gap: 8px;
    background-color: #cdcccc;
}

.publication-card-category.rh {
    background-image: url('/assets/images/veille-rh-bg.jpg');
}

.publication-card-category.qsse {
    background-image: url('/assets/images/veille-qsse-bg.jpg');
}

.publication-cards-container .publication-category-badge {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(50px);
    border-radius: 5px;
    padding: 12px;
    width: fit-content;
    min-width: 80px;
}

.publication-cards-container .publication-category-badge span {
    color: #000000;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-transform: capitalize;
}

.publication-card-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 11px 15px;
    width: 100%;
    min-height: 207px;
    justify-content: space-between;
}

.publication-card-title {
    color: #000000;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    margin: 0;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.publication-card-description {
    color: #000000;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    width: 100%;
    text-align: left;
    margin: 0;
    /* Truncate text after 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 65px;
}
.publication-document-section.cta .document-info {
    gap: 40px;
}
.publication-document-section.cta .download-button {
    padding: 12px 25px;
}
.publication-document-section.cta .document-description {
    color: var(--color4, #000);
    font-family: var(--sds-typography-body-font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}
.publication-card-button {
    background: #1BA294;
    color: #FFFFFF;
    border: none;
    border-radius: 30px;
    padding: 14px 37px;
    width: 100%;
    height: 48px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;


}

.publication-card-button:hover {
    background: #159b8e;
    color: #FFFFFF;
    text-decoration: none;
}
/* avantages section adjustments */
.avantage-cards-container {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.publication-card-content.avantage-card-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.avantage-cards-container .publication-card-button{
    width: 136px;
}
.avantage-cards-container  .publication-card-title {
    display: flex;
    align-items: center;
}
/* event cards adjustments */
.publication-card.card-large {
    flex-direction: row;
}
.publication-card.card-large .publication-card-title {
    color: var(--color1, #1BA294);
    font-family: "DM Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}
.publication-cards-container.full-container {
    grid-template-columns: repeat(1, 1fr);
}


.publication-document-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.document-content {
    display: flex;
    flex-direction: row;
    gap: 42px;
    padding: 0;
    width: 100%;
    align-content: center;
    align-items: center;
}
.document-image {
    width: 100%;
    height: 228px;
    max-width: 50%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.document-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1em;
    color: #1BA294;
    margin: 0;
}

.document-description {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.14em;
    color: #000000;
    margin: 0;
}

.document-actions {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
}

.download-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: #1BA294;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5em;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    min-width: 200px;
}

.download-button:hover {
    background-color: #11A597;
    color: #FFFFFF;
    text-decoration: none;
}

.download-icon {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
}
.main-footer {
    display: flex;
    height: 96px;
    padding: 0 32px 0 28px;
    align-items: center;
    gap: 342px;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 15px;
    background: #EAECF0;
    justify-content: space-between;
}
.main-footer-left {
    display: flex;
    align-items: center;
    gap: 24px;
}
.main-footer a{
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}
.main-footer-right {
    color: var(--color4, #000);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
[data-controller="filter"] {
    min-height: 500px;
}
.form-check-label.required::before {
    content: "*";
    color: #000;
    margin-right: 1px;
    font-size: 14px;
    vertical-align: top;
}

#compte_user_firstName, #profile_info_form_firstName, #entreprise_form_owner_user_firstName {
    text-transform: uppercase;
}
#compte_user_lastName , #profile_info_form_lastName , #entreprise_form_owner_user_lastName{
    text-transform: capitalize;
}
.iti {
    position: relative;
    display: block;
    width: 100%;
}
div[data-controller="phone"] label {
    display: block;
}
@media (max-width: 1200px) {
    #main-wrapper {
        width: 100%;
        padding-left: 0;
    }
    #sidebar:not(.sidebar-open) {
        min-width: 10px;
        width: 50px;
        overflow: hidden;
    }
    #sidebar:not(.sidebar-open) .sidebar-header {
        opacity: 0;
    }
    #main-content {
        padding: 40px 12px 15px 60px;
    }
    #toggle_menu {
        width: 50px;
        text-align: center;
        font-size: 20px;
        color: #fff;
        position: absolute;
        left: 0;
        top: 0;
        cursor: pointer;
        z-index: 1;
        display: block;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .publication-cards-container {
        flex-direction: column;
    }

    .publication-card-description {
        width: 100%;
    }

    .publication-card-button {
        width: 100%;
    }

    .home-publication-section {
        padding: 20px;
    }
    .logo_container {
        margin-top: 20px !important;
    }
    .login form {
        margin: 20px auto 0;
    }
    footer {
        flex-direction: column !important;
        display: block;
        height: auto;
        padding: 15px !important;
    }
    footer span{
        display: none;
    }
    .main-footer-left {
        gap: 5px;
        flex-direction: column;
    }
    h1 {
        font-size: 28px;
        line-height: 32px;
    }
    .px-5 {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
    .publication-card.card-large {
        flex-direction: column;
    }
    .publication-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    #header {
        flex-direction: column;
        align-items: start !important;
    }
    #formation_form > * {
        align-content: start;
        align-items: start !important;
        justify-content: flex-start !important;
    }
    .filter-content {
        flex-direction: column !important;
        align-items: start !important;
    }
    .publication-cat {
        flex-direction: column;
    }
    .publication-document-section.cta .document-info {
        gap: 15px;
    }
    .publication-card-content {
        min-height: auto;
    }
    .publication-card-title{
        min-height: auto;
    }
    .publication-card-description {
        min-height: auto;
        padding-bottom: 15px;
    }
    .cat_header_content.avantage-cat > div, .cat_header_content.avantage-cat > ul {
        flex-wrap: nowrap;
        flex-direction: column;
    }
    .document-info {
        max-width: 100%;
    }
    .document-content {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-content: center;
        align-items: center;
    }
    .sidebar-header {
        padding: 0;
    }
    .sidebar-header img {
        max-width: 99px !important;
    }
    .avantage-cards-container {
        display: block;
    }
    .publication-card {
        margin: 15px 0;
    }
    .publication-text-content h2 {
        font-size: 22px;
        line-height: 25px;
    }

}
@media (max-width: 480px) {
    .publication-cards-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .publication-card-content {
        flex-direction: column;
        padding: 0;
        min-height: auto;
    }
    .publication-card-content.avantage-card-content {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    .document-content {
        flex-direction: column;
        gap: 5px;
    }
    .document-image {
        max-width: 100%;
        height: auto;
        min-height: 150px;
    }
    .document-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .download-button {
        width: 100%;
        justify-content: center;
    }
    .avantage-cards-container {
        grid-template-columns: repeat(1, 1fr);
    }
    #filters .input-group input {
        width: calc(100% - 43px);
    }
    .file-render-wrapper .file-preview {
        flex-direction: column !important;
    }
}