@charset "UTF-8";
:root {
  --plugin-medien-primary: #618f05;
  --plugin-medien-secondary: #57790d;
  --plugin-medien-tertiary: #90b050;
  --vacation-color: #c9c8e6;
  --holiday-color: #e6c9c8;
  --date-color: #1b5e20;
  --plugin-seminator-warning: #e8bf28;
  --plugin-seminator-error: #a1262d;
  --plugin-seminator-pending: #004873;
  --plugin-seminator-subsecondary: #263902;
  --plugin-seminator-subprimary: #3a5503;
  --plugin-seminator-nullary: #4d7204;
  --plugin-seminator-primary: #618f05;
  --plugin-seminator-secondary: #80a536;
  --plugin-seminator-tertiary: #a0bb69;
  --plugin-seminator-quaternary: #bfd29b;
  --plugin-seminator-quinary: #cfddb4;
  --plugin-seminator-senary: #eff3e6;
  --plugin-seminator-background: #ffffff;
  --plugin-seminator-gray-50: #fafafa;
  --plugin-seminator-gray-100: #f5f5f5;
  --plugin-seminator-gray-200: #e5e5e5;
  --plugin-seminator-gray-300: #d4d4d4;
  --plugin-seminator-gray-400: #a3a3a3;
  --plugin-seminator-gray-500: #737373;
  --plugin-seminator-gray-600: #525252;
  --plugin-seminator-gray-700: #404040;
  --plugin-seminator-gray-800: #262626;
  --plugin-seminator-gray-900: #171717;
  --plugin-seminator-gray-950: #0a0a0a;
}

:root :where(.wp-block-post-content) {
  font-size: var(--wp--custom--typography--font-size--text);
}

h1 {
  margin-block-end: 0;
}

.wp-block-create-block-datafetcher {
  background-color: #21759b;
  color: var(--plugin-seminator-background);
  padding: 2px;
}

.wp-container-core-post-content-is-layout-1 > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1248px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.card-style {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.com-row {
  border-color: var(--plugin-seminator-primary);
  border-style: solid;
  border-width: 1px;
  border-radius: 10px;
  margin-top: 1em;
  margin-bottom: 0.5em;
  padding: 1em 0.5em;
}

.com-row:hover {
  box-shadow: 0 0 10px rgba(97, 143, 5, 0.5);
}

.import-sections-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1em;
}

.import-section {
  flex: 1;
  padding: 0.7em 2em 1em;
  min-width: 255px;
  max-width: 520px;
  border: 1px solid #c3c4c7;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  background: var(--plugin-seminator-background);
  box-sizing: border-box;
}

.upload-form-style {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: space-between;
  align-items: center;
}

.full-width-image {
  width: 100%;
  height: auto;
}

.detail-image-container {
  display: flex;
  justify-content: center;
}

.detail-image {
  width: 50%;
  overflow: hidden;
}

.seminator-heading-shadow {
  border-radius: 10px;
  padding: 8px;
  margin-top: 0;
  margin-bottom: 0.25em;
  box-shadow: 3px 3px 5px grey;
  background: var(--plugin-seminator-background);
}

.wp-element-button {
  padding-left: 0.75em;
  padding-right: 0.75em;
}

.catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1em;
  row-gap: 1em;
  grid-auto-rows: max-content;
}

.catalog-cover-img {
  width: 10rem;
  height: auto;
  margin: auto;
  border-radius: 10px;
}

@media (max-width: 1354px) {
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1241px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 834px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 660px) {
  .catalog-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .category-buttons {
    flex-wrap: nowrap;
  }
  .subcategory-buttons {
    flex-wrap: nowrap;
  }
  .catalog-shortref-image {
    height: 100%;
  }
}
@media (max-width: 560px) {
  .catalog-shortref-image {
    width: 100%;
  }
  form.filter-indicator > .filter-button {
    margin: 0.5em 0;
    /*display: flex;*/
    width: 100%;
    text-align: justify;
    /*align-items: baseline;*/
    /*justify-content: flex-start;*/
  }
  .category-buttons, .subcategory-button {
    flex-wrap: wrap;
    margin-inline-start: 0;
    flex-direction: row;
    align-content: stretch;
    justify-content: space-between;
  }
  .filter-action {
    display: flex;
    flex-grow: 1;
  }
}
.catalog-shortref-image {
  width: 100%;
}

