
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500&display=swap');

/* === Root Variablen === */
:root {
    --bg-dark: #1e1e1e;
    --bg-darker: #121212;
    --text-light: #e0e0e0;
    --accent-green: #388e3c;
    --accent-green-dark: #2e7d32;
    --accent-green-light: #81c784;
    --accent-brown: #5d4037;
    --radius: 10px;
    --spacing: 16px;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* === Global Reset === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: var(--spacing);
    background-color: var(--bg-darker);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.5;
    touch-action: manipulation;
}

/* === Typografie === */
h1, h2 {
    font-family: var(--font-heading);
    color: #ffcc80;
    text-align: center;
    margin-bottom: var(--spacing);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }

/* === Layout === */
.container {
    width: 100%;
    padding: var(--spacing);
    margin: 0 auto;
}

.user-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: var(--spacing);
}

form {
    width: 100%;
}


/* === Eingabefelder === */
input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    background-color: var(--bg-dark);
    color: white;
    border: 1px solid #555;
    border-radius: var(--radius);
}

textarea {
    resize: vertical;
}

/* === Buttons === */
button,
.btn {
    background-color: var(--accent-green);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    margin: 5px;
    transition: background 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

button:hover,
.btn:hover {
    background-color: var(--accent-green-dark);
}

.btn-red,
.btn-red:link,
.btn-red:visited {
    background-color: #c62828;
    color: white;
    font-size: 1rem;
    font-family: var(--font-main);
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: background-color 0.3s ease;
    text-decoration: none; /* Entfernt Unterstreichung */
}

.btn-red:hover {
    background-color: #b71c1c;
    text-decoration: none; /* Sicherheitshalber auch im Hover-Zustand */
}



/* === Gerichtsraster === */
.bestell-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing);
    margin: var(--spacing) 0;
}

@media (min-width: 768px) {
    .bestell-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bestell-eintrag {
    margin: 0;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
}


/* === Gerichtstitel === */
.gericht-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-light);
}

/* === Mengensteuerung === */
.counter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.counter-display {
    font-size: 1.2rem;
    min-width: 30px;
    text-align: center;
}

.btn-counter {
    padding: 6px 14px;
    font-size: 1.2rem;
    background-color: var(--accent-green);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}
.btn-counter:hover {
    background-color: var(--accent-green-dark);
}

/* === Tabellen === */
table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-radius: 10px;
    margin-top: 16px;
}


th, td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #333;
}

th {
    background-color: var(--accent-brown);
    color: white;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #2a2a2a;
}
tr:hover {
    background-color: #3d3d3d;
}

/* === Erfolgsmeldung === */
.popup-success {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--accent-green);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius);
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    text-align: center;
}

/* === Login-Form === */
.login-form {
    text-align: center;
    margin-top: 30px;
}
.login-form input,
.login-form select {
    margin: 8px auto;
    background-color: #222;
    border: 1px solid #555;
}

/* === Responsive Anpassungen === */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .popup-success {
        width: 90%;
        font-size: 1rem;
        padding: 15px;
    }
}


