.side-modal {
    position: relative;
    width: 100vw;
    height: 100vh;

    &-wrapper {
        position: absolute;
        right: 0;
        top: 0;
        background: #fff;
        box-shadow: -4px 0px 10px rgba(57, 52, 66, 0.15);
        max-width: 620px;
        width: 100%;
        height: 100%;
        overflow-y: scroll;
        transform: translateX(100%);
        transition: .2s;
    }

    &-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        padding: 24px;
        padding: 16px 24px;
        background: #fff;
        z-index: 1;

        &:after {
            content: '';
            position: absolute;
            left: 0px;
            bottom: 0;
            width: 100%;
            height: 1px;
            background: var(--Stroke);
        }

        &__title {
            font-weight: 600;
            font-size: 24px;
            line-height: 32px;
            color: var(--Main1);
        }

        &__close {
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }

    &-content {
        padding: 24px;
    }

    & .delete {
        cursor: pointer;
        position: absolute;
        top: -12px;
        right: -12px;
        width: 24px;
        height: 24px;
        background: #fff;
        box-shadow: 0px 4px 10px rgba(58, 58, 58, 0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 100%;
        transition: 0.2s;
        z-index: 10;
    }
}

.modal.slide-anim {
    // z-index: -1;
    transition: .2s;
    background-color: rgba(58, 58, 58, 0);
    padding: 0;

    &.in {
        // z-index: 100;
        background-color: rgba(58, 58, 58, 0.4);

        .side-modal-wrapper {
            transform: translateX(0);
        }
    }
}