.catalog-item {
  border: 1px solid var(--plugin-seminator-primary);
  border-radius: 10px;
  padding: 0.5em;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-self: stretch;
}

.catalog-book-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-image-container {
  display: flex;
  justify-content: center;
  text-align: center;
  height: 250px;
}

.catalog-block-image {
  display: flex;
  justify-content: center;
  margin: 0.5rem;
}

.catalog-book-detail-wrapper p {
  font-size: 0.8em;
}

.catalog-book-edition-wrapper {
  display: flex;
}

.catalog-book-info-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.catalog-title {
  overflow: hidden;
  text-align: center;
}

#catalog-author-list {
  margin-block-end: 0;
}

.additional-filters {
  border: 1px solid;
  border-radius: 10px;
}

.filter-container {
  padding: 0.5em;
}

.filter-button .active, .filter-indicator .active {
  background-color: var(--plugin-seminator-secondary);
}

.filter-button {
  margin: 0.5em;
  /*background-color: var(--plugin-medien-tertiary);*/
}

.filter-submit-button {
  display: flex;
  justify-content: flex-end;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  margin-inline-start: 0;
}

.subcategory-buttons {
  display: flex;
  flex-wrap: wrap;
  margin-inline-start: 0;
}

#category-filter-label, #subcategory-filter-label {
  font-style: italic;
  font-size: 0.8em;
}

.filter-button.active {
  background-color: var(--plugin-seminator-primary);
  color: white;
}

#category-filter-buttons button.active, #subcategory-filter-buttons button.active {
  background-color: var(--plugin-seminator-primary);
  color: white;
}

#category-filter-label, #subcategory-filter-label {
  font-weight: bold;
}

#category-filter-buttons, #subcategory-filter-buttons {
  display: none;
}

.test {
  display: flex;
}

.training-module-item {
  padding: 0 0 0.5em 0;
}

.training-module-item h6 {
  margin: 0.5em 0;
}

.breadcrumb {
  margin-bottom: 1em;
}

ul.breadcrumb {
  padding: 10px 16px;
  list-style: none;
  background-color: #fafafa;
}

/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
  font-size: 18px;
}

ul.breadcrumb li + li:before {
  padding: 8px;
  color: black;
  content: "»";
}

ul.breadcrumb li a {
  color: black;
  text-decoration: none;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
  color: var(--plugin-seminator-primary);
  text-decoration: underline;
}

/*
 * Table-Builder
 */
.grid-layout {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr 1fr 0.5fr;
  row-gap: 0.5em;
}

.grid-layout-title {
  display: grid;
  grid-template-columns: 0.75fr 3.25fr 1.25fr 0.75fr;
  row-gap: 0.5em;
}

.grid-item {
  display: contents;
  padding: 0.5em;
}

.grid-cell {
  background-color: #fafafa;
  padding: 0.25em 0.5em;
  border: 1px solid #fafafa;
}

@media (max-width: 768px) {
  .grid-layout {
    grid-template-columns: 1fr;
  }
}
.header-row .grid-cell {
  font-weight: bold;
}

.header-row .grid-cell p {
  margin: 0;
}

.field-label {
  display: none;
}

.grid-cell {
  display: flex;
  align-items: center;
}

.grid-cell:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
}

.catalog-table {
  padding: 0 0.5em 0.5em 0.5em !important;
}

@media only screen and (max-width: 768px) {
  .grid-layout, .grid-layout-title {
    display: block;
    padding: 0;
  }
  .grid-item {
    display: grid;
    margin: 1em 0;
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
  }
  .header-row {
    display: none;
  }
  .grid-item .grid-cell {
    display: flex;
  }
  .field-label {
    display: inline;
    font-weight: bold;
    word-break: normal;
    color: var(--wp--preset--color--dark-gray);
  }
  .grid-cell:nth-child(3) {
    order: -1;
  }
  .grid-cell > a {
    text-decoration: none;
  }
  .course-subtitle {
    font-size: var(--wp--preset--font-size--large);
    font-weight: bold;
  }
  .grid-cell:last-child {
    display: flex;
    justify-content: normal;
    align-items: normal;
  }
}
.heatmap-calendar {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 20px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 10px;
}

.weeks {
  display: flex;
  flex-direction: row;
}

