.datepicker {
    z-index: 100000 !important;
}

.toggle-password-button {
    color: white;
}

.login_error {
    color: red;
}

.resize-handle {
    position: absolute;
    right: -5px;
    top: 0;
    bottom: 0;
    width: 10px;
    cursor: col-resize;
}

.scrollbar-w-2::-webkit-scrollbar {
    width: 0.25rem;
    height: 0.25rem;
}

.scrollbar-track-blue-lighter::-webkit-scrollbar-track {
    --bg-opacity: 1;
    background-color: #f7fafc;
    background-color: rgba(247, 250, 252, var(--bg-opacity));
}

.scrollbar-thumb-blue::-webkit-scrollbar-thumb {
    --bg-opacity: 1;
    background-color: #edf2f7;
    background-color: rgba(237, 242, 247, var(--bg-opacity));
}

.scrollbar-thumb-rounded::-webkit-scrollbar-thumb {
    border-radius: 0.25rem;
}

@-webkit-keyframes rotating

/* Safari and Chrome */
    {
    from {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }

    to {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }

    to {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

.rotating {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

.sosMarker {
    position: absolute;
    cursor: pointer;
    background: red;
    width: 36px;
    height: 36px;
    /* -width/2 */
    margin-left: -18px;
    /* -height + arrow */
    margin-top: -40px;
    border-radius: 50%;
    padding: 0;
}

.sosMarker:after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 8px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: red transparent;
    display: block;
    width: 0;
}

.sosMarker img {
    width: 30px;
    height: 30px;
    margin: 3px;
    border-radius: 50%;
}

/* Styles pour les marqueurs groupés */
.grouped-sos-marker {
    position: relative;
}

.sos-marker-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444 !important;
    color: white !important;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    z-index: 10;
}

/* Styles pour l'InfoWindow des marqueurs groupés */
.grouped-marker-info {
    max-width: 320px;
    font-family: Arial, sans-serif;
}

.grouped-marker-info h3 {
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #333;
    font-size: 16px;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.grouped-marker-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

.grouped-marker-info li {
    margin-bottom: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
}

.grouped-marker-info li:hover {
    background-color: #e9e9e9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grouped-marker-info li:last-child {
    margin-bottom: 0;
}

.grouped-marker-info li img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
    border-radius: 2px;
}