#reservations-save {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 20;
}

#reservations-save:after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 21;
}

#reservations-save>article {
    position: absolute;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    width: 100%;
    height: 600px;
    padding: 24px 20px 32px 20px;
    box-sizing: border-box;
    background-color: #fff;
    bottom: 0;
    z-index: 22;
    transform: translateY(100%);
    transition: transform 0.3s, height 0.3s;
}

#reservations-save>article.show {
    transform: translateY(0);
}

#reservations-save>article.h-320px {
    height: 320px;
}

#reservations-save article .top {
    margin-bottom: 20px;
}

#reservations-save article .top .btn-close-reservations-save {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background-color: #f4f5f5;
    border-radius: 999px;
}

#reservations-save article .top h3 {
    color: #191919;
    font-size: 22px;
    font-weight: 700;
    line-height: 33px;
}

#reservations-save article .top h4 {
    color: rgba(0, 0, 0, 0.52);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    margin-top: 16px;
}

#reservations-save article .form {
    width: 100%;
    height: 100%;
}

#reservations-save article .form .form-wrap {
    width: 100%;
    height: 400px;
    overflow-y: auto;
}

#reservations-save article .form .form-wrap ul {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

#reservations-save article .form .form-wrap ul li button {
    width: 100%;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
}

#reservations-save article .form .form-wrap ul li button.selected {
    color: #fff;
    background-color: #CB3435;
}

#reservations-save article .form .form-wrap ul li button.reserved {
    color: #fff;
    background-color: #eee;
    cursor: default;
}

#reservations-save article .form .form-wrap ul li .time-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    color: #191919;
    font-size: 14px;
    line-height: 20px;
}

#reservations-save article .form .form-wrap ul li .time-option input[type="radio"] {
    display: none;
}

#reservations-save article .form .form-wrap ul li .time-option:has(input[type="radio"]:checked) {
    color: #fff;
    background-color: #CB3435;
}

#reservations-save article .form label {
    position: relative;
    display: block;
    margin-top: 16px;
    margin-bottom: 6px;
    color: #191919;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
}

#reservations-save article .form label:first-child {
    margin-top: 0;
}

#reservations-save article .form input {
    display: block;
    border: 1px solid #F0F0F2;
    height: 55px;
    line-height: 55px;
    border-radius: 14px;
    /* width: 100%; */
    padding: 0 20px;
    box-sizing: border-box;
}

#reservations-save article .form .head-count {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

#reservations-save article .form .head-count button {
    background-color: #F2F3F5;
    width: 44px;
    height: 44px;
    font-size: 18px;
    font-weight: bold;
    color: #191919;
    border-radius: 999px;
    cursor: pointer;
}

#reservations-save article .form .head-count input {
    font-size: 18px;
    color: #191919;
    width: 34px;
    text-align: center;
    border: 0;
    padding: 0;
}

#reservations-save article .form .head-count span {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.52);
}

#reservations-save article .form textarea {
    height: 120px;
    width: 100%;
    color: #191919;
    font-size: 16px;
    font-weight: 400;
    padding: 14px 16px;
    border: 1px solid #F0F0F2;
    border-radius: 14px;
}

#reservations-save article .form .btn-reservation-save {
    height: 56px;
    line-height: 56px;
    width: 100%;
    text-align: center;
    color: #fff;
    border-radius: 14px;
    background-color: #CB3435;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
}


#reservations-save>article .result {
    padding-top: 24px;
}

#reservations-save article .result span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #1DB46A24;
    border-radius: 999px;
    margin: 0 auto;
    margin-bottom: 12px;
}

#reservations-save article .result span img {
    width: 28px;
    height: 28px;
}

#reservations-save article .result h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 33px;
    margin-bottom: 12px;
    color: #191919;
    text-align: center;
}

#reservations-save article .result p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #00000085;
    margin-bottom: 20px;
    text-align: center;
}

#reservations-save article .result button {
    height: 56px;
    line-height: 56px;
    width: 100%;
    text-align: cetner;
    color: #fff;
    border-radius: 14px;
    background-color: #CB3435;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.error-message {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 12px;
    color: #CB3435;
}