.week-labels {
  display: flex;
  justify-content: flex-start;
}

.empty-cell {
  width: 1.65rem;
  height: 20px;
  margin: 2px;
}

.week-number {
  width: 1.68rem;
  height: 20px;
  margin: 2px;
  text-align: center;
  font-weight: bold;
  color: #333;
}

.calendar-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
}

.day-label {
  width: 1.65rem;
  height: 20px;
  margin: 2px;
  text-align: center;
  font-weight: bold;
  color: #666;
}

.day {
  width: 1.68rem;
  height: 20px;
  margin: 2px;
  display: inline-block;
  text-align: center;
  border-radius: 5px;
  /*transition: background-color 0.3s ease-in-out;*/
}

.day.empty {
  background-color: var(--plugin-seminator-background);
}

.day.free {
  background-color: var(--plugin-seminator-gray-300);
}

.day.level-0 {
  background-color: #f1f1f1;
}

.day.level-1 {
  background-color: var(--plugin-seminator-quaternary);
}

.day.level-2 {
  background-color: var(--plugin-seminator-secondary);
}

.day.level-3 {
  background-color: var(--plugin-seminator-nullary);
}

.day.level-4 {
  background-color: var(--plugin-seminator-subsecondary);
}

.day.vacation {
  background-color: var(--vacation-color);
}

.day.holiday {
  background-color: var(--holiday-color);
}

.day.holiday.hide {
  background-color: var(--plugin-seminator-background) !important;
}

.day.vacation.hide {
  background-color: var(--plugin-seminator-background) !important;
}

.day.date.hide {
  background-color: var(--plugin-seminator-background) !important;
}

.day.holiday-vacation.hide {
  background: none;
  background-color: var(--plugin-seminator-background) !important;
}

.day:hover {
  cursor: pointer;
  opacity: 0.7;
  mix-blend-mode: difference;
}

.day[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: -25px;
  left: 50%;
  z-index: 9999;
  transform: translateX(-50%);
  background-color: rgb(0, 0, 0);
  color: var(--plugin-seminator-background);
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

.day .title {
  display: none !important;
}

.day .title {
  display: flex;
  flex-direction: column;
  padding: 5px;
}

.day .title p {
  font-weight: bold;
  margin: 0;
  font-size: 12px;
  text-align: left;
}

.day .title ul {
  display: flex;
  flex-direction: column;
  max-height: 8vh;
  flex-wrap: wrap;
  column-gap: 10px;
  margin: 0;
}

.day .title ul li {
  width: calc(50% - 5px);
  list-style-type: none;
  margin: 0;
}

@media (max-width: 768px) {
  .calendar-grid {
    max-width: 100%;
  }
  .week-labels {
    flex-direction: column;
    align-items: flex-start;
  }
  .week-number {
    width: auto;
  }
  .day {
    width: 13%;
    height: 14vh !important;
  }
  .week-number {
    height: 14vh !important;
  }
}
@media (max-width: 1354px) {
  .heatmap-calendar {
    flex-direction: row;
  }
  .week-labels {
    flex-direction: column;
    width: 5%;
  }
  .weeks {
    flex-direction: column;
    width: 100%;
  }
  .calendar-grid {
    flex-direction: row;
  }
  .day {
    width: 13%;
    height: 10vh;
  }
  .day .title {
    display: block !important;
    font-size: 9px;
  }
  .day-label {
    width: 13.5%;
  }
  .week-number {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10vh;
    width: auto;
  }
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 34px;
}

/* Container für den Toggle-Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  margin-right: 5px;
}

/* Verstecke das native Checkbox-Element */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  accent-color: transparent; /* Falls vom Browser unterstützt */
}

/* Der Slider-Hintergrund */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

/* Der "Kreis" im Slider */
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* Wenn gecheckt, ändere Hintergrundfarbe */
input.holiday:checked + .slider {
  background-color: var(--holiday-color);
}

input.vacation:checked + .slider {
  background-color: var(--vacation-color);
}

input.date:checked + .slider {
  background-color: var(--plugin-seminator-subsecondary);
}

/* Bei Fokus */
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

/* Beim Aktivieren des Switches verschiebt sich der Kreis */
input:checked + .slider:before {
  transform: translateX(18px);
}

/* Optional: Hover-Effekt */
.switch:hover .slider {
  background-color: #bbb;
}

