/* Basic styling for the Termin Prüfer/Beantworter UI */

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f7f7f7;
  color: #333;
}

.container {
  max-width: 950px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
  margin-top: 0;
  font-size: 24px;
  color: #2c3e50;
}

h2 {
  margin-top: 30px;
  font-size: 20px;
  color: #34495e;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

textarea,
input[type="text"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

textarea {
  min-height: 100px;
}

button {
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background-color: #2980b9;
}

.date-list {
  list-style-type: disc;
  padding-left: 20px;
}

.date-range {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}

.date-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-container {
  overflow-x: auto;
  margin-top: 10px;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.calendar-table th,
.calendar-table td {
  border: 1px solid #ddd;
  padding: 6px;
  font-size: 13px;
  text-align: center;
}

.calendar-table th {
  background-color: #ecf0f1;
  font-weight: 600;
}

.occupied {
  background-color: #ffdddd;
}

.free {
  background-color: #ddffdd;
}

.appt-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.appt-table th,
.appt-table td {
  border: 1px solid #ddd;
  padding: 6px;
  font-size: 13px;
}

.appt-table th {
  background-color: #ecf0f1;
  font-weight: 600;
}

.final-field {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.final-field input,
.final-field textarea {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.final-field textarea {
  resize: vertical;
}

/* Hide the result and upload sections by default; they will be
   displayed after the analysis is completed or if values are present
   from a previous session. */
#ergebnis,
#upload {
  display: none;
}