.booking-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.booking-card-weather {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 84px;
}

.booking-card-weather-main {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.booking-card-weather-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.booking-card-weather-temp {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-primary);
}

.booking-card-weather-wind {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-text-muted);
}

.booking-card-weather-wind-arrow {
  display: inline-block;
  transform-origin: 50% 50%;
}

/* Club Name - Hervorgehoben oben */
.card.club-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0;
  text-align: left;
  border-bottom: none;
  padding-bottom: 0;
  flex: 1;
}

.mini-card {
  background:var(--color-surface);
  width: 300px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--bradius);
  padding: 0.85rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  flex: 1 1 calc(50% - 1rem);
}

.info-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Datum, Uhrzeit, Anlage und Platz in 2x2 Grid */
.card.datetime-location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.5rem;
}

.datetime-location-section .time,
.datetime-location-section .court-name {
  text-align: right;
}

.partner-card {
  width: 100%;
}

.partner-list {
  display: none; /* Standardmäßig ausgeblendet */
  font-weight: 600;
  color: var(--color-primary);
}

.playersList {
  display: grid;
  grid-template-columns: 1fr 5fr 1fr;
  align-items: center;
  /* gap: 0.5rem; */
  color: var(--color-text-default);
  font-weight: 300;
  /* NEU: Schriftstärke für bessere Lesbarkeit */
}

.playersList.playerName {
  grid-template-columns: 5fr 1fr;
  color: var(--color-text-default);
}

.playersList .playerStatus {
  line-height: 10px;
  font-size: 15px;
}

/* Summen-Zeile - ohne white background */
.booking-options {
  display: none;
  margin-top: 0.45rem;
  align-items: center;
  gap: 0.55rem;
}

.booking-pins {
  display: none;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}

.booking-pins.visible {
  display: block;
}

.booking-pins strong {
  color: var(--color-text);
  font-weight: 600;
}

.booking-option-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 1px var(--color-surface))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.summary-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
  padding: 0.15rem 0 0.35rem;
  font-weight: 600;
}

.summary-section .summary-label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.summary-section .coupon-points,
.summary-section .amount {
  white-space: nowrap;
}

.summary-section .amount {
  width: auto;
}

.booking-card-discount-formula {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  white-space: normal;
}

.booking-card-original-price {
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.booking-card-discount {
  color: var(--color-success, var(--color-primary));
  font-weight: 600;
}

.booking-card-discount-operator {
  color: var(--color-text-muted);
  font-weight: 500;
}

.booking-card-final-price {
  color: var(--color-text-default);
  font-weight: 700;
}

.booking-card-price-details {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
  min-width: min(100%, 18rem);
  white-space: normal;
  line-height: 1.35;
  text-align: left;
}

.booking-card-price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-text-muted);
  font-size: 0.92em;
  font-weight: 500;
}

.booking-card-price-row-value {
  flex: 0 0 auto;
  white-space: nowrap;
}

.booking-card-price-subtotal {
  margin-top: 0.15rem;
  padding-top: 0.15rem;
  border-top: 1px solid var(--color-border, rgba(0, 0, 0, 0.12));
}

.booking-card-price-discount-row {
  color: var(--color-success, var(--color-primary));
}

.booking-card-price-payable {
  margin-top: 0.1rem;
  color: var(--color-text-default);
  font-weight: 700;
}

.booking-card-price-line {
  display: block;
}

.booking-card-price-total {
  color: var(--color-text-default);
  font-weight: 700;
}

.booking-card-price-breakdown {
  color: var(--color-text-muted);
  font-size: 0.92em;
  font-weight: 500;
}

.summary-section .amount-editable {
  display: inline-flex;
  align-items: center;
}

.booking-card-price-edit-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
  white-space: normal;
}

.booking-card-admin-discount-formula {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
  white-space: normal;
}

.booking-card-price-input {
  width: 7.5rem;
  min-height: 2.25rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.18));
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text-default);
  font: inherit;
  font-weight: 700;
  text-align: right;
}

.booking-card-price-input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.booking-card-price-input.is-invalid {
  border-color: #b00020;
  background: #fff3f4;
}

.summary-section .summary-separator {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Stornofrist - ohne background */
.card.cancellation-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cancellation-section .cancel-icon {
  width: 20px;
  height: 20px;
}

.cancellation-section .cancel-label {
  font-weight: 500;
  color: var(--color-surface-muted);
}

.cancel-time {
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-text-default);
}

/* Bemerkungen */
.card.remarks-section {
  width: 100%;
}

.remarks-section textarea {
  width: 100%;
  min-height: 60px;
  padding: 0.75rem;
  border: 3px solid var(--color-info);
  border-radius: var(--bradius);
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
}

.remarks-section textarea[readonly] {
  background: var(--color-surface-muted);
  border-color: var(--color-border-default);
  resize: none;
}

.remarks-section {
  display: none; /* Standardmäßig ausgeblendet */
}

.remarks-section.visible {
  display: block; /* Sichtbar, wenn die Klasse 'visible' hinzugefügt wird */
}

.remarks-section textarea::placeholder {
  color: var(--color-border-strong);
  font-style: italic;
}

.stornofrist {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.booking-footer-status {
  display: none;
  width: 100%;
  text-align: center;
  color: var(--color-danger, #b42318);
  font-weight: 600;
}

.booking-footer.footer-status-only {
  justify-content: center;
}

.booking-footer.footer-status-only .bapBtn {
  display: none !important;
}

.booking-footer.footer-status-only .booking-footer-status {
  display: block;
}

.booking-footer--manager-summary {
  flex-direction: column;
  align-items: stretch;
}

.booking-footer--manager-summary .bapBtn {
  width: 100%;
}

#editBooking {
  display: none;
}

#editBooking.show {
  display: inline-block;
}


.slot-overlay {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 45%);
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  padding: 0.6rem;
  z-index: 2;
  display: none;
}

.slot-overlay.show {
  display: flex;
}

.slot-overlay-location {
  width: 100%;
  margin-bottom: 0.45rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  font-weight: 600;
  text-align: left;
  line-height: 1.2;
}

.slot-overlay-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  flex: 1 1 100%;
  overflow: auto;
}

.slot-overlay-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.slot-overlay-row {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  width: 100%;
  gap: 0.4rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed var(--color-primary);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  user-select: none;
  cursor: pointer;
}

.slot-overlay-row.disabled {
  opacity: 0.6;
  filter: grayscale(0.2);
  cursor: not-allowed;
}

.slot-overlay-time {
  font-weight: 600;
  color: var(--color-primary);
}

.slot-overlay-duration {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.slot-remove {
  border: none;
  background: transparent;
  color: var(--color-danger);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.2rem;
  justify-self: end;
}

.slot-remove:hover {
  color: var(--color-danger);
}


.club-group {
  display: flex;
  flex-direction: column;
  background-color: var(--color-primary);
  width: 100%;
  position: absolute;
  top: 0;
  height: 40px;
  border-radius: var(--bradius) var(--bradius) 0 0;
}

.club-group .club-name {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* === Players List */
.partner-list {
  width: 100%;
}

.playerPrice,
.amount {
  width: 60px;
  justify-self: end;
}
