/* Payment content also appears inside the booking widget. */
.payment-page-card { color: #223247; font-family: Roboto, Arial, sans-serif; margin: 0 auto; max-width: 760px; text-align: start; width: 100%; }
.payment-page-card, .payment-page-card * { box-sizing: border-box; }
/* Retain provider markup for checkout while only the existing loader is painted. */
.booking-checkout-pending { display: none !important; }
.public-page-loading { align-items: center; display: flex; flex-direction: column; gap: 20px; justify-content: center; min-height: 240px; padding: 48px 24px; text-align: center; }
.public-page-spinner { animation: public-page-spin .9s linear infinite; border: 4px solid #e3edf4; border-top-color: #317da5; border-radius: 50%; display: block; flex: 0 0 48px; height: 48px; width: 48px; }
.public-page-loading-label { color: #52677d; font-size: 16px; line-height: 1.5; margin: 0; }
@keyframes public-page-spin { to { transform: rotate(360deg); } }
.payment-page-content { padding: 24px 8px; }
.payment-page-heading { align-items: center; display: flex; gap: 18px; margin-bottom: 28px; }
.payment-page-heading h1 { color: #223247; font-size: 26px; font-weight: 500; line-height: 1.3; margin: 0 0 9px; }
.payment-page-symbol { align-items: center; background: #edf4f8; border: 1px solid #dce9f0; border-radius: 14px; color: #317da5; display: flex; flex: 0 0 54px; font-size: 23px; height: 54px; justify-content: center; }
.payment-page-reference { align-items: baseline; color: #64748b; display: flex; flex-wrap: wrap; font-size: 13px; gap: 8px; }
.payment-page-reference strong { background: #edf4f8; border-radius: 6px; color: #285c79; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; padding: 4px 9px; }
.payment-page-summary { align-items: center; background: #f7f9fc; border: 1px solid #e3e9f0; border-radius: 12px; display: flex; gap: 24px; justify-content: space-between; margin: 0 0 26px; padding: 23px 24px; }
.payment-page-summary > div { min-width: 0; }
.payment-page-summary dt { color: #64748b; font-size: 13px; font-weight: 400; margin-bottom: 7px; }
.payment-page-summary dd { margin: 0; overflow-wrap: anywhere; }
.payment-page-amount dd { color: #20364a; font-size: 32px; font-weight: 500; line-height: 1.25; }
.payment-page-amount small { color: #64748b; font-size: 15px; font-weight: 400; }
.payment-page-method dd { font-size: 16px; font-weight: 500; }
.payment-page-progress { align-items: center; color: #52677d; display: flex; font-size: 14px; gap: 10px; line-height: 1.6; margin: 0 0 18px; }
.payment-page-provider { color: #52677d; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.payment-page-provider > div:not(.alert) { height: auto !important; min-height: 0 !important; }
.payment-page-provider .button, .payment-page-provider .btn, .payment-page-actions .btn { border-radius: 9px; box-shadow: none; font-size: 15px; font-weight: 500; line-height: 1.5; margin-bottom: 8px; padding: 12px 22px; white-space: normal; }
.payment-page-provider a[href*="/booking/cancel"] { background: #fff; border: 1px solid #d5dee7; color: #52677d; }
.payment-page-card a:focus-visible, .payment-page-card button:focus-visible, .payment-page-card input:focus-visible { outline: 3px solid #317da5; outline-offset: 3px; }
@media (max-width: 540px) {
    .payment-page-heading { gap: 12px; }
    .payment-page-heading h1 { font-size: 22px; }
    .payment-page-summary { align-items: flex-start; flex-direction: column; gap: 18px; padding: 20px; }
    .payment-page-amount dd { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { .payment-page-card .fa-spin, .public-page-spinner { animation: none; } }

/* Payment cancellation content. */
.payment-page-symbol-cancelled { background: #fff2ed; border-color: #f4d7cb; color: #b9573b; }
#booking-cancel .payment-page-heading > div { min-width: 0; }
#booking-cancel .payment-page-heading h1 { margin-bottom: 0; overflow-wrap: anywhere; }
.payment-page-description { color: #52677d; font-size: 15px; line-height: 1.7; margin: 0 0 26px; }
.payment-page-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Embedded information pages need their own spacing without the standalone shell. */
html.public-page-embedded .public-page-content > .page-box { padding: 16px; overflow-wrap: anywhere; }
/* Intermediate redirects show only progress, without briefly painting the final page shell. */
html.public-page-redirecting body { background: #fff; margin: 0; padding: 0; }
html.public-page-redirecting .public-page { display: flex; align-items: center; min-height: 100vh; min-height: 100dvh; }
html.public-page-redirecting .public-page-surface { width: 100%; }
html.public-page-redirecting .public-page-language,
html.public-page-redirecting .footer-branding { display: none; }
/* Decoration is opt-in and only enabled in a standalone browser document. */
.public-page-brand { display: none; }
html.public-page-standalone .public-page-surface, html.public-page-standalone .public-page-surface * { box-sizing: border-box; }
html.public-page-standalone body { background: #edf4f8; color: #223247; margin: 0; padding: 0; min-height: 100vh; min-height: 100dvh; }
html.public-page-standalone .public-page { box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-start; margin: 0 auto; max-width: 820px; min-height: 100vh; min-height: 100dvh; padding: 30px; width: 100%; }
html.public-page-standalone .public-page-wide { max-width: 1180px; }
html.public-page-standalone.public-page-compact .public-page { max-width: 820px; }
html.public-page-standalone .public-page-surface { background: #fff; border: 1px solid rgba(44,75,98,.12); border-radius: 20px; box-shadow: 0 20px 60px rgba(28,55,76,.12); font-family: Roboto, Arial, sans-serif; min-width: 0; width: 100%; }
html.public-page-standalone .public-page-brand { align-items: center; background: linear-gradient(145deg, #ffffff 0%, #fbfcfd 58%, #f5f8fa 100%); border-radius: 19px 19px 0 0; border-bottom: 1px solid #e9edf2; display: flex; justify-content: center; padding: 28px 32px; text-align: center; }
.public-page-logo { display: block; height: auto; max-height: 96px; max-width: 100%; max-width: min(100%, 280px); object-fit: contain; width: auto; }
.public-page-brand span { color: #33475b; font-size: 20px; font-weight: 500; line-height: 1.3; max-width: 100%; overflow-wrap: anywhere; }
html.public-page-standalone .public-page-content { padding: 32px; }
html.public-page-standalone .eto-main-container { margin: 0 auto; max-width: none; padding: 0; width: 100%; }
html.public-page-standalone .payment-page-content { padding: 0; }
html.public-page-standalone .public-page-loading { min-height: 280px; }
html.public-page-standalone .language-switcher-booking,
html.public-page-standalone .language-switcher-booking-widget,
html.public-page-standalone .language-switcher-customer { text-align: end; }
/* The public language menu is independent of the legacy widget controls. */
.public-page-language { display: flex; justify-content: flex-end; margin: 12px 16px; min-width: 0; }
html.public-page-embedded .public-page-language { justify-content: center; }
.public-page-language[hidden] { display: none !important; }
.public-language { color: #52677d; font-family: Roboto, Arial, sans-serif; position: relative; text-align: start; }
.public-language-toggle { align-items: center; background: #fff; border: 1px solid #dce5ed; border-radius: 9px; box-sizing: border-box; color: #52677d; cursor: pointer; display: flex; gap: 6px; justify-content: center; list-style: none; min-height: 34px; min-width: 46px; padding: 6px 9px; }
.public-language-code { display: none; font-size: 13px; font-weight: 500; line-height: 20px; }
.public-language-current { display: none; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.public-language-toggle::-webkit-details-marker { display: none; }
.public-language-toggle:hover, .public-language[open] > .public-language-toggle { background: #edf4f8; border-color: #aac7d9; color: #285c79; }
.public-language[open] .public-language-chevron { transform: rotate(180deg); }
.public-language-menu { background: #fff; border: 1px solid #dce5ed; border-radius: 14px; box-shadow: 0 12px 36px rgba(28,55,76,.16); box-sizing: border-box; margin-top: 8px; max-width: calc(100vw - 48px); overflow: hidden; position: absolute; right: 0; width: 256px; z-index: 1050; }
html.public-page-embedded .public-language-menu { left: 50%; right: auto; transform: translateX(-50%); }
.public-language-label { border-bottom: 1px solid #edf1f5; color: #64748b; font-size: 12px; font-weight: 500; line-height: 1.5; padding: 13px 16px; }
.public-language-options { list-style: none; margin: 0; max-height: 320px; max-height: min(320px, 55vh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; }
.public-language-options li { margin: 0; padding: 0; }
.public-language-options a { align-items: center; border-radius: 8px; color: #33475b; display: flex; font-size: 14px; font-weight: 400; gap: 12px; justify-content: space-between; line-height: 1.5; min-height: 44px; padding: 10px; text-decoration: none; }
.public-language-options a span { min-width: 0; overflow-wrap: anywhere; }
.public-language-options svg { flex-shrink: 0; visibility: hidden; }
.public-language-options a[aria-current] svg { visibility: visible; }
.public-language-options a:hover, .public-language-options a:focus { background: #f2f6f9; color: #20364a; text-decoration: none; }
.public-language-options a[aria-current] { background: #edf4f8; color: #285c79; font-weight: 500; }
.public-language-toggle:focus-visible, .public-language-options a:focus-visible { outline: 2px solid #317da5; outline-offset: 2px; }
html.public-page-standalone .public-page-surface { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
html.public-page-standalone .public-page-brand { grid-area: 1 / 1; min-width: 0; }
html.public-page-standalone .public-page-content { grid-area: 2 / 1; min-width: 0; }
html.public-page-standalone .public-page-language { align-self: center; grid-area: 1 / 1; justify-self: right; margin: 0 24px; position: relative; z-index: 1050; }
html.public-page-standalone .public-page-with-language .public-page-brand { padding-left: 100px; padding-right: 100px; }
@media (max-width: 540px) {
    html.public-page-standalone .public-page-language { margin: 0 16px; }
    html.public-page-standalone .public-page-with-language .public-page-brand { padding-left: 20px; padding-right: 112px; }
}
@media (max-width: 719px) {
    .public-language-code { display: block; }
}
@media (max-width: 359px) {
    .public-language-icon { display: none; }
    html.public-page-standalone .public-page-with-language .public-page-brand { padding-right: 88px; }
}
@media (min-width: 720px) {
    .public-language-current { display: block; }
    html.public-page-standalone .public-page-with-language .public-page-brand { padding-left: 220px; padding-right: 220px; }
}
/* Empty wrappers must not leave a gap when the language control moves into the booking steps. */
html.public-page-standalone .language-switcher-booking > .language-switcher,
html.public-page-standalone .language-switcher-booking-widget > .language-switcher,
html.public-page-standalone .language-switcher-customer > .language-switcher { margin-bottom: 16px; }
html.public-page-standalone .public-page-content .page-box { margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; overflow-wrap: anywhere; }
html.public-page-standalone .public-page-content .page-box-header { margin-top: 0; margin-bottom: 24px; }
html.public-page-standalone .public-page-content .page-box-title { font-size: 26px; line-height: 1.3; margin: 0 0 20px; }
html.public-page-standalone .public-page-content .page-box-header .page-box-title { margin-bottom: 0; }
html.public-page-standalone .public-page-content .page-box-content { font-size: 15px; line-height: 1.75; }
html.public-page-standalone .public-page-content .page-box-subheader { font-size: 18px; }
html.public-page-standalone .public-page-content .page-box-content li { margin-bottom: 8px; }
html.public-page-standalone .public-page-content .page-contact-link { margin-bottom: 5px; }
html.public-page-standalone .public-page-content .login-link { text-decoration: underline; }
html.public-page-standalone .public-page-document { overflow-wrap: anywhere; }
html.public-page-standalone .public-page-document img { height: auto; max-width: 100%; }
html.public-page-standalone .public-page-document table { max-width: 100%; }
html.public-page-standalone .public-page-document pre { white-space: pre-wrap; }
html.public-page-standalone .public-page-document .btn { border-radius: 9px; padding: 12px 22px; white-space: normal; }
html.public-page-standalone .public-page-download { text-align: center; }
html.public-page-standalone .public-page-download .title { font-size: 26px; line-height: 1.4; margin: 0 0 24px; overflow-wrap: anywhere; }
html.public-page-standalone .public-page-download .subtitle { font-size: 17px; line-height: 1.6; margin: 0 0 24px; }
html.public-page-standalone .public-page-download .link { font-size: 16px; margin: 0; }
html.public-page-standalone .public-page-download .link a { background: #317da5; border: 1px solid #317da5; border-radius: 9px; color: #fff; display: inline-block; padding: 12px 22px; text-decoration: none; }
html.public-page-standalone .public-page-surface a:focus-visible, html.public-page-standalone .public-page-surface button:focus-visible { outline: 3px solid #317da5; outline-offset: 3px; }
html.public-page-standalone .footer-branding a:hover, html.public-page-standalone .footer-branding a:focus-visible { color: #111 !important; text-decoration: underline; }
@media (max-width: 540px) {
    html.public-page-standalone .public-page { padding: 16px 12px; }
    html.public-page-standalone .public-page-brand { justify-content: flex-start; padding: 24px 20px; text-align: left; }
    html.public-page-standalone .public-page-brand > * { margin-left: 0; margin-right: auto; }
    .public-page-logo { max-height: 80px; }
    html.public-page-standalone .public-page-content { padding: 24px 20px; }
    html.public-page-standalone .public-page-loading { min-height: 240px; }
    html.public-page-standalone .page-box-header .pull-left,
    html.public-page-standalone .page-box-header .pull-right { float: none !important; }
}

/* Preserve compact legacy views while sharing the standalone public-page shell. */
html.public-page-standalone .public-page-brand-link { align-items: center; color: inherit; display: flex; justify-content: center; max-width: 100%; text-decoration: none; }
html.public-page-standalone .public-page-legacy-brand { display: none; }
html.public-page-standalone .public-page-booking-details { margin: 0 !important; max-width: none !important; padding: 0 !important; overflow-wrap: anywhere; }
html.public-page-standalone .public-page-booking-details .label-box { color: #64748b; }
html.public-page-standalone .public-page-booking-details .header-box { color: #223247; font-size: 18px; margin-bottom: 12px; }
html.public-page-standalone .public-page-booking-details .section-box { margin-bottom: 24px; }
.public-page-content #feedback > .row { margin-left: 0; margin-right: 0; }
html.public-page-standalone .public-page-feedback-column { float: none; margin-left: 0; padding-left: 0; padding-right: 0; width: 100%; }
html.public-page-standalone #feedback .form-control { height: 44px; padding: 12px; }
html.public-page-standalone #feedback .iti--allow-dropdown input.form-control { padding-left: 52px; }
html.public-page-standalone #feedback textarea.form-control { height: auto; min-height: 86px; }
html.public-page-standalone #feedback button[type="submit"] { min-height: 44px; padding: 11px 24px; white-space: normal; }

/* Customer authentication shares the shell; authenticated and embedded panels retain their layout. */
.customer-page-loader > .public-page-loading { display: none; }
html.public-page-redirecting .customer-page-loader > .public-page-loading,
html.public-page-standalone .customer-page-loader > .public-page-loading { display: flex; }
html.public-page-redirecting .customer-page-loader > .loadingContainer,
html.public-page-standalone .customer-page-loader > .loadingContainer { display: none; }
html.public-page-standalone .customer-page-standalone > .row > [class*="col-"] { float: none; margin-left: 0; padding-left: 0; padding-right: 0; width: 100%; }
html.public-page-standalone #etoMainContainer.customer-page-standalone form > h3 { font-size: 26px; line-height: 1.3; margin: 0 0 24px; }
