/* Form Styles */
.form-container {
  background-color: #fff;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.form-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #008080;
}
h3{
  color: #008080;
}
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.form-row-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}
.form-row label {
  font-size: 16px;
  font-weight: bold;
  color: #008080;
  margin-right: 10px;
}
.form-row-column label {
  font-size: 16px;
  font-weight: bold;
  color: #008080;
  margin-right: 10px;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"] {
  width: 50%;
  padding: 5px 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f5f5f5;
  color: #000;
  transition: border-color 0.2s ease-in-out;
}
.form-row textarea{
width: 50%;
padding: 5px 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #f5f5f5;
color: #000;
transition: border-color 0.2s ease-in-out;
}
.label-top{
	align-self: flex-start;
}
.form-row select {
  padding: 5px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f5f5f5;
  color: #000;
}
.form-row-column select {
  padding: 5px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f5f5f5;
  color: #000;
}

.form-row select:focus {
  outline: none;
  border-color: #008080;
}

.form-row-column select:focus {
  outline: none;
  border-color: #008080;
}

.form-row-checkbox {
  justify-content: flex-start;
  display: flex;
  margin-bottom: 20px;
  width: 100%;
  align-items: flex-start; /* Ändern Sie diese Zeile */
}


.form-row-checkbox label {
  width: calc(100% - 25px);
  display: inline-block;
  line-height: 1.4;
  margin-left: 25px;
  cursor: pointer;
}


body {
  background-color: #f5f5f5;
}

h1 {
  color: #008080;
  text-align: center;
  font-size: 32px;
  margin-top: 20px;
}
.calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
  text-align: center;
}

#calendar-title {
  margin: 0;
  /*flex-grow: 1;*/
}

#next-prev-buttons-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#prev-month-btn, #next-month-btn, #appointment-btn {
  background-color: #6FC3B2;
  color: #FFFFFF;
  padding: 0.5em 1em;
  border: none;
  border-radius: 0.25em;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  margin: 2px 0.5em;
}

#prev-month-btn:hover, #next-month-btn:hover, #appointment-btn:hover {
  background-color: #5CA59F;
}

.calendar-header button:active, .calendar-header button:focus {
  outline: none;
}

.calendar-header button::-moz-focus-inner {
  border: 0;
}

.calendar-header button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.calendar-header button[disabled]:hover {
  background-color: #6FC3B2;
}
table {
  border-collapse: collapse;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 600px;
}

th, td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #008080;
  color: #fff;
}

td {
  height: 100px;
}

td:hover {
  background-color: #eee;
}

.today {
  background-color: #008080;
  color: #fff;
  font-weight: bold;
}

.current-month-day {
  color: #000;
}
.bookable-day {
	background-color: #6FC3B2;
  color: #000;
    cursor: pointer;
	font-weight: bold;
}

.prev-month-day, .next-month-day {
  color: #ccc;
}

.past-day {
  color: #ccc;
  pointer-events: none;
}

.modal {
  display: none;
  position: fixed;
  /*z-index: 1;*/
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  position: relative;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


@media only screen and (max-width: 600px) {
  table {
    font-size: 14px;
  }
  th, td {
    padding: 5px;
  }
  td {
    height: 50px;
  }
}
/* ADMIN-Bereich */
.admin-table td {
  height: auto;
  overflow: auto;
}
.admin-heading {
  margin-bottom: 0;
  text-align: center;
}
/*mobile ansicht */
@media screen and (max-width: 650px) {
  .form-row {
    flex-direction: column;  /* Ändern auf Spalte, wenn Fensterbreite <= 650px */
    align-items: start;      /* Ändern von center zu start */
  }
      body *:not(button):not(input[type="button"]):not(input[type="submit"]):not(#prev-month-btn):not(#next-month-btn) {
        word-wrap: break-word;
        overflow-wrap: break-word;
		hyphens: auto;
    }
	.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"] {
  width: 90%;
}
.form-row textarea{
width: 90%;
}
.form-row {
  flex-direction: column;
  align-items: start;
}
  .form-row-checkbox {
    flex-direction: column;
  }

  .form-row-checkbox label {
    margin-left: 0;
    width: 100%;
  }
}