.day.holiday-vacation {
  background: linear-gradient(45deg, var(--holiday-color) 50%, var(--vacation-color) 50%);
}

.date-management {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 1em;
  overflow: auto;
  flex-grow: 1;
}

.sections-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1em;
  margin: 10px 20px 0 2px;
  justify-content: space-between;
  align-items: baseline;
}

.options {
  display: flex;
  flex-direction: row;
  gap: 1em;
}

.submitButton {
  margin-left: auto;
  padding: 0.25em 1em;
  font-weight: bold;
}

/* ─── Context / Action Menu ‒ Re-Design ──────────────────────────────── */
/* Gemeinsame Basis */
.contextMenu,
.actionMenu {
  position: fixed; /* bleibt wie gehabt */
  min-width: 14rem; /* etwas großzügiger */
  background: var(--plugin-seminator-background);
  border: 2px solid var(--plugin-seminator-primary);
  border-radius: 0.5em; /* .5rem = Card-Radius */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000; /* .actionMenu wird per JS +1 gesetzt */
  font-family: inherit;
  display: none; /* bleibt JS-gesteuert */
}

/* Header (Datum) */
.contextMenu-header {
  font-weight: 600;
  padding: 0.4rem 1rem 0.45rem;
  background-color: var(--plugin-seminator-primary);
  color: var(--plugin-seminator-background);
  border-bottom: 1px dashed #d1d5db;
  margin: 0 0 0.25rem 0;
  text-align: center;
}

/* List-Grundlayout */
.contextMenu ul,
.actionMenu ul {
  list-style: none; /* keine bullets mehr */
  padding: 0;
  margin: 0;
}

.contextMenu li,
.actionMenu li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
  cursor: pointer;
  line-height: 1.25;
  transition: background 0.15s, color 0.15s;
}

.contextMenu li:hover,
.actionMenu li:hover {
  background: #f3f4f6; /* grau-100 */
}

/* Trennlinien */
.contextMenu li + li,
.actionMenu li:not(:last-child) {
  border-top: 1px dashed #e5e7eb; /* grau-200 */
}

/* Active-State (angeklickter Kurs) */
.contextMenu-listItem.active {
  background: #f3f4f6; /* identisch mit Hover */
}

/* Accessability: Tastaturnavigation */
.contextMenu li:focus-visible,
.actionMenu li:focus-visible {
  outline: 2px solid var(--plugin-medien-tertiary);
  outline-offset: -2px;
  background: #eef2ff; /* bläulicher Fokus wie Buttons */
}

.heatmap-add-course {
  display: flex;
  justify-content: space-between;
}

.heatmap-add-course:before {
  content: "+";
  margin-right: 13px;
}

.heatmap-add-course:after {
  content: "+";
  margin-left: 13px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--plugin-seminator-background);
  padding: 1.5rem;
  border-radius: 0.5em;
  border: 2px solid var(--plugin-seminator-primary);
  max-width: 80%;
  font-size: 14px;
}

.hidden {
  display: none;
}

.buttons {
  margin-top: 1rem;
  text-align: right;
}

#course-list {
  list-style: none;
  padding-left: 0;
  max-height: 150px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

#course-list li {
  margin-bottom: 0.25rem;
}

.course-info {
  border: 1px dashed #dcdcdc;
  padding: 1em;
  font-style: italic;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.modal-content .buttons {
  margin-top: 1rem;
  text-align: right;
  display: flex;
  justify-content: space-between;
}

.btn {
  align-self: flex-end;
  margin-top: 1em;
  padding: 0.25em 1em;
  min-width: 70px;
}

.btn:hover {
  cursor: pointer;
}

.btn.modal-submit {
  color: var(--plugin-seminator-primary);
}

.btn.modal-abort {
  color: red;
}

.day.selected {
  background: #2563eb; /* Primärfarbe */
  color: var(--plugin-seminator-background);
  box-shadow: 0 0 0 2px #1e3a8a inset; /* dezente Outline */
}

.day.selected:hover {
  mix-blend-mode: normal;
}

/* Grid-Container für alle Locations */
#location-container, #appointment-location-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5em;
  margin: 1rem 0;
}

/* Wrapper um jede Card (für Abstand) */
.location-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* Die eigentliche Location- „Card“ */
.location-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--plugin-seminator-background);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
  width: 100%;
}

