.bottom-sheet-widget {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.bottom-sheet-widget.hide {
    display: none;
}

.bottom-sheet-widget,
.bottom-sheet-widget button,
.bottom-sheet-widget input,
.bottom-sheet-widget select,
.bottom-sheet-widget label {
    -webkit-tap-highlight-color: transparent;
}

.bottom-sheet-widget button:focus,
.bottom-sheet-widget input:focus,
.bottom-sheet-widget select:focus,
.bottom-sheet-widget label:focus {
    outline: none;
}

.bottom-sheet-widget__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.bottom-sheet-widget.is-open .bottom-sheet-widget__overlay {
    opacity: 1;
}

.bottom-sheet-widget__panel {
    position: absolute;
    left: 50%;
    bottom: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 375px;
    min-height: 478px;
    padding: 36px 16px 42px;
    border-radius: 38px 38px 0 0;
    background: #EFEFF4;
    box-shadow: 0 15px 75px rgba(0, 0, 0, 0.18);
    transform: translate(-50%, 100%);
    transition: transform 0.24s ease-out;
    overflow: hidden;
}

.bottom-sheet-widget.is-open .bottom-sheet-widget__panel {
    transform: translate(-50%, 0);
}

.bottom-sheet-widget__grabber {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 36px;
    height: 5px;
    margin-left: -18px;
    border-radius: 100px;
    background: #b7b7bd;
}

.bottom-sheet-widget__close {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.bottom-sheet-widget__close::before,
.bottom-sheet-widget__close::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 9px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #F33C7E;
}

.bottom-sheet-widget__close::before {
    transform: rotate(45deg);
}

.bottom-sheet-widget__close::after {
    transform: rotate(-45deg);
}

.bottom-sheet-widget__content {
    width: 100%;
    max-width: 343px;
    margin: 0 auto;
}

.bottom-sheet-widget__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 343px;
    min-height: 52px;
    margin: auto auto 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 18px;
    background: #F33C7E;
    box-shadow: 0 5px 22px rgba(242, 65, 71, 0.34);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;
    color: #FFF;
    text-align: center;
}

.bottom-sheet-widget__action:active {
    background: #dd2f6d;
}

.bottom-sheet-widget__home-indicator {
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 140px;
    height: 5px;
    margin-left: -70px;
    border-radius: 100px;
    background: #000;
}
