:root {
    --fix-width: 376px;
    --action-height: 4rem;
    --content-width: min(var(--fix-width), 100%);
}

body {
    background-color: #e9e9e9;
}

.guest-content-wrapper {
    position: relative;
    margin: 0 auto;
    background: #fff;
    width: var(--content-width);
    /* box-shadow: 0 0 1rem rgba(0, 0, 0, 0.15); */
    border-radius: 10px;
}

.guest-content-wrapper:has(.guest-footer-content) .guest-footer-content {
    padding-bottom: var(--action-height);
}

.guest-content-wrapper .guest-scrollable-content {
    overflow-y: auto;
    min-height: 100dvh;
    padding-top: 1.25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 135px;
}

.guest-content-wrapper .guest-footer-content {
    display: grid;
    place-items: center;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding-top: 1.2rem;
    width: var(--content-width);
    height: var(--action-height);
}

.guest-content-wrapper .guest-footer-content .action-button {
    width: calc(var(--content-width) - 2rem);
}

.guest-content-wrapper .guest-scrollable-content .image-wrapper {
    width: 100%;
}

.bill-box-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 1rem;
}

.bill-box-wrapper .bill-box {
    position: relative;
    width: 100%;
    border: 2px solid #e9e9e9;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    cursor: pointer;
    gap: 0.35rem;
    transition: all .15s linear;
    border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    -moz-border-radius: 7.5px;
    -ms-border-radius: 7.5px;
    -o-border-radius: 7.5px;
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    -ms-transition: all .15s linear;
    -o-transition: all .15s linear;
}

.bill-box-wrapper .bill-box:hover {
    border-color: #b7b7b7;
}

.bill-box-wrapper .bill-box.selected, .bill-box-wrapper .bill-box.selected:hover {
    border-color: var(--bs-primary);
}

.bill-box-wrapper .bill-box .bill-box-input {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    z-index: -2;
}

.bill-box-wrapper .bill-box .bill-box-circle {
    position: relative;
    display: grid;
    place-items: center;
    border: 1.5px solid #e9e9e9;
    width: 28.5px;
    height: 25px;
    transition: all .15s linear;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    -ms-transition: all .15s linear;
    -o-transition: all .15s linear;
}


.bill-box-wrapper .bill-box.selected .bill-box-circle {
    border-color: var(--bs-primary)
}

.bill-box-wrapper .bill-box .bill-box-circle > *{
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .15s linear;
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    -ms-transition: all .15s linear;
    -o-transition: all .15s linear;
}

.bill-box-wrapper .bill-box.selected .bill-box-circle > *{
    opacity: 1;
}

.bill-box-wrapper .bill-box .bill-box-content {
    width: 100%;
}

.bill-box-wrapper .bill-box .bill-box-price {
    /* padding-right: 0.2rem; */
}

.bill-box-wrapper .bill-box .bill-box-price .price-text {
    text-align: right;
}


@media(max-width: 376px) {
    body {
        background-color: #fff;
    }

    .guest-content-wrapper {
        box-shadow: none;
        border-radius: 0;
    }
}
