body {
	background-color: transparent; /* Transparenten Hintergrund setzen */
  overflow: auto;
  width: 100%;
  height: auto;
  max-width: none;
  font-family: Arial, sans-serif; /* Setzt die Schriftart für den gesamten Body */
}

.container-title {
  margin: 0 auto;
  padding-bottom: 20px; /* Abstand zum unteren Rand */
}

.container-scroll {
    max-height: 150vh; /* Adjust this value as needed */
    overflow: auto;
    padding: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.titel-preview {
  font-size: 32px;
}

/* iframe Definitionen */
/*===============================================================*/
iframe {
      border: none;
      background-color: transparent; /* Transparenten Hintergrund setzen */
}
	
.iframe-container {
      width: 100%;
      height: 100vh; /* Optional: Nutzt die gesamte Höhe des Viewports */
    }

.container, .container-fluid, .row, .col, .p-0, .m-0 {
  padding: 0 !important;
  margin: 0 !important;
}

.restaurant-image {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

.menue-pos {
  position: relative;
  width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: rgba(255,255,255,0.79);
  border-radius: 20px;
  margin-bottom: 50px;
  padding: 20px;
}

/* Mobile Padding, damit abgerundete Smartphones richtig anzeigen
/*===============================================================*/
/* Kleines Fenster */
.small-padding {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Sehr kleines Fenster */
.very-small-padding {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

/* Smartphones – etwas mehr Innenrand, damit nichts am Rand klebt */
.mobile-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;

    /* Safe-Area-Unterstützung (z. B. iPhone mit Notch) */
    padding-left: calc(1.5rem + env(safe-area-inset-left));
    padding-right: calc(1.5rem + env(safe-area-inset-right));
}

/* Iframe Anzeige für alle */
/*=================================================*/
.scaling-container[data-base-width="400"] {
    border: none; /* KEIN Rahmen */
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); /* Leichter Schatten */
    transform-origin: top center;
}

/* Titel */
.oeffnungszeiten-title {
    font-family: 'Acme', sans-serif;
    font-size: 44px !important;
    color: #333333; /* Neutrales Dunkelgrau */
    margin: 0.5rem 0 1.5rem 0;
    text-align: center;
    line-height: 1.2;
    font-weight: normal;
}

/* Haupt-Container für Tabelle */
#opening-hours-container {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

/* Tabelle Öffnungszeiten */
/*========================================*/
/* Compact Hours Container */
.compact-hours-container {
    width: 100%;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06); /* Sehr leichter Schatten */
    border: none;
    overflow: hidden;
}

/* Zeile */
.compact-hours-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0; /* Sehr dezente Linie */
    background: white;
}

.compact-hours-item:hover {
    background-color: #fafafa; /* Sehr heller Hover */
}

.compact-hours-item:last-child {
    border-bottom: none;
}

/* Wochentag */
.compact-hours-day {
    font-weight: 600; /* Semi-bold statt bold */
    min-width: 70px;
    padding-right: 12px;
    color: #444444; /* Neutrales Grau */
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Zeiten */
.compact-hours-times {
    flex: 1;
    text-align: left;
}

.compact-time-slot {
    margin-bottom: 4px;
    line-height: 1.4;
    color: #666666; /* Mittelgrau */
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.compact-time-slot:last-child {
    margin-bottom: 0;
}

/* Heutiger Tag - dezente Hervorhebung */
.compact-hours-item.today {
    background-color: #f8f9fa; /* Sehr helles Grau */
    /* KEIN farbiger Rahmen */
}

.compact-hours-item.today .compact-hours-day {
    color: #222222; /* Etwas dunkler */
    font-weight: 700;
}

/* Geschlossen */
.closed {
    color: #888888 !important; /* Grau statt Rot */
    font-weight: 500;
}

/* Preview Tafel Anzeige Definitionen */
/*===============================================================*/
.tafel-container {
  padding: 25px; /* Der sichtbare Rand */
  background-color: rgba(255, 255, 255, 0.5); /* Randfarbe */
  border-radius: 25px; /* Rundungen passend zur Tafel */
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3); /* Leichter Schatten */
  display: inline-block; /* Passt die Größe an den Inhalt an */
}

/* Titel bei Input Betriebsferien */
.border-tafel-image {
  border-radius: 25px;
  box-shadow: 10px 15px 15px rgba(0, 0, 0, 0.4); /* Leichter Schatten */
}


/* Wrapper der Tafel */
.anzeige-tafel-wrapper {
  background-color: rgb(53, 52, 52); /* Hintergrundfarbe für den sichtbaren Rand */
  padding: 5px; /* Erzeugt den Rand */
  border-radius: 25px; /* Gleiche Rundung wie die Tafel + Padding */
  display: inline-block; /* Passt die Größe an die Tafel an */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Optional: Schatten für besseren Kontrast */
}

/* Betriebsferien Tafel */
.anzeige-tafel {
  position: relative; /* Basis für absolute Positionierung */
  width: 350px;
  height: 400px;
  background-color: rgba(0, 0, 0, 0.7); /* Schwarzer Hintergrund */
  border-radius: 25px;
  overflow: hidden;
}

/* Bild in der Tafel */
.anzeige-tafel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Bild füllt die Breite der Tafel */
  height: 100%; /* Bild füllt die Höhe der Tafel */
  object-fit: cover; /* Bild proportional einpassen */
  z-index: 1; /* Bild im Hintergrund */
}

