.delete-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.delete-modal[hidden] {
    display: none;
}

.delete-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.delete-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font-family: 'IBM Plex Mono', monospace;
}

.delete-modal-heading {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 1rem 0;
}

.delete-modal-message {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.75rem 0;
}

.delete-modal-message strong {
    color: white;
    font-weight: 500;
}

.delete-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.delete-modal-btn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    padding: 0.6rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-modal-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.delete-modal-cancel {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
}

.delete-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.delete-modal-confirm {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border-color: rgba(255, 77, 77, 0.4);
}

.delete-modal-confirm:hover {
    background: rgba(255, 77, 77, 0.3);
    color: white;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .delete-modal-card {
        padding: 1.5rem;
    }

    .delete-modal-actions {
        flex-direction: column-reverse;
    }

    .delete-modal-btn {
        width: 100%;
        text-align: center;
    }
}