/* === Verbesserte mobile Optimierung === */
@media (max-width: 768px) {
    body {
        padding: 8px;
    }

    .container {
        padding: 0;
    }

    input[type="text"],
    input[type="number"],
    input[type="password"],
    select,
    textarea[name="kommentar"] {
        max-width: 100%;
        margin: 16px 0;
    }

    button,
    .btn,
    .btn-counter {
        width: 100% !important;
        box-sizing: border-box;
    }

    .user-form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .counter {
        justify-content: space-between;
    }

    .counter-display {
        flex-grow: 1;
        text-align: center;
    }

    .bestell-eintrag {
        padding: 12px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .popup-success {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        transform: none;
        top: 20%;
        font-size: 1rem;
    }
}


/* === Optimierungen für kompaktere Darstellung === */
.bestell-eintrag {
    padding: 10px 12px;
    margin: 0;
}

.bestell-grid {
    padding: 0 8px;
}

.gericht-name {
    text-align: center;
    font-size: 1rem;
    margin: 0 auto 8px auto;
    width: 100%;
}

/* Mengensteuerung & Sonderwunsch in einer Zeile */
.counter-select-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.counter {
    flex: 1;
    justify-content: flex-start;
}

select[name^="sonderwunsch"] {
    flex: 1;
    min-width: 120px;
    font-size: 0.9rem;
    padding: 8px;
}

/* Buttons noch etwas schlanker */
.btn, .btn-counter, button {
    font-size: 0.95rem;
    padding: 8px 14px;
}

/* Bei sehr kleinen Screens: alles etwas kompakter */
@media (max-width: 480px) {
    .counter-display {
        font-size: 1rem;
        min-width: 24px;
    }

    .gericht-name {
        font-size: 0.95rem;
    }

    .btn-counter {
        padding: 6px 10px;
    }

    select[name^="sonderwunsch"] {
        font-size: 0.85rem;
    }
}


.bestell-eintrag {
    padding: 10px;
    margin: 0;
    border-radius: 8px;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.gericht-name {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.counter-select-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.counter {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.counter-display {
    font-size: 1.1rem;
    width: 28px;
    text-align: center;
}

select[name^="sonderwunsch"] {
    flex: 1;
    min-width: 120px;
    padding: 8px;
    font-size: 0.9rem;
    background-color: #222;
    color: white;
    border: 1px solid #555;
    border-radius: 6px;
}

/* Rand vom Grid minimieren */
.bestell-grid {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .bestell-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* === Tabelle bündig wie Gerichtskarten === */
.bestellungen-tabelle {
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
}


/* === Küche Ansicht: kompakte Bestellblöcke === */
.kueche-bestellung {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: var(--bg-dark);
    padding: 12px;
    margin-bottom: 16px;
    border-radius: var(--radius);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.kueche-links {
    flex: 1 1 60%;
}

.bestellkopf {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-green-light); /* ganze Zeile grün */
    margin-bottom: 8px;
}

.kueche-rechts {
    flex: 1 1 35%;
    padding-left: 12px;
    color: #bbb;
    font-style: italic;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btn-kueche-right {
    margin-top: 12px;
    text-align: right;
}


.bestellnummer {
    color: var(--accent-green-light); /* Nur die Nummer grün */
}

.gerichtzeile {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.btn-kueche {
    margin-top: 10px;
}


.btn-back {
    font-size: 0.9rem;
    padding: 8px 16px;
    margin-top: 16px;
}


.bestellungen-tabelle {
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
    overflow-x: auto;
}


.tabelle-kompakt {
    width: 100%;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border-collapse: collapse;
}

.tabelle-kompakt th,
.tabelle-kompakt td {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.tabelle-kompakt th {
    background-color: var(--accent-brown);
    color: white;
}

.tabelle-kompakt td strong {
    color: var(--accent-green-light);
}


.daniel-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px env(safe-area-inset-left, 10px) env(safe-area-inset-bottom, 8px) env(safe-area-inset-right, 10px);
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 -2px 6px rgba(0,0,0,0.4);
    border-top: 1px solid #444;
    font-size: 14px;
    flex-wrap: wrap;
}

/* Buttons im Footer */
.daniel-footer a,
.daniel-footer button {
    background-color: var(--accent-green);
    color: white;
    padding: 6px 10px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* iPhone: Footer kompakter und scrollbar falls nötig */
@media (max-width: 600px) {
    .daniel-footer {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 8px 10px env(safe-area-inset-bottom, 8px) 10px;
    }

    .daniel-footer a,
    .daniel-footer button {
        font-size: 13px;
        padding: 6px 8px;
        min-width: unset;
        flex: 0 0 auto;
    }
}





/* === Login-Seite === */
body.login-page {
    background: url("background.jpg") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Logo oben (20% größer als vorher) */
.logo-oben {
    max-width: 264px; /* vorher 220px */
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Login-Container */
.login-wrapper {
    background-color: rgba(30, 30, 30, 0.95);
    padding: 32px;
    border-radius: var(--radius);
    max-width: 360px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    text-align: center;
}

/* Überschrift im Login */
.login-wrapper h2 {
    color: var(--text-light);
    margin-bottom: 16px;
}

/* Eingabefelder und Auswahl */
.login-wrapper input,
.login-wrapper select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    font-size: 1rem;
    background-color: var(--bg-dark);
    color: white;
    border: 1px solid #555;
    border-radius: var(--radius);
}

/* Login-Button */
.login-wrapper button {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    font-size: 1rem;
    background-color: var(--accent-green);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

.login-wrapper button:hover {
    background-color: var(--accent-green-dark);
}

/* Fehleranzeige */
.login-wrapper .error {
    color: #f44336;
    margin-top: 12px;
}

/* Mobile Anpassung */
@media (max-width: 480px) {
    .login-wrapper {
        padding: 24px;
    }

    .logo-oben {
        max-width: 180px;
        margin-top: 20px;
    }
}


/* === Buttons nebeneinander auf breiten Bildschirmen === */
.login-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.login-wrapper ul li {
    list-style: none;
}

.login-wrapper ul li a {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1rem;
    background-color: var(--accent-green);
    color: white;
    text-align: center;
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: background-color 0.3s ease;
}

.login-wrapper ul li a:hover {
    background-color: var(--accent-green-dark);
}

/* Responsive Anpassung: Auf kleinen Bildschirmen untereinander */
@media (max-width: 768px) {
    .login-wrapper ul {
        flex-direction: column;
        align-items: center;
    }
}


.popup-success {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--accent-green);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius);
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    text-align: center;
    display: block; /* Standardmäßig sichtbar */
}







.statistik-summary {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.link-liste {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.link-liste li a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-green);
    color: white;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
}

.link-liste li a:hover {
    background-color: var(--accent-green-dark);
}


.login-wrapper ul.link-liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    justify-items: center;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}


.bestell-grid.essen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.bestell-grid.nicht-essen {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.mitte {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

select {
    text-align: center;
    text-align-last: center; /* für moderne Browser */
}




@media (max-width: 600px) {
    .bestell-grid.essen,
    .bestell-grid.nicht-essen {
        grid-template-columns: 1fr !important;
    }
}


.zweispaltig {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.block-wunsch {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block-wunsch select {
    width: 100%;
    max-width: 180px;
    text-align: center;
    text-align-last: center;
}

@media (max-width: 768px) {
    .zweispaltig {
        flex-direction: column;
        align-items: stretch;
    }
}

.block-zähler {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center; /* <-- das zentriert vertikal */
    height: 100%; /* optional für gleichmäßige Höhe */
}

.counter {
    display: flex;
    align-items: center;
    justify-content: center; /* <-- das zentriert horizontal */
    gap: 10px;
}



.gericht-einheit {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.gericht-einheit select {
    min-width: 200px;
}
.btn-secondary {

    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 5px;
}


.gericht-einheit {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
}
.gericht-einheit select {
    min-width: 180px;
}
.btn-secondary {
    padding: 4px 8px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}


.highlight {
    border: 3px solid #ffcc00;
    background-color: #fff8dc;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    border-radius: 10px;
}

.btn-gedruckt {
    background-color: #666 !important;
    color: #fff !important;
    border-color: #444 !important;
}

.input-field {
    background-color: #222;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
    width: 130px;
    margin: 2px 0;
    box-sizing: border-box;
}

.input-field[type="time"] {
    width: 90px;
}

.input-field::-webkit-calendar-picker-indicator {
    filter: invert(1); /* Heller Kalenderpfeil auf dunklem Hintergrund */
}



.bestell-block {
    background-color: var(--bg-dark);
    border: 1px solid #333;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    color: var(--text-light);
}

.bestell-kopf {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 1rem;
}

.bestell-kopf strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-green-light);
}

.bestell-details {
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.bestell-details div {
    margin-bottom: 4px;
}

.gerichteliste {
    background-color: #2a2a2a;
    padding: 12px;
    border-radius: 8px;
}

.gericht {
    padding: 6px 0;
    border-bottom: 1px solid #444;
    font-size: 1rem;
}

.gericht:last-child {
    border-bottom: none;
}

.sonderwunsch {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.9rem;
    color: #bbb;
    font-style: italic;
}


.bestellungen-liste {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.bestell-block {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.bestell-kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.bestell-details {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.gerichteliste .gericht {
  margin-bottom: 6px;
  font-size: 1rem;
}

.sonderwunsch {
  font-style: italic;
  color: var(--accent-green-light);
}


.tab-buttons {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.tab-buttons .btn {
    margin: 0 5px;
    border-bottom: 3px solid transparent;
}

.tab-buttons .btn.active {
    border-color: #000;
    font-weight: bold;
}

.kueche-bestellung.in-bearbeitung {
    border: 4px solid gold;
    border-radius: 8px;
    box-shadow: 0 0 10px gold;
}


.tisch-auswahl-wrapper {
    text-align: center;
    margin: 20px auto;
    position: relative;
}


.dropdown-tischnummern {
    position: fixed; /* <-- wichtig: von absolute zu fixed */
    top: 50%;         /* vertikal mittig */
    left: 50%;        /* horizontal mittig */
    transform: translate(-50%, -50%); /* perfekt zentriert */

    background-color: var(--bg-darker);
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    max-width: 90vw;
    max-height: 70vh;
    overflow-y: auto;
}


/* Nur Sichtbarkeit steuern */
.hidden {
    display: none !important;
}


.abholung-container {
    margin-top: 20px;
    text-align: center;
}

.abholung-extra {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #4CAF50; /* dein Standardgrün */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.tischauswahl-zeile {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.btn-gross {
    flex: 1 1 300px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #4CAF50; /* dein Standardgrün */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}



.tisch-button.belegt {
    background-color: #f39c12; /* Orange: kürzlich benutzt / noch in Nutzung */
    color: white;
    border: 2px solid #e67e22;
}




.tisch-button {
    padding: 16px 24px;
    font-size: 1.2rem;
    margin: 5px;
    border-radius: 8px;
    border: 2px solid #999;
    background-color: #4CAF50;
    transition: background-color 0.3s;
}

.tisch-offen {
    background-color: #e74c3c; /* Rot */
    color: white;
    border-color: #c0392b;
}

.tisch-kuerzlich {
    background-color: #f39c12; /* Orange */
    color: white;
    border-color: #d35400;
}


.tisch-button:hover {
    background-color: #45a049;
}



.tischwahl-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tischwahl-overlay.hidden {
    display: none;
}

.tischwahl-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    width: 600px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.tischwahl-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.tischwahl-btn {
    width: 60px;
    height: 60px;
    font-size: 18px;
    background-color: #f0f0f0;
    border: 1px solid #aaa;
    border-radius: 8px;
    cursor: pointer;
}

.abholung-btn {
    background-color: #c0e8c0;
}

.btn-cancel {
    margin-top: 20px;
    background-color: #eee;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
}

.tisch-select {
    font-size: 16px;
    padding: 5px;
    width: 100%;
    max-width: 120px;
}

<style>
.admin-tabs {
    text-align: center;
    margin-bottom: 20px;
}
.admin-tabs button {
    margin: 0 5px;
    padding: 10px 15px;
    font-size: 1rem;
}
</style>





<style>
    @media print {
        .btn, select, canvas, .btn-back {
            display: none !important;
        }
        body {
            background: white;
            color: black;
        }
        table {
            page-break-inside: avoid;
            width: 100%;
        }
        h2 {
            margin-top: 40px;
        }
    }
</style>





.login-wrapper h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: #007bff;
}



.tischauswahl-popup {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.95);
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);

    max-height: 80vh;
    overflow-y: auto;
}

.tisch-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 Spalten */
    gap: 10px;
    justify-items: center;
}



.tischauswahl-popup.hidden {
    display: none;
}

.tischauswahl-content {
    max-width: 400px;
    text-align: center;
}


.tisch-grid button {
    width: 50px;
    height: 50px;
    background-color: var(--accent-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}