/* Dynamischer Text */
.anzeige-tafel-text {
  display: flex; /* Aktiviert Flexbox */
  flex-direction: column; /* Stapelt Kinder untereinander */
  align-items: center; /* Zentriert die Kinder horizontal */
  justify-content: flex-start; /* Startet oben im Container */
  position: absolute;
  top: 0%; /* Startet leicht unterhalb der oberen Kante */
  left: 50%; /* Zentriert horizontal */
  transform: translateX(-50%); /* Horizontal verschieben */
  z-index: 2;
  padding: 5px; /* Abstand innerhalb des Containers */
  width: 90%; /* Breite des Containers */
  text-align: center; /* Zentriert den Text */
  gap: 4px; /* Abstand zwischen Titel und Textzeilen */
  line-height: 1.8;
  white-space: nowrap; /* kein Umbruch */
}

/* Titel (h1) */
.anzeige-tafel-titel {
  font-family: 'Delicious Handrawn', sans-serif;
  font-size: 38px;
  color: rgb(255, 255, 255);
  margin: 0 0 15px 0; /* Abstand unterhalb des Titels */
}

/* Textzeilen (p) */
.anzeige-tafel-line {
  font-family: 'Delicious Handrawn', sans-serif;
  font-size: 25px;
  color: rgb(255, 255, 255);
  margin: 9px 0; /* Abstand zwischen den Textzeilen */
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

/* Umschaltung Anzeige Button Bewertung in menuetafel.php */
.hidden-custom {
  display: none !important;
}

/* Sterne und Herz Definitionen */
/*===============================================================*/
/*.position-sterngruppe {
  position: relative;
  left: 100px;
} */

.star, .heart-container {
  font-size: 1.5em;
  cursor: pointer;
  display: inline-block;
}

.star {
  color: lightgray;
}

.star.selected {
  color: gold;
  border: 0px;
}



/* Herz besteht aus 3 Quadraten um 45 Grad gedrecht */
/* dies ist das untere Quadrat für die Spitze des Herzens */
.heart {
  position: relative;
  width: 0.38em;
  height: 0.38em;
  margin-bottom: 3px;
  background-color: lightgray;
  position: relative;
  transform: rotate(-45deg);
  transition: background-color 0.3s;
  margin-left: 10px;
}

/* dies sind die beiden oberen Quadrate */
/* sie werden mit dem Borderradius zu Kreisen */
.heart::before,
.heart::after {
  content: '';
  width: 0.38em;
  height: 0.38em;
  background-color: lightgray;
  border-radius: 50%;
  position: absolute;
  transition: background-color 0.3s;
}

.heart::before {
  top: -0.18em;
  left: 0;
}

.heart::after {
  right: -0.18em;
  top: 0;
}

.heart.selected,
.heart.selected::before,
.heart.selected::after {
  background-color: red;
  border: 0px;
}

/* Tagesmenü Eingaben, Auswahl über DB
/*===============================================================*/
/* Container für das Eingabefeld und die Vorschlagsliste */
.menue-input-container {
  position: relative; /* Ermöglicht absolute Positionierung der Dropdown-Liste */
  width: 200px; /* Breite des Containers */
  margin: 50px auto; /* Zentriert den Container horizontal und gibt vertikalen Abstand */
}

/* Stile für das Eingabefeld */
.menue-beilagen {
  width: 100%; /* Vollständige Breite des Containers */
  padding: 10px; /* Innenabstand */
  font-size: 16px; /* Schriftgröße */
  border: 1px solid #ccc; /* Rahmen um das Eingabefeld */
  border-radius: 4px; /* Abgerundete Ecken */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Schatten für 3D-Effekt */
}

.postion-relative {
  position: relative;
}

/* Stile für die Dropdown-Liste */
/* Stil für das Pulldown-Menü (.menue-list) */
.menue-list {
  position: absolute; /* Positioniert die Liste relativ zum Container */
  top: 100%;
  left: 0;
  width: 100%; /* Passt die Breite an das Eingabefeld an */
  background-color: white; /* Setzt weißen Hintergrund für das Menü */
  border: 1px solid #ccc; /* Umrandung des Menüs für klare Abgrenzung */
  border-top: none; /* Entfernt den oberen Rand für nahtlose Verbindung */
  max-height: 200px; /* Begrenzt die Höhe des Menüs, um Scrollbars zu ermöglichen */
  overflow-y: auto; /* Fügt vertikale Scrollbars hinzu, wenn die Höhe überschritten wird */
  list-style-type: none; /* Entfernt Aufzählungszeichen für Listeneinträge */
  padding: 0; /* Entfernt Innenabstand der Liste */
  margin: 0; /* Entfernt Außenabstand der Liste */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Fügt Schatten hinzu für 3D-Effekt */
  z-index: 1000; /* Priorisiert die Liste über anderen Elementen */
}

/* Stile für die einzelnen Listeneinträge (.menue-list li) */
.menue-list li {
  display: flex; /* Aktiviert Flexbox für einfache Ausrichtung */
  justify-content: space-between; /* Verteilt den Platz zwischen den Elementen */
  padding: 10px; /* Fügt Abstand innerhalb der Listeneinträge hinzu */
  cursor: pointer; /* Zeigt an, dass Listeneinträge anklickbar sind */
}

/* Hover- und Hervorhebungsstil für Listeneinträge */
.menue-list li:hover,
.menue-list .highlighted {
  background-color: #f0f0f0; /* Ändert Hintergrundfarbe bei Hover oder Hervorhebung */
}

/* Stil für den Löschen-Button */
.delete-button {
  color: red; /* Textfarbe für den Löschen-Button */
  font-weight: bold; /* Fettdruck für den Löschen-Button */
  cursor: pointer; /* Zeigt an, dass der Button anklickbar ist */
  margin-left: 10px; /* Abstand zum Text */
  font-size: 18px; /* Schriftgröße */
}

/* Klasse für versteckte Elemente */
.hidden {
  display: none; /* Versteckt Elemente */
}

.header-background {
  background: url('/../assets/img/TitelBildRestaurantFunkyWebBox.jpg') bottom / cover no-repeat;
  height: 500px;
}

/* Tooltip Fragenzeichen hinter Input Feld
/*===============================================================*/
.info-icon {
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 22px;
  line-height: 24px;
  display: flex; 
  justify-content: center;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;  /* Abstand vom Input */
  position: static;   /* Statt absolute, damit es nicht überlappt */
}

/* alle Tooltip anpassen */
.tooltip-inner {
  max-width: 300px !important; /* Standard-Breite überschreiben */
  white-space: normal !important; /* Zeilenumbrüche erlauben */
  text-align: left !important; /* Falls nötig, Text linksbündig */
  background-color: #007bff !important; /* Falls du die Farbe ändern willst */
  color: white !important;
}

.kommentar {
  color: #9e9e9e;
}



/* Enable und Disable Services
/*===============================================================*/
.disabled-section {
  pointer-events: none; /* Deaktiviert alle Interaktionen */
  opacity: 0.5; /* Reduziert Sichtbarkeit für den visuellen Effekt */
}

.disabled-link {
  pointer-events: none;
  color: gray; /* Link wird optisch deaktiviert */
  text-decoration: none;
}


/* Flatpickr Anzeigen
/*===============================================================*/
/* Generelle Markierung für hervorgehobene Tage (Einträge in der DB) */
.flatpickr-day.highlight-day {
  background-color: rgba(0,123,255,0.4) !important; /* Heller Blauton für Tage mit Einträgen */
  border-radius: 50%; /* Runde Form */
  color: #000; /* Schwarze Schriftfarbe */
  font-weight: normal; /* Keine Hervorhebung der Schrift */
}

/* Spezielle Regel für den ausgewählten Tag (dunkelblau) */
.flatpickr-day.selected {
  background-color: rgba(0,123,255,0.7) !important; /* Blauton für Tage mit Einträgen */
  color: #ffffff !important; /* Weiße Schriftfarbe */
  border-radius: 50%; /* Runde Form */
  font-weight: bold; /* Fett für besseren Kontrast */
}

/* 360 Grad View Input
/*===============================================================*/
.input-view {
  width: auto;
  height: 200px;
  box-sizing: border-box;
  border: solid 2px;
  border-radius: 20px;
  border-color: #f0f0f0;
  z-index: -1;
}

.titelbild-section {
  background-image: url('/assets/img/TitelbildRestaurantFunkyWebBox.jpg');
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
}

.shadow-text {
  color: rgb(255, 255, 255);
  text-shadow: 6px 6px 6px rgb(0, 0, 0);
}

/* Tooltip input 360 Grad View */
.a-frame-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: 1rem;
  overflow: hidden;
}

