/* =========================
   DELETE MODAL
========================= */

.delete-page {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
}

.delete-modal {
    position: relative;
    z-index: 1;

    width: 440px;
    max-width: calc(100vw - 40px);

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;

    padding: 28px;

    box-shadow:
            0 24px 60px rgba(0, 0, 0, 0.18),
            0 4px 12px rgba(0, 0, 0, 0.08);

    animation: deleteModalIn 0.18s ease-out;
}

.delete-modal-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #fef2f2;
    color: #dc2626;

    font-size: 21px;

    margin-bottom: 18px;
}

.delete-modal h3 {
    margin: 0 0 8px;

    font-size: 19px;
    font-weight: 650;
    color: #111827;
}

.delete-modal p {
    margin: 0;

    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.delete-modal .button-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

    margin-top: 26px;
}

.delete-modal .delete-btn,
.delete-modal .cancel-btn {
    height: 42px;
    padding: 0 18px;

    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
            background 0.15s ease,
            transform 0.15s ease;
}

.delete-modal .cancel-btn {
    background: #ffffff;
    color: #374151;

    border: 1px solid #d1d5db;
}

.delete-modal .cancel-btn:hover {
    background: #f9fafb;
}

.delete-modal .delete-btn {
    background: #dc2626;
    color: white;

    border: 1px solid #dc2626;
}

.delete-modal .delete-btn:hover {
    background: #b91c1c;
}

.delete-modal .delete-btn:active,
.delete-modal .cancel-btn:active {
    transform: scale(0.98);
}

@keyframes deleteModalIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}