/*
 * © by www.GeRockt.net Dieser Code ist urheberrechtlich geschützt.
 */
html:has(body.fst-embed-page) {
    overflow-y: auto;
    height: auto;
}

.fst-embed-page,
.code-iframe-preview {
    --fst-embed-card-bg: #ffffff;
    --fst-embed-text: #0f172a;
    --fst-embed-label: #64748b;
    --fst-embed-input-bg: #ffffff;
    --fst-embed-input-text: #0f172a;
    --fst-embed-input-border: #dbe3ef;
    --fst-embed-button-bg: #2563eb;
    --fst-embed-button-text: #ffffff;
    --fst-embed-lead-font-size: 18px;
    --fst-embed-input-min-height: 52px;
    --fst-embed-input-font-size: 17px;
    --fst-embed-button-min-height: 48px;
}

.fst-embed-page {
    margin: 0;
    background: transparent;
    overflow-x: hidden;
    overflow-y: visible;
    height: auto;
    min-height: 0;
}

.fst-embed-shell.public-page {
    min-height: auto;
    height: auto;
    padding: 0;
    display: block;
    place-items: unset;
    background: transparent;
}

.fst-embed-card {
    box-shadow: none;
    border: 0;
    padding: 12px 12px 16px;
    margin: 0;
    max-width: none;
    width: 100%;
    background: var(--fst-embed-card-bg);
}

.fst-embed-teaser {
    padding: 10px 12px 14px;
}

.fst-embed-teaser-lead {
    margin: 0 0 12px;
    font-size: var(--fst-embed-lead-font-size);
    font-weight: 700;
    color: var(--fst-embed-text);
}

.fst-embed-teaser-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fst-embed-teaser .customer-booking-datetime {
    gap: 12px;
}

.fst-embed-teaser .customer-booking-label {
    color: var(--fst-embed-label);
}

.fst-embed-teaser .customer-booking-input--date,
.fst-embed-teaser .customer-booking-input--time,
.code-iframe-preview .customer-booking-input--date,
.code-iframe-preview .customer-booking-input--time {
    display: block;
    width: 100%;
    height: var(--fst-embed-input-min-height);
    min-height: var(--fst-embed-input-min-height);
    font-size: var(--fst-embed-input-font-size);
    color: var(--fst-embed-input-text);
    background: var(--fst-embed-input-bg);
    border: 1px solid var(--fst-embed-input-border);
    border-radius: 12px;
    box-sizing: border-box;
    text-align: center;
    padding: 0 40px 0 12px;
    line-height: calc(var(--fst-embed-input-min-height) - 2px);
    font-weight: 600;
    letter-spacing: .01em;
}

.fst-embed-teaser .customer-booking-input--date::-webkit-datetime-edit,
.fst-embed-teaser .customer-booking-input--time::-webkit-datetime-edit,
.code-iframe-preview .customer-booking-input--date::-webkit-datetime-edit,
.code-iframe-preview .customer-booking-input--time::-webkit-datetime-edit {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    margin: 0;
}

.fst-embed-teaser .customer-booking-input--date::-webkit-date-and-time-value,
.fst-embed-teaser .customer-booking-input--time::-webkit-date-and-time-value,
.code-iframe-preview .customer-booking-input--date::-webkit-date-and-time-value,
.code-iframe-preview .customer-booking-input--time::-webkit-date-and-time-value {
    text-align: center;
}

.fst-embed-teaser .customer-booking-input--date::-webkit-calendar-picker-indicator,
.fst-embed-teaser .customer-booking-input--time::-webkit-calendar-picker-indicator,
.code-iframe-preview .customer-booking-input--date::-webkit-calendar-picker-indicator,
.code-iframe-preview .customer-booking-input--time::-webkit-calendar-picker-indicator {
    transform: scale(1.15);
    cursor: pointer;
}

.code-iframe-preview .fst-embed-teaser-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.code-iframe-preview .customer-booking-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fst-embed-teaser-button,
.code-iframe-preview .fst-embed-teaser-button {
    width: 100%;
    text-align: center;
    min-height: var(--fst-embed-button-min-height);
    line-height: 1.2;
    box-sizing: border-box;
    background: var(--fst-embed-button-bg) !important;
    color: var(--fst-embed-button-text) !important;
    border: 0;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.code-iframe-preview .fst-embed-card {
    box-shadow: none;
    border: 0;
    padding: 10px 12px 14px;
    background: var(--fst-embed-card-bg);
}

.code-iframe-preview .fst-embed-teaser-lead {
    margin: 0 0 12px;
    font-size: var(--fst-embed-lead-font-size);
    font-weight: 700;
    color: var(--fst-embed-text);
}

.code-iframe-preview .customer-booking-label {
    font-weight: 700;
    font-size: .95rem;
    color: var(--fst-embed-label);
}

.code-iframe-preview .customer-booking-datetime {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 640px) {
    .code-iframe-preview .customer-booking-datetime {
        grid-template-columns: 1fr;
    }
}
