/* Theme-integrierte Embed-Seite: iframe füllt die verfügbare Viewport-Höhe. */

body.orbance-embed-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.orbance-embed-page #page,
body.orbance-embed-page .site {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

body.orbance-embed-page .site-content,
body.orbance-embed-page #content,
body.orbance-embed-page main:not(.orbance-embed-main) {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.orbance-embed-main [data-orbance-embed] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.orbance-embed-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: var(--orbance-embed-min-height, calc(100dvh - 12rem));
}

.orbance-embed-iframe {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: var(--orbance-embed-min-height, calc(100dvh - 12rem));
    border: 0;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
}

/* Shortcode: Buchungsformular in beliebigen Seiten/Beiträgen. */
.orbance-booking-shortcode {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 1.5rem 0;
    overflow: visible;
    box-sizing: border-box;
}

.orbance-embed-badge-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    margin-bottom: 5px;
    overflow: visible;
    padding-bottom: 1px;
}

.orbance-embed-badge-wrap[hidden] {
    display: none !important;
}

.orbance-badge,
.orbance-badge:link,
.orbance-badge:visited,
.orbance-badge:hover,
.orbance-badge:focus,
.orbance-badge:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.orbance-badge span,
.orbance-badge svg {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

.orbance-booking-shortcode--iframe .orbance-embed-iframe,
.orbance-booking-page-embed .orbance-embed-iframe {
    min-height: 120px;
    height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
}

.orbance-booking-inline-main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.orbance-booking-inline-main--with-header {
    box-sizing: border-box;
}

.orbance-booking-inline-main--with-header *,
.orbance-booking-inline-main--with-header *::before,
.orbance-booking-inline-main--with-header *::after {
    box-sizing: border-box;
}

.orbance-booking-inline-body {
    padding-top: 1.5rem;
}

.orbance-booking-inline-page .orbance-booking-page-embed {
    margin: 1.5rem 0;
}

.orbance-booking-inline-main--with-header .orbance-booking-page-embed {
    margin-top: 0;
}

.orbance-booking-shortcode--legacy .orbance-booking-shortcode__legacy-card,
.orbance-booking-shortcode--error,
.orbance-booking-shortcode--info {
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.orbance-booking-shortcode--error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.orbance-booking-shortcode__legacy-title {
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.orbance-booking-shortcode__legacy-text {
    margin: 0 0 1rem;
    color: #475569;
}

.orbance-booking-shortcode__legacy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.125rem;
    min-height: 2.75rem;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    box-sizing: border-box;
}

.orbance-booking-shortcode__legacy-link:hover {
    background: #1d4ed8;
    color: #fff;
}

.orbance-booking-shortcode__legacy-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #2563eb;
    background: #1d4ed8;
    color: #fff;
}

.orbance-booking-shortcode .screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.orbance-booking-overlay-shell {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.orbance-booking-overlay-shell__inner {
    text-align: center;
}

.orbance-booking-overlay-shell__status {
    margin: 0 0 1rem;
    color: #475569;
}

.orbance-booking-overlay-shell__fallback {
    margin: 0;
}
