.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content-box {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 24px;
    border-radius: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: modalPop 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left; 
    box-sizing: border-box;
}

@keyframes modalPop {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content-box h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    color: #000;
}

.modal-content-box p {
    color: #65676b;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.btn-confirm-del {
    background: #f4212e;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 25px; 
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    order: 2;
    transition: opacity 0.2s;
}

.btn-confirm-del:hover {
    opacity: 0.9;
}

.btn-cancel-del {
    background: transparent;
    color: #0f1419;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    order: 1; 
    transition: background 0.2s;
}

.btn-cancel-del:hover {
    background: #f0f2f5;
    text-decoration: none;
}