.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-box {
    width: 100%;
    max-width: 520px;
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.modal-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: background-color .15s ease;
}

.modal-close-btn:hover {
    background-color: var(--bg);
}

.confirm-delete-message {
    font-size: 14px;
    color: var(--text-muted);
    margin: 16px 0 24px 0;
    line-height: 1.5;
}