/* Hover-Effekt */
.location-card:hover {
  background: #f9fafb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Checked-State via Peer-Selector */
input[type=radio]:checked + .location-card {
  border-color: var(--plugin-seminator-primary);
  box-shadow: 0 0 0 2px rgba(97, 143, 5, 0.3);
}

/* Titel */
.loc-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Adresse */
.loc-address {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.3;
}

.location-wrapper > input[type=radio] {
  display: none;
}

/* Basis-Styles für alle Buttons */
button {
  font-family: inherit;
  line-height: 1.2;
  padding: 0.6em 1.2em;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

/* Primärer Button (z.B. “Erstellen”) */
.btn-primary {
  background-color: var(--plugin-seminator-primary);
  color: var(--plugin-seminator-background);
}

.btn-primary:hover {
  background-color: var(--plugin-seminator-secondary);
  color: var(--plugin-seminator-background);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--plugin-medien-tertiary);
}

/* Sekundärer Button (z.B. “Abbrechen”) */
.btn-secondary {
  background-color: transparent;
  color: #374151; /* grau-700 */
  border-color: #d1d5db; /* grau-300 */
}

.btn-secondary:hover {
  background-color: #f3f4f6; /* grau-100 */
}

.btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(209, 213, 219, 0.5);
}

.new-date-label {
  font-weight: bold;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
}

.fieldset {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  margin: 1em 0;
}

.field {
  display: inherit;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 2em;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  border-radius: 0.375rem;
}

.close-btn:hover {
  color: var(--plugin-seminator-primary);
}

.close-btn:focus,
#appointment-modal input:focus,
#appointment-modal select:focus,
#appointment-modal textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--plugin-medien-tertiary);
}

.loc-grid {
  display: flex;
  gap: 0.5em;
  margin: 0.5rem 0;
}

.location-container {
  display: flex;
  gap: 0.5em;
  margin: 0.5em 0;
  width: 100%;
}

:root {
  --booking-primary: #0069d9;
  --booking-accent: #28a745;
  --booking-border: #e0e0e0;
  --booking-bg: #ffffff;
  --booking-text: #222222;
  --booking-radius: 10px;
  --booking-shadow: 0 4px 10px rgba(0, 0, 0, .05);
}

/* TABS */
.booking-tabs {
  display: flex;
  margin-bottom: 1rem;
}

.booking-tabs__tab {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0;
  font-weight: 600;
  border: 1px solid var(--booking-border);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.booking-tabs__tab:first-child {
  border-radius: var(--booking-radius) 0 0 var(--booking-radius);
}

.booking-tabs__tab:last-child {
  border-radius: 0 var(--booking-radius) var(--booking-radius) 0;
  border-left: none;
}

.booking-tabs__tab:hover,
.booking-tabs__tab--active {
  background: var(--plugin-seminator-primary);
  color: #fff;
}

.booking-tabs__tab--disabled {
  cursor: not-allowed;
  background: #f1f1f1;
  color: var(--booking-disabled);
  pointer-events: none;
}

/* VIEWS */
.booking-view {
  display: none;
}

.booking-view--active {
  display: block;
}

/* FORM SECTIONS */
.booking-section {
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.booking-section__title {
  background: #fafafa;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--booking-border);
  margin: 0;
}

/* ITEM (RADIO WRAPPER) */
.booking-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid var(--booking-border);
  cursor: pointer;
  transition: background 0.15s;
}

.booking-item:last-child {
  border-bottom: none;
}

.booking-item:hover {
  background: #f9fafb;
}

.booking-item__details {
  font-size: 0.85em;
  line-height: 1.35;
  color: var(--booking-text);
  flex: 1;
}

.booking-item__radio {
  display: none;
}

.booking-item__badge {
  width: 24px;
  height: 24px;
  border: 2px solid var(--plugin-seminator-subprimary);
  border-radius: 50%;
  transition: background 0.2s;
}

.booking-item__radio:checked + .booking-item__badge {
  background: var(--plugin-seminator-primary);
}

.booking-item__radio:disabled + .booking-item__badge {
  opacity: 0.3;
  border-style: dashed;
  cursor: not-allowed;
}

.booking-item__location, .booking-item__date {
  font-size: var(--wp--preset--font-size--normal);
  color: #000;
  margin: 0.5em 0 0 0;
}

/* BUTTONS */
.booking-btn-group {
  display: flex;
  gap: 1rem;
}

.booking-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  background: #fff;
  transition: background 0.15s, box-shadow 0.15s;
}