.a-frame-tooltip {
  position: absolute;
  top: 10px;
  right: 10px;
}

.position-relative {
  position: relative;
}

.info-icon-upload,
.info-icon-name,
.info-icon-aframe {
  position: absolute;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}

.info-icon-upload {
  right: -30px; /* Weiter nach rechts verschieben */
  top: 50%;
  transform: translateY(-50%);
}

.info-icon-name {
  right: -30px; /* Weiter nach rechts verschieben */
  top: 70%;
  transform: translateY(-50%); 
}

.info-icon-aframe {
  display: none !important; /* Versteckt das Icon komplett */
}

/* Korrektur der Button-Abstände */
.mt-3 {
  margin-top: 1rem !important;
}

/* Reservations Parameter
/*===============================================================*/
/* Datum Datapicker designen */
/* Hauptcontainer Styling ohne äußeren Rahmen */
.litepicker {
  border-radius: 10px;
  box-shadow: none; /* Entfernt Schatten */
  border: none; /* Entfernt Rahmen */
}

/* Monat & Jahr Styling */
.litepicker .month-item-header {
  background: #e9ecef; /* Leicht grauer Balken */
  font-weight: bold;
  font-size: 1.4rem;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Pfeil-Buttons Styling */
.litepicker .month-item-header button {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #007bff;
}

/* Tages-Styling als Kreis */
.litepicker .day-item {
  border-radius: 50% !important;
  transition: background 0.3s ease;
  padding: 8px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hover-Effekt für Tage als Kreis */
.litepicker .day-item:hover {
  background: #e3f2fd !important;
  cursor: pointer;
  border-radius: 50% !important;
}

/* Markierung für ausgewählten Tag als blauer Kreis */
.litepicker .day-item.is-start-date {
  background: #007bff !important;
  color: white !important;
  border-radius: 50% !important;
}

/* Litepicker: Alle Zahlen fetter und größer */
.litepicker .day-item {
  font-weight: bold !important; /* Macht die Zahlen fett */
  font-size: 18px !important; /* Erhöht die Schriftgröße */
  color: black !important; /* Stellt sicher, dass die Zahlen sichtbar bleiben */
}

/* Falls Litepicker Buttons für Tage verwendet */
.litepicker .day-item span {
  font-weight: bold !important;
  font-size: 18px !important;
}

.litepicker .day-item:not(.is-locked) {
  font-weight: bold !important;
  font-size: 18px !important;
}

.litepicker .day-item.is-locked {
  font-weight: normal !important;
  font-size: 16px !important;
  color: gray !important; /* Deaktivierte Tage grau */
}

/* Uhr designen */
.uhr {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-image: radial-gradient(circle, 
    #f8f8f8 0%,    /* Sehr helles Grau */
    #a5a5a5 30%,   /* Helles Grau */
    #5a5a5a 60%,   /* Mittleres Grau */
    #424242 100%   /* Dunkleres Grau */
  );

  border: 4px solid rgb(0, 0, 0);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.zahl, .marker {
  position: absolute;
  font-size: 28px;
  font-weight: bold;
  color: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.viertelstunde {
  position: absolute;
  font-size: 16px;
  font-weight: bold;
  color: #b22222;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.marker {
  width: 16px;
  height: 16px;
  background-color: #ffffff;
  transform-origin: center;
}

#stunden-minuten.zeit-ungueltig {
    color: red;
    /*font-weight: bold; */
}

.zeiger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 60%;
}

.stunden-zeiger {
  width: 6px;
  height: 35px;
  background-color: whitesmoke;
  border: 1px solid rgb(0, 0, 0, 0.5);
}

.minuten-zeiger {
  width: 5px;
  height: 46px;
  background-color: #b22222;
  border: 1px solid rgb(0, 0, 0, 0.5);
}

/* Anzahl Personen designen */
.person {
  font-size: 2.5em;
  cursor: pointer;
  display: inline-block;
  color: rgb(207, 207, 207);
  outline: none !important;
  box-shadow: none !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent; /* für Mobile-Browser */
}

.person.selected {
  color: black;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: none !important;
}

.person:hover {
  color: #888; /* oder z. B. #555 für etwas stärker */
  transform: scale(1.1); /* leichtes Vergrößern */
  transition: all 0.15s ease-in-out;
}

#person-selection,
#person-selection:focus {
  outline: none !important;
  box-shadow: none !important;
}


/* Icon Grösse generell festlegen */
.notification-icon {
  display: flex;
  flex-direction: column;        /* Icon oben, Text unten */
  align-items: center;           /* horizontal zentriert */
  justify-content: center;
  text-align: center;
  cursor: pointer;
  padding: 1rem;
  user-select: none;
}

.notification-icon i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1;
  pointer-events: none;          /* verhindert Klick-Fokus */
}

