.min-height-400 {
    min-height: 400px;
}

.chat-day-title {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.chat-day-title .title {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f5f6fa;
    border-radius: 30px;
    font-size: 12px;
    color: #6c757d;
    position: relative;
    z-index: 1;
}

.chat-day-title:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background-color: #e9ebf1;
    z-index: 0;
}

.card-modern {
    height: 100%;
    margin-bottom: 20px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.25rem;
    border-bottom: none;
}

.list-group-modern {
    border-radius: 0 0 12px 12px;
}

.list-group-item {
    padding: 0.75rem 1.25rem;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.list-group-item:first-child {
    border-top: none;
}

.bg-soft-primary {
    background-color: rgba(85, 110, 230, 0.1);
}

.bg-soft-info {
    background-color: rgba(45, 206, 255, 0.1);
}

.bg-soft-warning {
    background-color: rgba(255, 189, 90, 0.1);
}

.bg-soft-success {
    background-color: rgba(10, 179, 156, 0.1);
}

.custom-scroll {
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f3f4f6;
}

.custom-scroll::-webkit-scrollbar {
    height: 8px;
    background-color: #f3f4f6;
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #9ca3af;
}
.drag-scroll {
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
}

.drag-scroll:active {
    cursor: grabbing;
}
/*model de affectation truck to peasant*/
.truck-card {
    cursor: pointer;
    transition: all 0.3s ease;
}
.truck-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.truck-card .form-check-input {
    cursor: pointer;
}
.search-box {
    position: relative;
}
.search-input {
    padding-left: 40px;
}
.search-icon {
    position: absolute;
    left: 13px;
    top: 12px;
    font-size: 16px;
    color: #7a7f9a;
}
.filter-btn.active {
    background-color: #405189;
    color: white;
}


.single-click-link.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.single-click-submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Empêcher les clics sur les boutons désactivés */
button:disabled {
    pointer-events: none;
}