.booking-btn:hover {
  box-shadow: var(--booking-shadow);
}

.booking-btn--primary {
  background: var(--plugin-seminator-primary);
  color: #fff;
  border: none;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0.5em 0;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background: var(--plugin-seminator-background);
  width: 100%;
  box-sizing: border-box;
}

.course-booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--plugin-seminator-senary);
  margin: 0;
  font-size: medium;
  border-bottom: 1px solid rgba(97, 143, 5, 0.3);
}

.course-booking-header h2 {
  text-transform: uppercase;
  font-size: medium;
  margin: 0;
}

.course-booking-header p {
  margin: 0;
}

.course-booking-highlight {
  font-weight: bold;
  font-size: medium;
  color: var(--plugin-seminator-background);
  background-color: var(--plugin-seminator-tertiary);
  padding: 0.1em 1em;
  margin-left: 0.25rem;
  border-radius: 0.25rem;
  min-width: 223px;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
}

.course-booking-highlight-wide {
  font-weight: bold;
  font-size: medium;
  color: var(--plugin-seminator-background);
  background-color: var(--plugin-seminator-primary);
  padding: 0.1em 4em;
  margin-left: 0.25rem;
  border-radius: 0.25rem;
  min-width: 242px;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
}

.course-booking-container {
  margin: 0;
  padding: 0.75rem 1rem;
  gap: 1em;
  background: var(--plugin-seminator-senary);
}

.course-booking-container h2 {
  font-size: medium;
}

.course-booking-container p {
  margin: 0;
}

/* booking.css */
.booking-section {
  max-width: 800px;
  padding: 1rem;
  margin: 0 auto 1em;
}

.booking-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.booking-header {
  margin-bottom: 1rem;
}

.booking-label {
  font-size: 1.25rem;
  font-weight: 500;
}

.booking-info, .detail-info {
  font-size: 1rem;
  line-height: 1.4;
}

.booking-details {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.detail-column {
  flex: 1;
}

.detail-label {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.booking-form {
  border-top: 1px solid #ddd;
  padding-top: 1em;
}

/* Container-Grundstyling */
.form-step {
  border: 1px solid var(--plugin-seminator-primary);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.form-step p {
  margin: 0;
}

.participant-block {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px dashed var(--plugin-seminator-tertiary);
  border-radius: 10px;
}

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

.form-group.full-width {
  grid-column: 1/-1;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--plugin-seminator-primary);
}

.form-group textarea {
  width: 100%;
  height: 150px;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  border: 2px solid var(--plugin-seminator-quinary);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
}

.form-group textarea:focus {
  border: 2px solid var(--plugin-seminator-primary);
}

/* Input-Grundzustand */
#bookingForm .booking-input,
#inhouseForm .booking-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--plugin-seminator-quinary);
  border-radius: 1rem;
  background: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  color: #777;
}

/* Fokus-Zustand */
#bookingForm .booking-input:focus,
#inhouseForm .booking-input:focus {
  outline: none;
  border: 2px solid var(--plugin-seminator-primary);
}

/* Checkbox-Gruppe anpassen */
.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  margin-right: 0.5rem;
}

.course-booking-information {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 1em;
  background-color: var(--plugin-seminator-senary);
}

.booking-container-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.booking-location-list {
  list-style: none;
  margin: 0 !important;
  padding: 0;
}

.hp {
  position: absolute;
  left: -999em;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Grund-Layout für alle Alerts */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-family: sans-serif;
  font-size: medium;
  line-height: 1.4;
}

/* Erfolgs-Meldung: grün */
.alert-success {
  color: var(--plugin-seminator-background);
  background-color: var(--plugin-seminator-primary);
  border-color: var(--plugin-seminator-primary);
}

/* Fehlermeldung: rot */
.alert-error {
  color: var(--plugin-seminator-background);
  background-color: var(--plugin-seminator-error);
  border-color: var(--plugin-seminator-error);
}

.booking-date__status {
  display: inline-block;
  height: 48px !important;
  aspect-ratio: 1/1;
  mask: url("../../src/img/comelio-dozent_300.svg") center/contain no-repeat;
  -webkit-mask: url("../../src/img/comelio-dozent_300.svg") center/contain no-repeat;
  background-color: currentColor;
  overflow: visible;
}

