@font-face {
    font-family: "Inter Tight";
    src: url("../fonts/InterTight-VariableFont_wght.ttf")
        format("truetype-variations");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}
@font-face {
    font-family: "katsskin";
    src: url("../fonts/katsskin.ttf") format("truetype-variations");
}

* {
    font-family: "Inter Tight", serif;
}

.pinCodeProtected {
    font-family: "katsskin";
}

.card-header > .card-tools {
    width: 350px;
}

.card-header > .card-tools .input-group {
    width: 100%;
}

.color-bold-primary {
    color: #007bff;
    font-weight: 600;
}

.color-black {
    color: #000;
}

.statutHandicap {
    background-color: #fff2f2 !important;
}

label.error {
    color: #c10000;
    font-size: 0.6em;
    line-height: 18px;
    padding: 5px 0 0;
}

#bureauxTable {
    font-size: 14px;
}

/* Superposition spécifique pour la deuxième modale */
.modal-backdrop-confirmation {
    z-index: 1060 !important;
    /* Plus haut que la modale originale */
}

#deleteConfirmationModal {
    z-index: 1061;
    /* Superposition de la deuxième modale */
}

/* Réduit la visibilité de la première modale pour marquer la superposition */
.modal.fade.in {
    z-index: 1055 !important;
    opacity: 0.8;
    /* Effet de réduction d'opacité */
}

.color-display {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* style pour approcher le look tailwind UI */
.card {
    border-radius: 0.75rem;
}

.card-header {
    border-bottom: none;
}

.dropdown-toggle-triple-point::after {
    display: none;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-toggle-triple-point:hover {
    background-color: #2125291c;
}

.dropdown-menu {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.card-footer {
    background: none !important;
}

.content-wrapper {
    background-color: #fafafa;
    border-left: 1px solid #efefef;
    border-top-left-radius: 1rem;
}

.custom-form-control {
    background: #007bff;
    color: #fff;
}

.custom-form-control::placeholder {
    color: #fff;
    opacity: 1;
    /* Firefox */
}

.custom-form-control:active {
    background: #007bff;
    color: #fff;
}

.custom-form-control:hover {
    background: #007bff;
    color: #fff;
}

.input-group-text {
    border-top-left-radius: 0.25px;
    border-bottom-left-radius: 0.25px;
}

.output-group-text {
    border-top-right-radius: 0.25px;
    border-bottom-right-radius: 0.25px;
}

.label-tailwind {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.text-tailwind {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.title-tailwind {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.75rem;
}

.subtitle-tailwind {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.75rem;
}

.form-control-tailwind {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.nav-link {
    font-weight: 300 !important;
}

input:hover {
    border-color: #0000004d;
}

.modal-content {
    padding: 1rem;
    background: #fafafa;
}

.page-link {
    cursor: pointer;
    color: black;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

.page-link:hover {
    z-index: 2;
    color: #000000;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.main-header {
    border-bottom: 0px;
}

[class*="sidebar-light"] .brand-link {
    border-bottom: 0px;
}

.table thead th {
    border: none !important;
}

.card-body.bg-gradient-light {
    border-bottom-right-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
}

.main-address {
    background-color: red;
    /* Fond rouge */
    color: white;
    /* Texte blanc pour la lisibilité */
}

select {
    background-position-x: 99%;
}

.dark-mode .dropdown-toggle-triple-point {
    color: #fff;
}

#viewFolderInfos {
    background: #f8f9fa linear-gradient(180deg, #f9fafb, #f8f9fa) repeat-x !important;
    color: #1f2d3d;
}

.dark-mode #viewFolderInfos {
    background: #343a40 !important;
    color: #fff;
}

.dark-mode .content-wrapper {
    border-left: 1px solid #383838;
}

[class*="sidebar-dark"] .brand-link {
    border-bottom: none;
}

.dark-mode {
    background-color: #343a40 !important;
    color: #fff;
}

a {
    cursor: pointer;
}

.errorMessage {
    text-align: right;
    font-style: italic;
    font-size: 12px;
    color: var(--danger);
}
