.modal {
    z-index: 9999;
}

.dz-message {
    margin: 0px !important;
}

.dropzone {
    min-height: inherit;
}

.text-justify p {
    text-align: justify;
}



.chat-container {
    height: calc(100vh - 150px);
}

.message-container {
    height: 400px;
    overflow-y: auto;
}

.message-left {
    background-color: #f3f4f6;
    border-radius: 18px 18px 18px 0;
}

.message-right {
    background-color: #3b82f6;
    color: white;
    border-radius: 18px 18px 0 18px;
}

.online-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.online {
    background-color: #10b981;
}

.offline {
    background-color: #9ca3af;
}

.typing-indicator {
    display: none;
    font-style: italic;
    color: #6b7280;
    font-size: 0.875rem;
    margin: 5px 0;
}


.online-status {
    transition: all 0.3s ease;
}

.online-status.online {
    background-color: #10b981;
}

.online-status.offline {
    background-color: #9ca3af;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.chat-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    padding: 0.75rem 0.75rem;
    border-radius: 0.6rem;
    border: 1px solid transparent;
    color: #64748b;
    background: transparent;
    cursor: pointer;
    font-size: 0.875rem;
}

.chat-tab-btn.active {
    color: #334155;
    border-color: #e2e8f0;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

#chats-list,
#contacts-list {
    max-height: 557px;
    overflow-y: auto;
    overflow-x: hidden;
}

#chats-list::-webkit-scrollbar,
#contacts-list::-webkit-scrollbar {
    width: 4px;
}

#chats-list::-webkit-scrollbar-track,
#contacts-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

#chats-list::-webkit-scrollbar-thumb,
#contacts-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.unread-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.online-status {
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
}

.online-status.online {
    background-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.online-status.offline {
    background-color: #9ca3af;
}

.mt-30 {
    margin-top: 30px;
}

.mt-35 {
    margin-top: 35px;
}

.color-red {
    color: rgb(156, 10, 10);
}

.task-100h-container {
    height: 100%;
}

.p-title-md {
    max-width: 380px;
}

.task-viewport {
    height: 80vh;
}

.side-menu__link {
    position: relative;
}

.side-menu__link span {
    transform: translate(50%, -50%);
}

._hidden {
    display: none !important;
}

.w-100 {
    width: 100%;
}

circle-progress::part(value) {
    stroke-width: 6px;
    stroke-dasharray: 0.6 3;
}

circle-progress::part(circle) {
    stroke-width: 6px;
    stroke: #ddd;
    stroke-dasharray: 0.6 3;
    stroke-dashoffset: 1.6;
}

circle-progress::part(text) {
    font-family: "Dosis", "Varela Round", "Gotham Rounded Light", sans-serif;
    font-size: 26px;
}

circle-progress::part(base) {
    width: 60px;
    height: auto;
}

.progress-green {
    margin: auto;
}

.progress-green::part(value) {
    stroke: hsla(0, 0%, 0%, 0.521);
}

.progress-green::part(text) {
    stroke: hsla(0, 0%, 0%, 0.521);
}

.w-text-right {
    text-align: -webkit-right;
}

#task-popup-loading {
    z-index: 9999;
}

.loader {
    border-top-color: #3498db;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.task-status-select {
    border: 1px dotted rgba(0, 0, 0, 0.5);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    font-weight: bold;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    cursor: pointer;
    line-height: 1.2;
    font-size: 14px;

    min-width: 90px;
    text-align: right;
}

/* options lisibles dans le menu */
.task-status-select option {
    font-size: 14px;
}


.ajax-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader-text {
    color: #666;
    font-size: 14px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-content {
    position: relative;
    min-height: 100px;
}

#file-list a {
    max-width: 260px;
}