html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif;
  background: url('racetrack.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
  text-align: center;
  line-height: 1.5;
}

.chiptronic_logo {
  width: 50%;
  min-width: 700px;
  margin-top: 64px;
  margin-bottom: 64px;
}

h4 {
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
}

table {
  width: 100%;
  margin-top: 32px;
}

td {
  padding: 10px;
  vertical-align: middle;
}

.custom-tr-workslist {
  background-color: #FFF;
}

td.icon {
  text-align: left;
  column-width : 24px;
}

.insp-icon {
  text-align: center;
  width: 32px;
}

.task-name {
  text-align: left;
  width: 100%;
}

.status {
  font-weight: bold;
  text-align: right;
}

.left-space {
  margin-left: 32px;
}

.hidden {
  display: none;
}

.section {
  margin-top: 64px;
}

.custom-card {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  margin: auto;
  padding: 20px;
  padding-left: 42px;
  padding-right: 42px;
  padding-bottom: 42px;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 128px;
}

.custom-option {
    text-align: center;
    padding-left: 16px;
}

.co-additional {
  justify-content: left;
}

.span-label {
  width: auto; /* Breite richtet sich nach dem Text */
  white-space: nowrap;
}

.custom-option label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-right: 15px;
}

.custom-option input[type="checkbox"], .custom-option input[type="radio"] {
  margin-right: 16px;
  width: 24px; 
  height: 24px;
  border: 1px solid #AAA; 
  background-color: white;
  appearance: none; 
  outline: none;
  position: relative;
  display: inline-block;
  transition: background-color 0.3s, border-color 0.3s;
  border-radius: 4px;
}

.custom-option input[type="checkbox"]:checked::after, .custom-option input[type="radio"]:checked::after {
  content: '✔';
  font-size: 32px;
  position: absolute;
  top: 4px;
  left: 8px;
  width: 8px;
  height: 16px;
  color: #C50000;
  top: -18px;
  left: 2px;
}

.custom-textfield {
  display: flex;
  flex-direction: column;
}

.custom-textfield__input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  width: 300px;
  color: #320000;
  transition: background-color 1s ease; /* Dauer und Timing */
}

.custom-button {
  padding: 10px 20px;
  background-color: #C50000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 32px;
  font-family: 'Roboto', sans-serif;
}

.custom-button:hover {
  background-color: #550000;
}

.custom-button.disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.icon i {
  font-size: 24px;
  vertical-align: middle;
}

.content {
  width: 700px;
  flex: 1;
  margin: auto;
  padding-left: 16px;
  padding-right: 16px;
}

footer {
  background-color: #333333AA;
  color: #fff;
  text-align: center;
  padding: 32px 0;
  width: 100%;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footerline {
  padding: 12px;
  color: #fff;
}

/* Neuen Kalenderbereich eingefügt */
#calendar-section {
  background-color: rgba(255, 255, 255, 0.9); /* Angepasst an den bestehenden Stil */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 20px auto;
  color: #000; /* Textfarbe an bestehendes Schema angepasst */
  margin-top: 42px;
}

.calendar-header {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.date-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.current-date {
  font-size: 18px;
  font-weight: bold;
  color: #555;
}

.custom-button-icon {
  background-color: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #C50000;
  transition: color 0.3s ease;
}

.custom-button-icon:hover {
  color: #550000;
}

#time-slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.time-slot {
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.3s ease;
  border: 1px solid #ddd;
}

.free {
  color: #00796b;
}

.free:hover {
  background-color: #b2ebf2;
  cursor: pointer;
}

.reserved {
  background-color: #ffebee;
  color: #c62828;
  cursor: not-allowed;
}

.pricetag {
  font-weight: bold;
  background-color: #CCC;
  width: 250px;
  padding: 24px;
  border-radius: 32px;
  transform: rotate(-10deg);
  box-shadow: #00000032 10px 10px 32px;
  margin-left: 70%;
  margin-top: -50px;
  text-align: center;
}

.pr_only {
  text-decoration: underline;
  font-size: 1.5em;
}

.pr_price {
  color: #C50000;
  font-size: 2.5em;
  text-shadow: #FFF 0px 0px 64px;
}

.pr_mwst {
  font-weight: normal;
  font-size: 1em;
}

/* Verdunkelter Hintergrund */
.popup {
  display: none !important; /* Erzwinge Unsichtbarkeit */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Halbtransparenter schwarzer Hintergrund */
  z-index: 1000; /* Über allen anderen Elementen */
  display: flex;
  justify-content: center; /* Horizontal zentrieren */
  align-items: center; /* Vertikal zentrieren */
}

.popup-title {
  font-weight: bold;
  margin-bottom: 16px;
}

/* Popup-Styling */
.popup > div {
  background-color: rgba(255, 255, 255, 0.95); /* Weißer Hintergrund mit Transparenz */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Schatten für das Popup */
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-sizing: border-box; /* Sicherstellen, dass Padding im Breiten-/Höhenlayout enthalten ist */
}

/* Titel- und Nachricht-Styling in einem */
.popup-content {
  font-size: 1.2em;
  color: #333;
  line-height: 1.5;
}

/* Optional: Animations-Effekt beim Öffnen */
.popup.show {
  display: flex !important; /* Zeigt das Popup an */
  animation: fadeIn 0.3s ease-in-out;
}

/* Verblassen beim Schließen */
.popup.fade-out {
  animation: fadeOut 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.blur {
  filter: blur(2px);
}





.fzs-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f2fdf1;
}
.fzs-td {
  border: 1px solid #006400;
  padding: 8px;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}
.fzs-header {
  font-weight: bold;
  font-size: 18px;
}
.fzs-highlight {
  font-weight: bold;
  color: #006400;
  width: 14px;
  text-align: center;
}
.fzs-td-input {
  padding: 0px;
}

.fzs-input {
  font-size: 18px;
  padding: 8px;
  background-color: #00000000;
  margin: 0;
  border: 0;
  width: calc(100% - 16px);
  height: 100%;
}

.inputokay {
  background: #99FFCC;
}

.margintop {
  margin-top: 64px;
}

.infotext {
  text-align: left;
}

.fscross {
   text-align: center;
   color: #CCCCCC;
   font-weight: bold;
   font-size: 18px;
}

.resetbutton {
  position: absolute;
  width: 42px;
  height: 42px;
  margin-left: -42px;
  border-width: 0px;
  font-size: 1em;
  background-color: #00000000;
  color: #c62828;
  cursor: pointer;
}

.insp-checkbox {
  cursor: default;
}

.inspworks {
  margin-bottom: 42px;
}