.notification-icon.active {
  border: 2px solid #999;
  background: transparent;
  border-radius: 0.4em;
}

/* Grund‑Styling für beide Modale */
.modal {
    position: fixed;
    inset: 0; /* top/right/bottom/left = 0 */
    background: rgba(0,0,0,0.5); /* Overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem; /* Abstand zum Fenster */
    overflow: auto; /* scrollt, wenn Fenster kleiner als Modal */
}

.modal-content {
    background: #fff;
    padding: 1rem; /* nicht zu groß */
    border-radius: 0.5rem;
    max-width: 400px; /* feste max-Breite */
    width: 100%;      /* passt sich bis max-width an */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.modal-actions {
    margin-top: 1rem;
    text-align: right;
}

.modal-actions .btn + .btn {
    margin-left: 0.5rem;
}


/* Alernative Zeiten Anzeige */
.alternative-box,
.selected-time-box {
    font-size: 1.2rem;
    padding: 0.5rem;
    min-height: 2.5rem;
}

.selected-time-box {
    font-weight: bold;
    background-color: #f8f9fa;
}

.selected-suggestion {
    background-color: #4CAF50;
    color: white;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Stornierungstabellen */
#stornierungstabelle thead,
#stornierungstabelle tbody {
    display: block;
    width: 100%;
}

#stornierungstabelle tbody {
    max-height: 300px;
    overflow-y: auto;
}

