﻿.footer {
    background-color: #7c0602;
}

.jumbotron {
    background: rgba(233,236, 239,0.9);
}

.logosmallindex {
    max-width: 300px;
    max-height: 120px;
}

.logosmallfooter {
    max-width:200px;
    max-height:60px;
}

.logobackgroundwhite {
    background-color:white;
}

.booking_possible {
    background-color: lawngreen !important;
    filter: brightness(70%);
}

.booking_free {
    background-color: lawngreen !important;
    cursor: pointer;
}

.booking_own {
    background-color: cornflowerblue !important;
}

.booking_occupied {
    background-color: red !important;
}

/* Startzeit frei, aber Folgezeit belegt (Slot-Workflow, #91) */
.booking_unavailable {
    background-color: #e9ecef !important;
}

a {
    text-decoration:none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
. /*field-validation-error {
    color: #f00;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid {
    display: none;
}*/

.form-control.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.input-validation-error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

textarea.form-control.input-validation-error {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.form-select.input-validation-error {
    border-color: #dc3545;
}

    .form-select.input-validation-error:not([multiple]):not([size]), .form-select.input-validation-error:not([multiple])[size="1"] {
        padding-right: 4.125rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
        background-position: right 0.75rem center, center right 2.25rem;
        background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }

    .form-select.input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

.form-check-input.input-validation-error {
    border-color: #dc3545;
}

    .form-check-input.input-validation-error:checked {
        background-color: #dc3545;
    }

    .form-check-input.input-validation-error:focus {
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

    .form-check-input.input-validation-error ~ .form-check-label {
        color: #dc3545;
    }

.form-check-input ~ .field-validation-error {
    margin-left: 0.5em;
}

.input-group .form-control.input-validation-error, .input-group .form-select.input-validation-error {
    z-index: 2;
}

    .input-group .form-control.input-validation-error:focus, .input-group .form-select.input-validation-error:focus {
        z-index: 3;
    }

.field-validation-valid {
    display: none;
}

.field-validation-error {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.validation-summary-errors {
    font-weight: bold;
    color: #dc3545;
}

.validation-summary-valid {
    display: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.loadingdiv {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('./FhHRx.gif') 50% 50% no-repeat;
    text-align: center;
    vertical-align: middle;
}

body.loading {
    overflow: hidden;
}

body.loading .loadingdiv {
    display: block;
}

.input-group-append, .input-group-prepend {
    display: -ms-flexbox;
    display: flex;
}

/* #211–#214 (E061): Rechtsseiten wie die Vertragsbuchung (Tailwind "prose"): Text ohne Hintergrundbox,
   Plattformbetreiber als helle Karte. Farben der Karte und des Hinweises fest, damit Studio-CSS
   (z. B. weiße Schrift) sie nicht unlesbar macht. */
.legal-page {
    max-width: 52rem;
    margin: 2rem auto 3rem;
    padding: 2.5rem 3rem;
    line-height: 1.7;
    /* Weiße Lesefläche wie die Vertragsbuchung: Studio-Hintergrundbilder (partner2020.css) machen Text sonst unlesbar. */
    background: #fff;
    color: #212529;
    border-radius: .5rem;
    box-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .15);
}
.legal-page h1, .legal-page h2, .legal-page h3 { color: #111827; }
@media (max-width: 575.98px) {
    .legal-page { padding: 1.5rem 1.25rem; margin-top: 1rem; }
}
.legal-page h1 {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
}
.legal-page h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}
.legal-page h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 .75rem;
}
.legal-page section > h2:first-child { margin-top: 0; }
.legal-page p, .legal-page address, .legal-page ul { margin-bottom: 1.1rem; }
.legal-page address { font-style: normal; }
.legal-page a { text-decoration: underline; color: inherit; }
.legal-page hr { margin: 3rem 0; border-top: 1px solid #d1d5db; opacity: 1; }
.legal-page .legal-table { width: 100%; border-collapse: collapse; font-size: .875rem; margin: 1.25rem 0 1.5rem; }
.legal-page .legal-table th { font-weight: 600; text-align: left; vertical-align: bottom; padding: 0 .75rem .6rem 0; border-bottom: 1px solid rgba(127, 127, 127, .45); }
.legal-page .legal-table td { vertical-align: top; padding: .6rem .75rem .6rem 0; border-bottom: 1px solid rgba(127, 127, 127, .2); }
.legal-page .legal-link-button {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: .375rem;
    font-weight: 500;
    text-decoration: none;
}
.legal-page .legal-direct { font-size: .875rem; word-break: break-all; color: #4b5563; }

.legal-platform {
    margin-top: 4rem;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    background: #f9fafb;
    color: #111827;
    padding: 1.5rem;
    font-size: .875rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.legal-platform p, .legal-platform address { margin: 0; }
.legal-platform a { color: #111827; text-decoration: underline; }
.legal-platform .legal-platform-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}
.legal-page .legal-platform h2 { font-size: 1rem; font-weight: 700; margin: 0; color: #111827; }
.legal-platform .legal-platform-logo { width: 110px; height: auto; }

.privacy-notice, .privacy-notice a { color: #495057 !important; }
.privacy-notice a { text-decoration: underline; }

.footer .footer-changelog {
    font-size: 0.625rem;
    line-height: 1.4;
}