.booking-date__status.open {
  color: var(--plugin-seminator-primary);
}

.booking-date__status.pending {
  color: var(--plugin-seminator-pending);
}

.booking-date__status.limited {
  color: var(--plugin-seminator-warning);
}

.booking-date__status.canceled {
  color: var(--plugin-seminator-error);
}

.booking-date__status.planned {
  color: var(--plugin-seminator-gray-400);
}

.btn-submit {
  width: 100%;
  font-weight: bold;
  font-size: large;
  margin-top: 1em;
  padding: 1em;
}

.comelio-captcha-field {
  display: flex;
}

.booking-input.captcha {
  margin-left: 0.5rem;
}

.wp-list-table th,
.wp-list-table td {
  vertical-align: middle !important;
}

.wrap h1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wp-list-table tr.history {
  opacity: 0.5;
}

.wp-list-table.locations tfoot {
  display: none;
}

.wp-list-table.locations .column-name::first-line {
  font-weight: bold;
}

.focus-card-style {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-basis: 25% !important;
  border-radius: 10px;
  padding: 1em;
  margin-top: 0;
  box-shadow: 2px 1px 5px grey;
}

.focus-card-style h3 {
  text-align: center;
  margin: 0;
}

.focus-card-style p {
  margin: 0 !important;
}

.focus-card-style .focus__state {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.focus-card-style .focus__location {
  margin-top: 0;
  padding: 0;
}

.focus-card-style .focus__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1em;
}

.focus-card-style .focus__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.focus-card-style .focus__header a {
  flex-grow: 1;
  margin-left: 1em;
  text-align: center;
}

.focus-card-style .focus__footer a {
  flex-grow: 1;
  text-align: center;
}

.focus-card-style .focus__state {
  margin: 0;
  font-size: medium;
  color: var(--plugin-seminator-gray-700);
}

.booking__no-dates {
  text-align: center;
}

.booking-btn:disabled,
.booking-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Einfaches One-File-Styling */
.cl-flex {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

@media (max-width: 1241px) {
  .cl-flex {
    flex-direction: column;
  }
}
.cl-form .cl-row {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 600px;
}

.cl-form .cl-row label {
  width: 140px;
  font-weight: 600;
}

.cl-block {
  border-bottom: 1px solid #ddd;
}

.cl-input {
  flex: 1 1 220px;
}

.nr {
  flex: 0 0 90px;
}

.zip {
  flex: 0 0 120px;
}

.cl-inline {
  display: flex;
  gap: 12px;
  flex: 1 1 220px;
}

.cl-form input,
.cl-form select {
  width: 100%;
}

.cl-row select {
  max-width: 100%;
}

#export-preview {
  flex: 1 1 50%;
  border-left: 1px solid #ddd;
  padding-left: 2rem;
}

#export-preview pre {
  font-size: 13px;
}

.container {
  display: flex;
  gap: 1rem;
}

.container__main {
  flex: 1;
}

.container__sidebar {
  flex: 0 0 25%;
}

.language-switcher {
  position: absolute;
  display: flex;
  top: -0.75em; /* sitzt im Rahmen */
  right: 1.2em;
  background: #fff; /* überm Rand „freischneiden“ */
  font-size: 1.5em;
  line-height: 1.2;
  border: 1px solid var(--plugin-seminator-primary);
  border-radius: 5px;
}

.language-switcher a {
  border-radius: 4px;
  display: inline-block;
  padding: 0 0.25em;
  text-decoration: none;
  font-weight: 600;
  background-color: var(--plugin-seminator-background);
  color: var(--plugin-seminator-gray-600);
}

.language-switcher a.active {
  background-color: var(--plugin-seminator-primary);
  color: var(--plugin-seminator-background);
}

.seminator-catalog-preview li a {
  box-sizing: border-box;
  padding: 0 0.5em;
  display: inline-flex;
  width: 100%;
}

.seminator-catalog-preview a:hover {
  border-radius: 10px;
  background-color: var(--plugin-seminator-background);
}

.seminator-catalog-preview-list {
  font-size: var(--wp--preset--font-size--x-large);
  list-style: none;
  margin: 0;
  padding: 0;
}

/*# sourceMappingURL=style.css.map */
