#logo_gew_app,
#logo_gew_niedersachsen {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

#oob_offline_message {
    margin-bottom: 3rem;
}

#prebooking-form,
#preentry-form {
    position: sticky;
    top: 2rem;
}

.mark {
    background-color: beige;
}

#prebookings_active {
    margin-bottom: 1rem;
}

.mobile-chart-container {
    padding-left: 0;
    padding-right: 0;
    margin-left: -5px;
    margin-right: -5px;
}

@media screen and (min-width: 1024px) {
    .chart-container {
        max-width: 1024px !important;
    }
}

@media print {
    .hide-in-print {
        display: none;
    }
}

#sync-conflict-box {
    margin-top: 1rem !important;
}

#sync-conflict-box h1 {
    font-size: 1.5rem !important;
    font-weight: bold !important;
    margin-bottom: 0.5rem !important;
}

#sync-conflict-box li {
    font-family: monospace;
    padding-left: 5px;
    padding-right: 5px;
    word-break: break-word;
    /*hyphens: auto;*/
}

.mark-as-conflict {
    background: hsl(44, 100%, 77%);
    border: wheat;
    border-style: unset;
    border-radius: 10px;
    margin-bottom: 2px;
}

.iz-disabled {
    background-color: #ccc; /* Change the background color to a gray shade */
    color: #666; /* Change the text color */
    cursor: not-allowed; /* Change the cursor to 'not-allowed' */
    opacity: 0.6; /* Reduce opacity to indicate it's disabled */
    pointer-events: none; /* Disable pointer events */
    border: none; /* Optionally, remove the border */
    padding: 10px 20px; /* Adjust padding as needed */
    border-radius: 5px; /* Optionally, add rounded corners */
}

.iz-pseudo-button {
    pointer-events: none; /* Disable pointer events */
    cursor: none; /* Change the cursor to 'not-allowed' */
}

/* htmx loading extension styles */
[data-loading] {
    display: none;
}

.wrap-button-text {
    height: max-content;
    white-space: inherit;
}

.sync-conflict-text-container {
    text-align: center;
}

.center-align-buttons {
    text-align: center;
}

.center-align-buttons button {
    margin: 5px;
    display: inline-block;
}

#sync-conflict-text {
    margin-bottom: 10px;
}

#sync-conflict-direction-choices.is-hidden {
    display: none;
}

.sync-conflict-text-container.is-hidden {
    display: none;
}

#sync-conflict-direction-choices {
    display: flex;
    justify-content: center;
}

#sync-conflict-direction-choices button {
    white-space: normal;
}

.css-debugger {
    border: 2px solid red;
}

#floating-school-list-display-taxi {
    position: relative;
    width: 100%;       
}

.school-list {
    position: absolute;
    left:0;
    z-index: 99999;
    list-style: none;
    background-color: #FFFFFF;
    border: 1px solid #000000;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    overflow-y: auto;
    max-height: 10em;
}

.school-list-items {
    padding: 12px 10px;
}

.school-list-items:hover {
    background-color: #00d1b2;
    color: #FFFFFF;
}

 /*
        Mobile Card-Darstellung für die Vertrags-Tabelle.
        Unterhalb von 769px (Bulma's Tablet-Breakpoint) wird
        jede Tabellenzeile als eigenständige Card dargestellt.
    */
    @media screen and (max-width: 768px) {

        /* Tabellen-Elemente zu Block-Elementen machen */
        .contracts-table,
        .contracts-table tbody,
        .contracts-table tr,
        .contracts-table td {
            display: block;
            width: 100%;
        }

        /* Kopfzeile verstecken – Labels kommen aus data-label */
        .contracts-table thead {
            display: none;
        }

        /* Jede Zeile als Card darstellen */
        .contracts-table tr {
            background: #fff;
            border: 1px solid #dbdbdb;
            border-radius: 6px;
            margin-bottom: 1rem;
            padding: 0.75rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        }

        /* Zebra-Streifen auf Mobile deaktivieren */
        .contracts-table.is-striped tbody tr:nth-child(even) {
            background: #fff;
        }

        /* Jede Zelle: Label links, Inhalt rechts */
        .contracts-table td {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.25rem;
            padding: 0.4rem 0.25rem;
            border: none;
            border-bottom: 1px solid #f0f0f0;
        }

        .contracts-table td:last-child {
            border-bottom: none;
        }

        /* Label aus data-label anzeigen */
        .contracts-table td::before {
            content: attr(data-label);
            font-weight: 600;
            color: #4a4a4a;
            flex-shrink: 0;
            margin-right: 0.5rem;
        }

        /* Zellen ohne Label (leere Spalten) kompakter darstellen */
        .contracts-table td[data-label=""]::before {
            display: none;
        }

        /* Buttons in der Card linksbündig und umgebrochen */
        .contracts-table td .buttons {
            justify-content: flex-start;
            flex-wrap: wrap;
        }
    }