/* Filter view Reservation, Tabellen Abstand */
.filter-container {
    margin-bottom: 30px!important; /* Abstand zur Tabelle */
}

/* Anzeige Status SMS */
.sms-balance.ok { color: green; }
.sms-balance.low { color: orange; }
.sms-balance.error { color: red; }
/* Aktualisieren Button positioniern */
.emoji-adjust {
  display: inline-block;
  transform: translateY(6px);
}

/* SMS Icon anzeigen wenn genügen Guthaben und Service erwünscht ist */
/* reservation-styles.css oder im <style>-Tag */
/* Basisstile */
.notification-icon {
  transition: all 0.3s ease;
}

/* Deaktivierte Icons */
.notification-icon.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Aktive Icons */
.notification-icon.clickable {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}
/* Nicht aktivierte Icons, im dem Fall Telegram */
.notification-icon.hidden {
  display: none !important;
}

/* Anzeige alternative Zeiten */
.alternative-box {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 10px;
  background: #04c776;
  border: 2px solid #ccc;
  border-radius: 10px;
  margin-top: 5px;
  display: inline-block;
  width: 80px;
  color: black;
  text-align: center;
}

.alternative-box.unavailable {
  background: #eee;
  color: #999;
  border: 2px dashed #bbb;
  font-size: 1.5rem;
}

