.sidebar {
    min-height: 100vh;

    padding: 1rem;
    padding-right: 0 !important;

}
.collapse-toggle,
.collapse-hide {
    display: none;
}
@media (max-width: 767.98px) {
    .sidebar {
        position: absolute;
        min-height: auto;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        z-index: 1000;
        display: none;
        background-color: white;
    }
    .sidebar.show {
        display: block;
    }
    .collapse-toggle,
    .collapse-hide {
        display: block;
    }
}

.status {
    padding: 2px;
    border-radius: 5px;
    color: #fff;
    text-wrap: nowrap;
    text-align: center;
}
.Debutant {
    background-color: #fcebec;
    color: #dc3545;
}
.Expert {
    background-color: #f8e7f2;
    color: #b41078;
}
.Confirmé {
    background-color: #ffecb2;
    color: #e8b006;
}

.annule {
    background-color: #f3f3f3;
    color: #6e6e6e;
}
.encour {
    background-color: #e9f4fc;
    color: #278cdd;
}
.enligne {
    background-color: #eaf6ec;
    color: #53b96a;
}
.arrowB {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid black;
}

.carousel-indicators [data-bs-target] {
    background-color: orange;
}
img {
    object-fit: initial;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.custom-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    background: white;
    border-radius: 5px;
}
.custom-modal-content button {
    background: none;
    border: none;
    padding: 10px;
    width: 100%;
    text-align: left;
}
.custom-modal-content button:last-child {
    color: red;
}
.custom-modal-content button:hover {
    background-color: #f1f1f1;
}
.page-item.active .page-link , .page-item .page-link:focus {
    background-color: #b41078;
    border-color: #b41078;
    color: white !important;
    border-radius: 6px;
}

.page-item .page-link {
    border-radius: 6px !important;
}
.image-preview {
    position: relative;
    width: 100%;
    height: 200px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.noHover:hover {
    background-color: white !important;
}
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1400;
}
.alert-box {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin: 230px;
}
body.no-scroll {
    overflow: hidden;
}
.icon-select-container {
    position: relative;
    display: inline-block;
}
.icon-select {
    opacity: 0; /* Hide the select but keep it accessible */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.icon-display {
    font-size: 1.5rem;
    cursor: pointer;
}

.toast {
    position: fixed;
    top: 25px;
    right: 30px;
    border-radius: 12px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    z-index: 1000;
    min-width: fit-content;
    width: fit-content;
}


.toast.active {
    transform: translateX(0%);
    display: block !important;
}

.toast .toast-content {
    display: flex;
    align-items: center;
}

.toast-content .check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    min-width: 35px;
    background-color: #24983f;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
}

.toast-content .message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.message .text {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
}

.message .text.text-1 {
    font-weight: 600;
    color: #333;
}

/* Mobile Version CSS */
@media (max-width: 767px) {
    .toast {
        top: 15px;
        right: 15px;
        padding: 10px 20px 10px 10px;
        border-radius: 10px;
        box-shadow: 0 4px 15px -4px rgba(0, 0, 0, 0.1);
     
    }

    .toast-content .check {
        height: 30px;
        min-width: 30px;
        font-size: 18px;
    }

    .toast-content .message {
        margin: 0 15px;
    }

    .message .text {
        font-size: 14px;
    }

    .message .text.text-1 {
        font-weight: 600;
        color: #333;
    }

    .page-link {
        padding: 0.5rem 0.75rem !important;
    } 
}


/* .toast .close {
    position: absolute;
    top: 40%;
    right: 15px;
    
    cursor: pointer;
    opacity: 0.7;
} */

.toast .close:hover {
    opacity: 1;
}

.toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

.toast .progress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #24983f;
}

.progress.active:before {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}

.btn-scc {
    padding: 12px 20px;
    font-size: 20px;
    outline: none;
    border: none;
    background-color: #24983f;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-scc:hover {
    background-color: #0e4bf1;
}

.toast.active ~ button {
    pointer-events: none;
}

/* General custom select styles */
.custom-select {
    padding: 10px; /* Adjust padding */
    border-radius: 5px; /* Rounded corners */
    background-color: #fff; /* White background */
    border: 1px solid #ccc; /* Light border */
    width: 100%; /* Full width */
    appearance: none; /* Remove default styles in modern browsers */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */
}

.custom-select option {
    padding: 10px; /* Option padding */
    background-color: #fff; /* White background for options */
    color: #000; /* Default color */
}

.custom-select option:hover {
    background-color: #f5f5f5 !important; /* Light grey on hover */
}

/* Dropdown options */
.custom-select option {
    padding: 10px; /* Option padding */
    background-color: #fff; /* White background for options */
    color: #000; /* Default color */
}

/* Specific option styling */
.custom-select option.red {
    color: red; /* Red color for "Supprimer" */
}

/* Safari specific tweaks */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .custom-select {
        padding: 10px 30px; /* Add extra padding for Safari */
    }
}

/* Override the default select arrow */


/* Ensure the dropdown items have a clear hover effect */
.custom-select option:hover {
    background-color: #f5f5f5; /* Light grey on hover */
}

.min-w-60 {
    min-width: 60% !important;
}

.max-w-60 {
    max-width: 60% !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #f8f9fa;
    color: #333;
}

@media (max-width: 768px) {
    #departure-date, #arrival-date {
        min-width: 37vw !important; /* Adjust the width as needed */
    }
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(180, 16, 120, 0) !important;
}

.dateOfEnd {
    display: none;
}