.ns-delete-modal :where(h1, h2, h3, h4, h5, h6, p, img, dl, dt, dd) {
    margin: 0;
    padding: 0;
}

.ns-delete-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(58,63,68, .7);
    width: 100%;
    height: 100%;
    position: fixed;
    opacity: 0;
    pointer-events: none;
    inset: 0;
    z-index: 30;
    padding: calc(var(--ns-header-height, 0) + 48px) 0 48px;
    transition-property: opacity;
    transition-duration: 0.5s;
    transition-timing-function: ease;
    box-sizing: border-box;
}

.ns-delete-modal.ns-delete-modal--opened {
    opacity: 1;
    pointer-events: auto;
}

.ns-delete-modal__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
    width: 512px;
    min-height: 284px;
    max-height: calc(100% - 160px);
    background-color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #EBEDF1;
    color: #1F2023;
    padding: 32px;
    box-shadow: 0 10px 10px -5px rgba(0,0,0, .04);
    position: relative;
    box-sizing: border-box;
    margin-bottom: var(--ns-modal-offset-bottom, 0);
    overflow: hidden;
}

.ns-delete-modal__close {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Cpath stroke='%236A6F75' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m15 25 10-10m-10 0 10 10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 1;
    cursor: pointer;
}

.ns-delete-modal__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 40px;
    width: 100%;
    overflow: hidden auto;
}

.ns-delete-modal__content-text {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25;
    text-align: center;
}

.ns-delete-modal__content-buttons {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 16px;
}

.ns-delete-modal__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
    border-radius: 8px;
    background-color: #e00e1a;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding: 0 17px;
    transition: background-color .2s ease;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

.ns-delete-modal__button:hover {
    background-color: #d70d1d;
}

.ns-delete-modal__button--secondary {
    font-weight: 500;
    background-color: #ffe7e7;
    color: #e00e1a;
}

.ns-delete-modal__button--secondary:hover {
    background-color: #ffd9d9;
    color: #e00e1a;
}

/* ADAPTIVE */
@media (max-width: 991px) {
    .ns-delete-modal__inner {
        width: 100%;
        max-width: 336px;
        padding: 48px 20px 20px;
        border-radius: 16px;
    }

    .ns-delete-modal__content {
        gap: 32px;
    }

    .ns-delete-modal__content-text {
        font-size: 28px;
    }

    .ns-delete-modal__content-buttons {
        gap: 12px;
    }
}
