.errorContainer { display: flex; padding: var(--Space-x15); border: 1px solid var(--Border-Default); border-radius: var(--Corner-Radius-md); justify-content: center; } .error { display: flex; gap: var(--Space-x1); color: var(--Text-Feedback-Error); text-wrap: wrap; align-items: center; } .contentWrapper { display: grid; grid-template-areas: "header" "content"; grid-template-rows: var(--header-height) calc(100dvh - var(--header-height)); } .roomContainer { display: grid; gap: var(--Space-x2); } .roomDetailsContainer { display: grid; gap: var(--Space-x2); padding-bottom: var(--Space-x1); } .roomHeading { color: var(--Text-Default); margin-bottom: var(--Space-x1); } .triggerButton { background: none; border: none; color: var(--Text-Default); cursor: pointer; outline: none; padding: 0; width: 100%; text-align: left; position: absolute; top: 0; left: 0; bottom: 0; right: 0; padding: 20px var(--Space-x15) 0; border-radius: var(--Corner-Radius-lg); display: block; overflow: hidden; text-overflow: ellipsis; color: var(--Text-Default); } .footer { display: flex; flex-direction: column; gap: var(--Space-x2); } .addRoomBtnContainer { display: flex; justify-content: center; } .footerButtons { display: flex; justify-content: space-between; } .roomContainer { padding: var(--Space-x2); } .roomContainer:last-of-type { padding-bottom: calc(var(--sticky-button-height) + 20px); } .roomActionsButton { color: var(--Base-Text-Accent); } .footer button { width: 100%; } .contentWrapper .addRoomBtn:is(:focus, :focus-visible, :focus-within), .footer .addRoomBtn:is(:focus, :focus-visible, :focus-within), .roomActionsButton:is(:focus, :focus-visible, :focus-within) { text-decoration: none; } .pickerContainer { --header-height: 72px; --sticky-button-height: 140px; background-color: var(--Main-Grey-White); border-radius: var(--Corner-Radius-lg) var(--Corner-Radius-lg) 0 0; position: fixed; top: calc(max(var(--sitewide-alert-sticky-height), 20px)); right: 0; bottom: 0; left: 0; transition: top 300ms ease; z-index: var(--booking-widget-z-index); } @media screen and (max-width: 1366px) { .contentContainer { grid-area: content; overflow-y: scroll; scroll-snap-type: y mandatory; padding-bottom: calc(var(--sticky-button-height) + var(--Space-x4)); } .header { display: grid; grid-area: header; padding: 0 var(--Space-x2) 0; } .close { background: none; border: none; cursor: pointer; display: flex; justify-self: flex-end; padding: 0; } .footer { background: linear-gradient( 180deg, rgba(255, 255, 255, 0) 7.5%, #ffffff 82.5% ); padding: var(--Space-x2) var(--Space-x2) var(--Space-x7); position: sticky; bottom: 0; width: 100%; } .addRoomMobileContainer { display: grid; padding-bottom: var(--Space-x3); } .errorContainer { margin: var(--Space-x2); } .addRoomMobileContainer button { width: 150px; margin: 0 auto; } } @media screen and (min-width: 1367px) { .container { height: 24px; } .contentWrapper { grid-template-rows: auto; } .footerButtons { max-height: 40px; } .doneButton { min-width: 125px; } .pickerContainer { position: absolute; display: grid; bottom: auto; left: auto; right: auto; border-radius: var(--Corner-Radius-lg); box-shadow: var(--popup-box-shadow); min-width: 360px; max-width: calc(100vw - 20px); padding: var(--Space-x2) var(--Space-x3); top: calc(100% + 36px); max-height: none; overflow-y: auto; overflow-x: hidden; } .roomContainer { padding: var(--Space-x2) 0 0 0; } .roomContainer:first-of-type { padding-top: 0; } .roomContainer:last-of-type { padding-bottom: 0; } .contentContainer { overflow-y: visible; } .pickerContainer:focus-visible { outline: none; } .header { display: none; } .footer { display: flex; justify-content: space-between; padding-top: var(--Space-x2); height: fit-content; } .footer button { width: auto; } }