.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    padding: 1rem;
    z-index: 1040;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
}

.background-gradient {
    background: linear-gradient(180deg, #3F3351, #D8B4E2);
}

.background-gradient-soft {
    background: linear-gradient(180deg, #3F3351,
    #6c5a71);
}

.main-content {
    margin-left: 250px;
    padding: 2rem;
}

@media (max-width: 767.98px) {
    .sidebar {
        display: none !important;
    }

    .main-content {
        margin-left: 0;
        margin-top: 56px;
    }
}

.offcanvas-body a.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
}

.list-group-item:hover {
    background-color: #f8f9fa !important; /* Un blanc cassé pour un effet subtil */
    transition: background-color 0.2s ease-in-out;
    cursor: pointer; /* Change le curseur pour indiquer l'interactivité */
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-like {
    animation: pulse 0.5s ease-in-out;
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.otp-input {
    font-size: 1.25rem;
    border-radius: 0.5rem;
    border: 2px solid #dee2e6;
    transition: border-color 0.2s ease-in-out;
}

.otp-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.sortable-column {
    cursor: pointer;
}

thead th:not(:last-child) {
    border-right: 1px solid #dee2e6;
}