/* Urlaubia-Rahmen und gezielte TBE-Designanpassungen. */
.urlaubia-booking {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 32px;
    color: #202733;
}
.urlaubia-booking .urlaubia-booking-intro {
    margin: 0 0 22px;
    padding: 16px 20px;
    border-left: 4px solid #ffc400;
    border-radius: 0 8px 8px 0;
    background: #e4eef7;
}
.urlaubia-booking .urlaubia-booking-intro p {
    margin: 0;
    color: #073e78;
    font-size: 16px;
    line-height: 1.6;
}
.urlaubia-booking .urlaubia-booking-engine {
    width: 100%;
    min-width: 0;
    background: #fff;
}
.urlaubia-booking tbe {
    display: block;
    width: 100%;
    min-width: 0;
}
.urlaubia-booking .urlaubia-booking-help {
    margin: 22px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: #455365;
}
.urlaubia-booking .urlaubia-booking-help a {
    color: #0555a3;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.urlaubia-booking .urlaubia-booking-help a:focus-visible {
    outline: 3px solid #0555a3;
    outline-offset: 4px;
}
@media (max-width: 600px) {
    .urlaubia-booking .urlaubia-booking-intro {
        padding: 12px 14px;
        margin-bottom: 16px;
    }
    .urlaubia-booking .urlaubia-booking-intro p {
        font-size: 14px;
    }
}

/* Version 1.1.0: TBE gezielt gegen Soledad-Formularregeln absichern. */
.urlaubia-booking tbe,
.urlaubia-booking tbe input,
.urlaubia-booking tbe select,
.urlaubia-booking tbe textarea,
.urlaubia-booking tbe button {
    font-family: Arial, Helvetica, sans-serif;
}
.urlaubia-booking tbe *,
.urlaubia-booking tbe *::before,
.urlaubia-booking tbe *::after {
    box-sizing: border-box;
}
.urlaubia-booking tbe .tbe-primary-button {
    background: #0555a3 !important;
    color: #fff !important;
    border: 1px solid #0555a3 !important;
    border-radius: 7px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}
.urlaubia-booking tbe .tbe-primary-button:hover:not(:disabled) {
    background: #073e78 !important;
    border-color: #073e78 !important;
}
.urlaubia-booking tbe .tbe-primary-button:focus-visible {
    outline: 3px solid #009de0 !important;
    outline-offset: 3px;
}
.urlaubia-booking tbe .tbe-primary-button:disabled {
    background: #dce6f0 !important;
    border-color: #c3d1df !important;
    color: #526174 !important;
    cursor: not-allowed;
}
.urlaubia-booking tbe .tbe-searchpage .tbe-primary-button {
    min-height: 40px;
    height: auto;
    padding: 8px 15px !important;
}
.urlaubia-booking tbe .tbe-searchpage .tbe-input-label {
    margin: 0 0 8px !important;
    font-size: 14px;
    line-height: 1.45;
    color: #172d48;
}
.urlaubia-booking tbe .tbe-switch__tab {
    margin: 0;
    padding-top: 9px;
    padding-bottom: 9px;
    line-height: 1.5;
    min-height: 42px;
}

/* Nur die Hauptsuchmaske für Pauschalreisen, keine Ergebnis-/Buchungsformulare.
   Die Selektoren folgen der aktuell ausgelieferten TBE-Komponentenstruktur. */
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: end;
    float: none !important;
    width: 100% !important;
    padding: 20px !important;
    margin: 0;
    background: #f3f7fb;
    border: 1px solid #dce6ef;
    border-radius: 10px;
    overflow: visible;
}
/* Eventuelle Clearfix-Pseudoelemente dürfen keine Grid-Zellen erzeugen. */
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child::before,
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child::after {
    content: none !important;
}
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > * {
    display: block;
    min-width: 0;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Von der Anwendung ausgeblendete Komponenten bleiben ausgeblendet. */
.urlaubia-booking tbe .tbe-searchpage > form > .tbe-searchbox:first-child > .tbe-hidden {
    display: none !important;
}
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-autosuggest > .tbe-autosuggest-component,
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-airports > .tbe-airports-component,
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-timespan > .tbe-timespan-component,
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-travellers > .tbe-travellers-component,
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-stars > .tbe-stars-component,
.urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-price > .tbe-price-component {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (min-width: 900px) {
    .urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-autosuggest,
    .urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-airports,
    .urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-timespan,
    .urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-travellers {
        grid-column: span 3;
    }
    .urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-stars,
    .urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > searchbox-price,
    .urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child > .tbe-searchbox__submit {
        grid-column: span 2;
    }
}
@media (max-width: 599px) {
    .urlaubia-booking tbe .tbe-searchpage:not(.tbe-searchpage--hotel):not(.tbe-searchpage--flight) > form > .tbe-searchbox:first-child {
        padding: 14px !important;
        gap: 14px;
    }
}

/* 1.2.0: Originalgröße der Veranstalterlogos in der Angebotsliste. */
.urlaubia-booking tbe .tbe-offer__operator img {
    height: 21px !important;
    width: auto !important;
    max-height: 21px !important;
    max-width: 100% !important;
    object-fit: contain;
}
