/* BACKGROUND */
.authentication-bg {
    background-image: url(/images/login-img.webp);
}

/* PROGRESS BAR */
#progressbar {
    height: 5px;
    width: 100%;
    animation: progressbar;
    animation-duration: 5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-play-state: paused;
    animation-timing-function: linear;
}

@keyframes progressbar {
    0% {
        width: 100%
    }

    100% {
        width: 0%
    }
}

/* OPTION INPUT */
/* Input */
.select2-container--default .select2-selection--multiple {
    padding: .27rem .75rem !important;
    font-size: .925rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #545965 !important;
    background-color: #fff !important;
    border: 1px solid #e2e5e8 !important;
    border-radius: 0.75rem !important;
    appearance: none !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
    min-height: 39.22px !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin: 0 !important;
}

/* Quand il est focus */
.select2-container--default.select2-container--focus .select2-selection--multiple {
    color: #545965 !important;
    background-color: #fff !important;
    border-color: #cbced1 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Erreur */
.select2-hidden-accessible.is-invalid+.select2-container--default .select2-selection--multiple {
    border-color: #ed5555 !important;
    padding-right: calc(1.5em + .94rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ed5555'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ed5555' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(.375em + .235rem) center !important;
    background-size: calc(.75em + .47rem) calc(.75em + .47rem) !important;
}

/* Liste d'options */
.select2-selection__rendered {
    margin-right: .5rem !important;
}

.tags-input ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Options */
.tags-input li {
    display: inline-block;
    background-color: #e9e9e9;
    color: #333;
    border-radius: 20px;
    padding: 5px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Bouton de suppression d'option */
.tags-input .delete-button {
    background-color: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    margin-left: 5px;
}

/* PAGINATION */
.page-item .page-link {
    border-radius: 0 !important;
}

/* CARD */
.card {
    --bs-card-border-color: #e0e0e0;
}

/* TABLE */
.table {
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
}

.table-bordered {
    border: 1px solid #e9e9e9;
}

/* MESSAGE D'ERREUR */
.invalid-feedback {
    display: block;
}

/* SCROLLBAR CUSTOM */
/* Général */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

/* Fond */
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

/* Barre */
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #c2c2c2;
    border-radius: 5px;
}

/* accordeon */
.accordion {
    --bs-accordion-active-color: #000000;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23545965'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ... après un élément */
.more::after {
    content: '...';
}