:root {
    --color: #00b33c;
}
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Exo 2', sans-serif;
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-100italic - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 100;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-200 - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-200italic - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 200;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-300 - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-300italic - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-regular - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-italic - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-500 - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-500italic - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 500;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-600 - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-600italic - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 600;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-700 - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-700italic - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-800 - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* exo-2-800italic - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 800;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  @font-face {
    font-display: swap;
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-900.woff2') format('woff2');
  }
  @font-face {
    font-display: swap;
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 900;
    src: url('fonts/exo-2-v21-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-900italic.woff2') format('woff2');
  }
body {
    font-family: 'Exo 2', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    width: calc(100% - 20px);
    max-width: 800px;
    margin: 0px auto;
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: none;
}
.container table {width: 100%;}


h1 {
    font-size: 27px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    color: var(--color);
    font-weight: 100;
}
@media (min-width: 300px) {
    h1 {font-size: 30px;}
}
@media (min-width: 350px) {
    h1 {font-size: 35px;}
}
@media (min-width: 550px) {
    h1 {font-size: 50px;}
}

h2 {
    margin-top: 0px;
    margin-bottom: 25px;
    margin-left: 25px;
}
.container h2 {
    margin-left: 0px;
}

p {
    padding-bottom: 8px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0px auto;
}

input, select, textarea {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
    background: #fff;
    padding: 7px 12px;
    color: #333;
    border: 2px solid var(--color);
    border-radius: 5px;
    width: 100%;
    transition: 0.5s;
    outline: none;
    cursor: text;
}
select {cursor: default;}
textarea {resize: vertical;}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

button {
    background: #fff;
    color: var(--color);
    border: 2px solid #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.5s;
    padding: 7px 12px;
    font-size: 16px;
    font-weight: 500;
}

button:hover {
    background-color: var(--color);
    color: #fff;
    border: 2px solid var(--color);
    transition: 0.2s;
}

/* Popup-Fenster */
#popup-tabelle {display: none;}
#pop-timer {display: none;}
#popup-warteschlange {display: none;}
.popup {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 10px);
    background-color: #fff;
    padding: 20px;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: calc(100% - 50px);
    max-width: 300px;
    text-align: left;
    border-radius: 10px;
    max-height: calc(100vh - 120px);
    z-index: 1000; /* Über dem Overlay */
}

.popup h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.popup p {
    margin: 0px;
    font-size: 16px;
    padding: 5px 8px;
}
.popup .scans {
    float: right;
    color: #777;
    background: #eee;
    padding: 5px 8px;
    font-weight: 100;
    border-radius: 3px;
}

.popup button {
    padding: 10px 20px;
    margin: 10px 5px;
    border: none;
    cursor: pointer;
    width: calc(100% - 10px);
}

.popup #closeButton {
    background-color: #ff3300;
    border-color: #ff3300;
    color: #fff;
}

.popup #closeButton:hover {
    background-color: #fff;
    color: #ff3300;
}

.c-btn {
    background-color: #fff;
    color: #ff3300;
}

.c-btn:hover {
    background-color: #ff3300;
    border-color: #ff3300;
    color: #fff;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparentes Schwarz */
    z-index: 999; /* Unter dem Popup aber über dem Rest der Seite */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.post {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 80px;
}

.post a {
    font-weight: 100;
    font-size: 12px;
    color: var(--color);
    text-decoration: none;
    margin: 0px 8px;
}

.timer {
    border: 2px solid var(--color);
    border-radius: 10px;
    padding: 8px 5px;
    max-width: 300px;
    margin: 7px auto;
    width: 100%;
}
.timer-flex {
    display: flex;
}
.timer-aktionen button {
    border-radius: 15px;
}
.timer-aktionen {
    display: flex;
    justify-content : space-around
}
.timer-zeit {
    width: calc(100% - 140px);
    padding: 8px 15px;
}
.timer-aktionen {
    width: 140px;
}
.timer-zeit p {padding: 0px;}
.timer-titel {
    width: 100%;
}
#timer-titel {
    font-size: 20px;
    color: var(--color);
    font-weight: 700;
    padding: 0px 13px;
}
#timer-ort {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    padding: 0px 13px;
}

#timer-platzhalter {
    display: flex;
    flex-wrap: wrap;
}

.float-btn {
    float: right;
    background: var(--color);
    border-radius: 15px;
    color: #fff;
}


