#recras-dayview {
  font-family: system-ui, sans-serif;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 1rem auto;
}

#recras-dayview ul {
  list-style: none;
  padding: 0;
}

#recras-dayview li {
  background: #f4f4f4;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
}

#recras-dayview table {
  width: 100%;
  overflow-x: auto;
  display: block;
  border-collapse: collapse;
  margin-top: 1em;
}

#recras-dayview th,
#recras-dayview td {
  white-space: nowrap;
  padding: 0.5em;
  border: 1px solid #ddd;
}

#recras-dayview label {
  font-weight: bold;
  margin-right: 0.5em;
}

#recras-dayview select,
#recras-dayview input[type="date"] {
  padding: 0.4em;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-right: 1em;
}

#recras-dayview button {
  padding: 0.5em 1em;
  border: none;
  border-radius: 4px;
  background: #c8102e;
  color: white;
  cursor: pointer;
  margin: 0.3em;
}

#recras-dayview button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#recras-dayview .btn-report a {
  display: inline-block;
  padding: 0.4em 0.6em;
  margin-top: 1em;
  background: #c8102e;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
}

#recras-dayview strong {
  display: inline-block;
  margin-top: 0.5em;
  font-weight: bold;
}

#recras-dayview em {
  color: #666;
  font-style: italic;
}

/* Basislayout der PWA-Header-Navigation */
header.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: #c8102e;
  color: #fff;
}

header.app-header img {
  height: 40px;
  margin-right: 1rem;
}

header.app-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

header.app-header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.25em 0.5em;
  border-radius: 4px;
}

header.app-header nav a:hover,
header.app-header nav a:focus {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

/* Mobile navigation */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
}

@media (max-width: 600px) {
  header.app-header nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }
  header.app-header.open nav {
    display: flex;
  }
  #menu-toggle {
    display: block;
  }
}
/* Mobile bottom navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #c8102e;
  color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  z-index: 1000;
}
.bottom-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bottom-nav a .icon {
  font-size: 1.3em;
}
@media (min-width: 601px) {
  .bottom-nav {
    display: none;
  }
}
body { padding-bottom: 3.5rem; }

.pwa-date {
  padding: 0.4em;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.btn-primary {
  padding: 0.5em 1em;
  border: none;
  border-radius: 4px;
  background: #c8102e;
  color: white;
  cursor: pointer;
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.tourreport-table-wrapper {
  overflow-x: auto;
}

.tourreport-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
}

.tourreport-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tourreport-form .form-section {
  margin-bottom: 1.5rem;
}

.tourreport-form .form-group {
  margin-bottom: 1rem;
}

.tourreport-form .form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tourreport-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #2d3748;
}

.tourreport-form .required-field::after {
  content: " *";
  color: #c8102e;
  font-weight: 700;
}

.tourreport-form input[type="text"],
.tourreport-form input[type="number"],
.tourreport-form input[type="date"],
.tourreport-form input[type="time"],
.tourreport-form input[type="file"],
.tourreport-form select,
.tourreport-form textarea {
  width: 100%;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tourreport-form input:focus,
.tourreport-form select:focus,
.tourreport-form textarea:focus {
  outline: none;
  border-color: #c8102e;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

.tourreport-form textarea {
  min-height: 120px;
  resize: vertical;
}

.tourreport-form .other-input {
  margin-top: 0.5rem;
}

.tourreport-form .input-suffix-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tourreport-form .input-suffix {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  color: #2d3748;
}

.tourreport-form .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.tourreport-form .checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.tourreport-form .form-section legend {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1a202c;
}

.tourreport-form .brauhaus-block {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fafafa;
}

.tourreport-form .brauhaus-block legend {
  font-weight: 700;
  color: #2d3748;
}

.tourreport-form .last-brauhaus-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.tourreport-form .btn-primary {
  width: 100%;
  font-size: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .tourreport-form {
    padding: 1rem;
  }
}

.tourreport-table {
  width: 100%;
  border-collapse: collapse;
}

.tourreport-table th,
.tourreport-table td {
  padding: 0.5rem;
  white-space: nowrap;
}