.alternative-box .fa-ban {
  color: #999;
  font-size: 1.6rem;
}

.alternative-box.clickable {
  cursor: pointer;
  transition: transform 0.1s;
}

.alternative-box.clickable:hover {
  transform: scale(1.05);
  background-color: #03b169;
}

/* Ausgewählte Zeit */
.selected-time-box {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 10px;
  background: #ffb8be;
  border: 2px solid #dc3545;
  border-radius: 10px;
  margin-top: 5px;
  display: inline-block;
  width: 80px;
  color: #dc3545;
  margin-bottom: 40px;
}


/* Quittierung Reservation */
.notification-icon {
  display: inline-block;
  padding: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}

.notification-icon.active {
  opacity: 1;
  border: 2px solid blue; /* Hervorhebung für aktive Option */
}

.notification-icon.disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

/* Fixierte Tabellenbreite */
#stornierungstabelle {
  table-layout: fixed;
  width: 100%;
}

/* Begrenzt Namen auf eine Zeile mit "..." */
#stornierungstabelle td .text-truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 180px;
}

/* Telefon darf umbrechen, aber nicht riesig werden */
#stornierungstabelle td .text-break {
  word-break: break-word;
  white-space: normal;
  max-width: 200px;
}
/* Verhindert, dass die Res-ID Spalte zu groß wird */
#stornierungstabelle th:first-child, 
#stornierungstabelle td:first-child {
    width: 60px !important; /* Stellt sicher, dass die ID-Spalte nicht breiter wird */
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Öffnungszeiten Editor*/
.min-w-900 {
  min-width: 900px;
}

.slot {
  height: 30px;
  background-color: #eee;
  cursor: pointer;
}

.active {
  background-color: #4caf50;
}

.selected {
  border: 3px solid #2196f3;
  box-sizing: border-box;
}

.grid {
  display: grid;
  grid-template-columns: 120px repeat(36, 1fr); /* vorher: 80px */
  gap: 2px;
  margin-bottom: 5px;
}

.day {
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* linksbündig */
  padding-left: 5px;
  white-space: nowrap; /* kein Zeilenumbruch */
}

.time-header {
  display: grid;
  grid-template-columns: 120px repeat(36, 1fr); /* gleich wie .grid */
  margin-bottom: 10px;
}

.time-span {
  grid-column: span 2;
  border-left: 1px solid #ccc;
  padding: 0 2px;
  font-size: 0.75rem;
  text-align: center;
}

/* Tischeditor Definitionen */
.fa-stack {
  width: 2em;
  height: 2em;
  line-height: 2em;
  font-size: 1.1rem;
  cursor: pointer;
}
.action-icon {
  display: inline-block;
  margin: 4px;
}

.fa-stack {
  display: inline-block;
  height: 2em;
  line-height: 2em;
  position: relative;
  vertical-align: middle;
  width: 2.5em;
}
.fa-stack-1x, .fa-stack-2x {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
}
.fa-stack-1x {
  line-height: inherit;
}
.fa-stack-2x {
  font-size: 2em;
}
.fa-inverse {
  color: #fff;
}

/* Modales Fenster für Tische */
.modal {
  display: none;
  position: fixed;
  z-index: 1055;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Tischtausch */
/* === Spaltenstruktur === */
.tisch-grid .tisch-col {
  min-width: 220px;
  padding-right: 1rem;
  border-right: 1px solid #dee2e6;
}

.tisch-grid .tisch-col:last-child {
  border-right: none;
}

#hinweisModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
}