.warten {
    width: 100%;
    border: 2px solid var(--color);
    border-radius: 10px;
    padding: 8px 5px;
    margin: 7px auto;
    max-width: 400px;
}
.warten-aktionen {
    width: 45px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.warten-titel {
    width: calc(100% - 70px);
}


.box {
    width: 100%;
    border: 2px solid var(--color);
    border-radius: 10px;
    padding: 10px 15px;
    margin: 14px auto;
    max-width: 400px;
}
.kind-name {
    font-weight: 700;
    padding-bottom: 0px;
}
.label {
    font-size: 13px;
    font-weight: 500;
    color: #777;
    padding-bottom: 3px;
}

#ansagen-platzhalter .box {padding: 3px;}
#ansagen-platzhalter p {padding: 0px 12px;}

.float-btn.c-btn {
    background: none;
    color: red;
    border: none;
}
.float-btn.c-btn:hover {
    background: red;
    color: #fff;
}

.warten-titel {
    padding-top: 10px;
    padding-left: 8px;
}

.ansage-titel {
    font-weight: 700;
    padding-bottom: 0px;
    padding-top: 5px !important;
}
.ansage-subtitel {
    padding-bottom: 7px !important;
    padding-top: 3px !important;
    font-size: 13px;
    color: #777;
}
.message {
    padding: 10px;
    background: #fff;
    width: calc(100% - 20px);
    margin: 10px auto;
    border-radius: 10px;
    border: 2px solid red;
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
}
.flex {
    display: flex;
}
.flex-s {
    width: 50px;
}
.flex-l {
    width: calc(100% - 50px);
}
.message .fa-solid {
    color: red;
    font-size: 25px;
}
.message p {
    padding: 3px 0px;
}

.timer.expired {
    border-color: red;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        border-width: 2px;
    }
    50% {
        border-width: 10px;
    }
}

.timer {
    width: 100%;
    display: flex;
}
.timer-titel {
    width: calc(100% - 70px);
}
.timer-flex {
    width: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0px;
}
.timer button {
    height: fit-content;
}
.timer-text {
    padding: 0px 10px;
    width: 100%;
    font-weight: 700;
    font-size: 20px;
}

.popup-btn, .popup-btn:hover {
    position: absolute;
    top: 0px;
    right: 0px;
    transform: translate(12px,-12px);
    background: none;
    color: red;
    width: fit-content !important;
    display: block;
    padding: 0px !important;
    margin: 0px !important;
}


.switch-button, .switch-button:hover {
    position: fixed;
    bottom: 15px;
    left: 15px;
    padding: 10px 12px;
    background: #fff;
    border: none;
    color: var(--color);
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 70px;
    z-index: 100 !important;
}

nav {
    width: calc(100% - 20px);
    max-width: 800px;
    margin: 0px auto;
    margin-top: 20px;
    padding: 0px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: none;
    display: flex;
    background: var(--color);
  }
  .nav-titel {
    padding: 0px 10px;
    padding-top: 7px;
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    width: calc(100% - 70px);
  }
  .nav-button {
    width: 70px;
  }
  .nav-button button, .nav-button button:hover {
    margin: 0px;
    background: transparent;
    border: none;
    color: #fff;
  }

  footer a {
    font-weight: 300;
    font-size: 13px;
    text-decoration: none;
    margin: 3px 10px;
    color: var(--color);
}
footer {
    padding: 10px 100px;
    text-align: center;
}

.apps {
    display: flex;
    flex-wrap: wrap;
    max-width: 1050px;
    margin: 0px auto;
    padding-top: 50px;
  }
  .app-out {
    width: 250px;
    min-width: 250px;
    padding: 10px;
    margin: 0px auto;
    overflow: hidden;
  }
  .app-out a {
    text-decoration: none;
  }
  .app {
    width: 100%;
    margin: 0px;
    margin-top: 20px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 2px solid transparent;
    background: #fff;
    transition: 0.7s;
  }
  .app-icon {
    width: 100%;
    text-align: center;
    padding-bottom: 25px;
    color: var(--color);
    padding-top: 10px;
  }
  .app-text {
    width: 100%;
    text-decoration: none;
    text-align: center;
    color: #333;
    font-weight: 700;
    font-size: 20px;
    padding-bottom: 12px;
  }
  .app-info {
    width: 100%;
    text-decoration: none;
    text-align: center;
    color: #777;
    font-weight: 300;
    font-size: 15px;
    padding-bottom: 5px;
  }
  .app:hover {
    transition: 0.3s;
    border: 2px solid var(--color);
  }
  @media (max-width: 500px) {.app-out {width: 100%;}}

  .statistik {
    width: 200px;
}
.statistik p b {
    float: right;
}

/* Styling der Checkbox und des Labels */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color); /* Verwende Hauptfarbe der Anwendung */
}

.checkbox-container label {
    cursor: pointer;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: -11px;
}

@media print {
    button, nav button {display: none !important;}
    .container {box-shadow: 0px 0px 0px transparent !important;}
    .print {display: none;}
}

main {
    padding-bottom: 70px;
}

.big-table {
    width: 100%;
    overflow-x: auto;
}
.big-table table {
    min-width: 500px;
}

.pause-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.pause-button {
    padding: 10px 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    cursor: pointer;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.pause-button.active {
    border-color: green;
    font-weight: bold;
}


ul {
    padding-left: 30px;
}