@charset "UTF-8";
/*
Template Name: Hyper - Responsive Bootstrap 5 Admin Dashboard addon
Version: 1.1.0
Author: WeFeatIt
Email: info@wefeatit.com
File: Main Css File - addon
*/

.container {
    width: 100%; /* La largeur du conteneur est de 100% de la largeur de l'écran */
    display: flex; /* Utilise le modèle de boîte flexible pour aligner les divs horizontalement */
}

/* Style des divs internes */
.half-width {
    width: 50%; /* Chaque div occupe 50% de la largeur du conteneur */

}


ul li.lev-0 {
    padding-left: 20%;
    list-style: none;
    font-weight: bold; /* Met en gras */
    text-transform: uppercase; /* Met en majuscules */
}

ul li.lev-1 {
    padding-left: 2%;
    list-style: none;
    font-weight: bold; /* Met en gras */

}

ul li.lev-2 {
    padding-left: 10%;
    list-style: none;
}

ul li.lev-3 {
    padding-left: 15%;
    list-style: none;
}

.no-border {
    border: 0 !important;
    box-shadow: none;
}

ul.no-bullets {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
}

.btn-sm-custom {
    padding: 0.28rem 0.8rem;
    font-size: 0.975rem;
    border-radius: 0.15rem;
}

.icons-list-custom div {
    cursor: pointer;
    line-height: 45px;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
}

.icons-list-custom div p {
    margin-bottom: 0;
    line-height: inherit;
}

.icons-list-custom i {
    text-align: center;
    vertical-align: middle;
    font-size: 22px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-left: 12px;
    border-radius: 3px;
    display: inline-block;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.icons-list-custom .col-md-4 {
    border-radius: 3px;
    -moz-border-radius: 3px;
    background-clip: padding-box;
    margin-bottom: 10px;
}

.icons-list-custom .col-md-4:hover,
.icons-list-custom .col-md-4:hover i {
    color: #3688fc;
}

.mb-0-custom {
    padding: 0.15rem;
}

table.alt {
    border-collapse: separate;
    width: 100%;
}

table.alt td {
    padding: 0.75em 0.75em;
}

table.alt tbody tr td {
    border: solid 1px #c9c9c9;
    border-left-width: 0;
    border-top-width: 0;
}

table.alt tbody tr td:first-child {
    border-left-width: 1px;
}

table.alt tbody tr:first-child td {
    border-top-width: 1px;
}

table.alt thead {
    border-bottom: 0;
}

table.alt tfoot {
    border-top: 0;
}

table.alt th {
    width: 14.2%;
}

td.Saturday {
    background: #fafbfe;
    color: #c9c9c9;
}

td.Sunday {
    background: #fafbfe;
    color: #c9c9c9;
}

#tdEvenClickable {
    background-color: #dddddd;
    cursor: pointer;
}

#tdRemClickable {
    background-color: #7FFF00;
    cursor: pointer;
}

#tdRemEmptyClickable {
    cursor: pointer;
}

@media print {
    * {

        background-color: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;

    }

    body {
        font-size: 10px !important;
    }
}

.highlight-dropzone {
    background-color: #f0f8ff; /* Bleu clair */
    border: 2px dashed #00f; /* Bordure bleue en pointillés */
}

.draggable-row {
    cursor: grab;
}

.draggable-row:active {
    cursor: grabbing;
}

.drop-buttons-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.drop-button {
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    background-color: #4CAF50; /* Couleur par défaut pour Edit */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.drop-button#deleteDropZone {
    background-color: #FF6F61; /* Rouge pour Delete */
}

.drop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.drop-button:active {
    transform: translateY(1px);
}

.drop-button.highlight {
    background-color: #FFD700; /* Jaune pour indiquer que l'élément est prêt à être déposé */
}

.event-container {
    color: white;
}

.event-performance {
    margin-left: 10px;
}

.hidden {
    display: none !important;
}

#btn-group-accounting-period {
    vertical-align: bottom !important;
}

.timeline-box.timeline-box-complete {
    background-color: #dfffe0; /* Vert pâle */
    border-left: 4px solid #28a745; /* Vert 'success' Bootstrap */
    position: relative;
}

/* Optionnel : Badge "Complété" dans le coin supérieur droit */
.timeline-box.timeline-box-complete::after {
    content: "✔ Complétée";
    position: absolute;
    top: 8px;
    right: 12px;
    background-color: #28a745;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
}