/* === Tischbox === */
/* 📁 Datei: tisch-tausch.css */
.tisch-box {
  border: 1px solid var(--bs-secondary);
  background-color: var(--bs-body-bg);
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tisch-box.drop-hover {
  background-color: var(--bs-light);
  outline: 2px dashed var(--bs-secondary);
}

.tisch-box.teilbelegt {
  background-color: #fff3cd;   /* Bootstrap Warning (light yellow) */
  border-color: #ffc107;       /* Bootstrap Warning */
}

.tisch-box.belegt {
  background-color: #f54e5c;   /* Bootstrap Danger (light red) */
  border-color: #dc3545;       /* Bootstrap Danger */
}

.tisch-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #212529;
}

.reservation-block {
  background-color: #efede9;   /* Bootstrap Gray-200 */
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #212529;
}

.reservation-block.active {
  background-color: #0d6efd;   /* Bootstrap Primary */
  color: #fff;
  cursor: grabbing;
}

.reservation-block.disabled {
  background-color: #dee2e6;   /* Bootstrap Gray-300 */
  color: #2e2e2c;
  opacity: 0.7;
  cursor: not-allowed;
}

.reservation-block.text-muted {
  background-color: var(--bs-light);
  border: 1px dashed var(--bs-secondary);
  font-size: 0.85rem;
  padding: 0.5rem;
}

#gruppe-2er,
#gruppe-4er,
#gruppe-6er,
#gruppe-8er {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}


/* === Dropzone Feedback === */
.drop-hover {
  background-color: #e0f0ff !important;
  border: 2px dashed #0d6efd;
}

/* === Avatar-Kreise (optional) === */
.avatar-circle {
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  border-radius: 50%;
  background-color: #0d6efd;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  text-align: center;
  margin-right: 0.5rem;
}

/* === Button Hover für Pfeilsteuerung === */
#open-tausch-button:hover i {
  color: #0a58ca;
}

#open-tausch-button:disabled:hover i {
  color: #ccc;
}

/* Heatmap */
.heatmap-container {
  overflow-x: auto;
  max-width: 100%;
}

.hour-labels {
  display: flex;
  position: sticky;
  top: 0;
  background-color: #f8f9fa;
  z-index: 2;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 4px;
  overflow: hidden;
}

.hour-labels .fw-bold {
  width: 130px;
  min-width: 130px;
  flex: 0 0 130px;
  text-align: left;
  padding-left: 4px;
  box-sizing: border-box;
}

.hour-labels .hour-block {
  width: 48px;                 /* 4 x 12px */
  min-width: 48px;
  flex: 0 0 48px;
  text-align: center;
  font-weight: 500;
  font-size: 0.75rem;
  color: #333;
  border-left: 2px solid #000;
  box-sizing: border-box;
}

.hour-labels .hour-block:first-child {
  border-left: none;
}

.heatmap-table {
  border-collapse: collapse;
  width: max-content;
}

.heatmap-table td {
  width: 12px;
  height: 25px;
  border: 1px solid #dee2e6;
  padding: 0;
  box-sizing: border-box;
}

.heatmap-table th {
  width: 130px;
  text-align: left;
  padding-left: 8px;
  white-space: nowrap;
  background-color: #f8f9fa;
  position: sticky;
  left: 0;
  z-index: 1;
}

.hour-separator {
  border-left: 2px solid #000;
}

.reserved {
  background-color: #dc3545 !important;
}

.free {
  background-color: #e9ecef !important;
}
td.partial {
    background-color: #ffc207 !important;  /* Tische nicht voll belegt */
}


/* Change Passwort */
#togglePassword i {
  transition: transform 0.2s ease, color 0.2s ease;
  color: #0d6efd; /* Bootstrap primary */
}

/* Standard für alle responsive Tabellen */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* Spezifisch: Reservierungen dürfen sich ausdehnen */
#reservierungstabelle {
  width: 100%;
  table-layout: auto;
}

/* Spezifisch: Stornierungen sollen scrollbar bleiben */
#stornierungstabelle {
  min-width: 600px;
  table-layout: auto;
}
