/* ==========================================
   MODAL XÓA CUỘC TRÒ CHUYỆN (Cùng kiểu dáng & hiệu ứng)
   ========================================== */

.delete-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;     
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;    
    justify-content: center; align-items: center;
    backdrop-filter: blur(1px);
}

.delete-modal-container {
    background: white;
    width: 380px;
    max-width: 90%;
    border-radius: 15px;
    padding: 25px 20px;
    position: relative;   
    overflow: hidden;
    /* Hiệu ứng xuất hiện mượt mà giống modal edit */
    animation: modalZoom 0.35s ease; 
}

.delete-modal-scroll {
    overflow: visible !important;
}

/* Nút Đóng (X) góc trên phải */
.delete-nutclose {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color, #0c826f);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    border: 2px solid #ffffff;
    transition: all 0.2s ease;
    z-index: 1001;
}

.delete-nutclose:hover {
    background-color: #d9383a; 
    border-color: #d9383a;
    transform: scale(1.05);
}

.delete-nutclose:active {
    transform: scale(0.95);
    opacity: 0.9;
}

/* Kiểu dáng nội dung cảnh báo xóa (Giao diện giống ChatGPT) */
.delete-modal-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.delete-modal-desc {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #32465a;
    line-height: 1.4;
    margin: 0 0 20px 0;
}

.delete-modal-subdesc {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: color-mix(in srgb, var(--button-delete, #ff2d4f) 90%, transparent);
    display: none;
}

/* Nút bấm trong Modal Xóa */
.delete-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Nút Xóa (Màu đỏ cảnh báo) */
.delete-btn-xoa { 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;   
    padding: 8px 32px !important; 
    background-color: color-mix(in srgb, var(--button-delete, #ff2d4f) 90%, transparent);
    color: #ffffff;
    border: none;
    border-radius: 8px;    
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.delete-btn-xoa:hover {    
    filter: brightness(1.1);
   
}

.delete-btn-xoa:active {
    transform: scale(0.98);
}

/* Nút Hủy bỏ */
.delete-btn-huy {
    display: flex;
    padding: 8px 30px !important; 
    align-items: center;
    justify-content: center;
    gap: 8px;  
    padding: 10px;
    background: #ffffff;    
    color: var(--primary-color, #0c826f);
    border: 1px solid color-mix(in srgb, var(--primary-color, #0c826f) 40%, transparent);
    border-radius: 8px;     
    cursor: pointer; 
    font-size: 14px;
    transition: background 0.2s;
}

.delete-btn-huy:hover {    
    background: color-mix(in srgb, var(--primary-color, #0c826f) 5%, transparent);   
}