/**
 * Bootsvermietung Duisburg – Buchungssystem Styles
 * ==================================================
 * Farben: --ocean: #1a6fad, --sun: #f5a623, --sky: #e8f4fd
 */

/* ── KALENDER ── */
.bk-calendar {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 20px;
}

.bk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bk-month {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #1a6fad;
  margin: 0;
}

.bk-nav-btn {
  background: #e8f4fd;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: #1a6fad;
  cursor: pointer;
  transition: all 0.2s;
}
.bk-nav-btn:hover {
  background: #1a6fad;
  color: #fff;
}

.bk-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.bk-wd {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
  padding: 6px 0;
}

.bk-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  min-height: 200px;
}

.bk-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
}

.bk-day-empty { background: transparent; }
.bk-day-past { color: #ccc; background: #f8f8f8; }

.bk-day-avail {
  background: #e8f8e8;
  color: #2d7a2d;
  font-weight: 600;
}
.bk-day-avail:hover {
  background: #2d7a2d;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(45,122,45,0.3);
}

.bk-day-partial {
  background: #fff8e1;
  color: #d4920a;
  font-weight: 600;
}
.bk-day-partial:hover {
  background: #f5a623;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(245,166,35,0.3);
}

.bk-day-booked {
  background: #fde8e8;
  color: #c33;
  text-decoration: line-through;
}

.bk-day-selected {
  background: #1a6fad !important;
  color: #fff !important;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(26,111,173,0.4);
  text-decoration: none !important;
}

/* Legende */
.bk-legend {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.bk-leg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #666;
}

.bk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.bk-dot-avail { background: #2d7a2d; }
.bk-dot-partial { background: #f5a623; }
.bk-dot-booked { background: #c33; }

.bk-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #888;
  font-size: 0.9rem;
}

.bk-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px;
  color: #c33;
  background: #fde8e8;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* ── ZEITFENSTER-PICKER ── */
.bk-slot-picker {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 20px;
}

.bk-slot-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #1a6fad;
  margin: 0 0 16px;
}

.bk-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bk-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #f6f9fc;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.bk-slot:hover {
  border-color: #1a6fad;
  background: #e8f4fd;
}
.bk-slot-active {
  border-color: #1a6fad !important;
  background: #e8f4fd !important;
  box-shadow: 0 2px 10px rgba(26,111,173,0.15);
}

.bk-slot-label {
  font-weight: 600;
  color: #333;
}

.bk-slot-price {
  font-weight: 700;
  color: #1a6fad;
  font-size: 1.1rem;
}

/* ── SONDERANGEBOT-SLOT ── */
.bk-special-offer-section {
  position: relative;
  margin-top: 18px;
  padding-top: 10px;
}
.bk-special-badge {
  position: absolute;
  top: 0;
  left: 16px;
  background: #16a34a;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  z-index: 1;
}
.bk-slot-special {
  background: linear-gradient(135deg, #e8f9ee 0%, #d4f1df 100%) !important;
  border: 2px solid #16a34a !important;
  margin-top: 6px;
  padding: 18px 20px !important;
}
.bk-slot-special:hover {
  border-color: #0d7a2e !important;
  background: linear-gradient(135deg, #d4f1df 0%, #c0e8cc 100%) !important;
}
.bk-slot-special.bk-slot-active {
  border-color: #0d7a2e !important;
  background: linear-gradient(135deg, #d4f1df 0%, #c0e8cc 100%) !important;
  box-shadow: 0 2px 12px rgba(22,163,74,0.2);
}
.bk-slot-special-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.bk-slot-special-detail {
  font-size: .78rem;
  color: #4a6a82;
  margin-top: 2px;
}
.bk-slot-special-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0d7a2e;
  text-align: right;
  white-space: nowrap;
}
.bk-slot-special-price span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .65rem;
  font-weight: 400;
  color: #4a6a82;
}
.bk-sum-included {
  font-size: .82rem;
  color: #16a34a;
  font-weight: 500;
}
.bk-special-time-pick {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 10px;
  padding: 14px 16px;
  background: #f0faf3;
  border-radius: 8px;
  border: 1px solid #c0e8cc;
}
.bk-special-time-pick label {
  font-size: .85rem;
  font-weight: 600;
  color: #333;
}
.bk-special-time-pick input[type="time"] {
  display: block;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: .9rem;
}
.bk-special-time-info {
  font-size: .82rem;
  color: #16a34a;
  font-weight: 500;
  align-self: center;
}

.bk-custom-time {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 12px;
  padding: 16px;
  background: #f6f9fc;
  border-radius: 8px;
  flex-wrap: wrap;
}

.bk-custom-time label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: #666;
}

.bk-custom-time input[type="time"] {
  padding: 10px 14px;
  border: 2px solid #dde5ed;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}

.bk-btn-primary {
  background: #1a6fad;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.bk-btn-primary:hover { background: #0f5289; }

/* ── BUCHUNGSFORMULAR ── */
.bk-booking-form {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 20px;
}

.bk-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #1a6fad;
  margin: 0 0 20px;
}

.bk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.bk-field {
  margin-bottom: 12px;
}

.bk-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.bk-field input[type="text"],
.bk-field input[type="email"],
.bk-field input[type="tel"],
.bk-field select,
.bk-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #dde5ed;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.bk-field input:focus,
.bk-field select:focus,
.bk-field textarea:focus {
  border-color: #1a6fad;
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,111,173,0.1);
}

.bk-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #555;
  cursor: pointer;
}

.bk-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #1a6fad;
}

.bk-checkbox a {
  color: #1a6fad;
}

/* Führerschein / Skipper Auswahl */
.bk-license-section {
  margin: 15px 0;
}

.bk-field-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 10px;
}

.bk-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bk-radio-option {
  cursor: pointer;
  display: block;
}

.bk-radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bk-radio-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid #dde5ed;
  border-radius: 12px;
  background: #fff;
  transition: all 0.2s ease;
}

.bk-radio-card:hover {
  border-color: #1a6fad;
  background: #f0f7fc;
}

.bk-radio-active,
.bk-radio-option input[type="radio"]:checked + .bk-radio-card {
  border-color: #1a6fad;
  background: #e8f4fd;
  box-shadow: 0 0 0 3px rgba(26,111,173,0.15);
}

.bk-radio-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.bk-radio-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bk-radio-text strong {
  font-size: 0.95rem;
  color: #1a3a5c;
}

.bk-radio-text small {
  font-size: 0.8rem;
  color: #777;
}

.bk-license-hint {
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.bk-hint-warning {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
}

.bk-hint-info {
  background: #e8f4fd;
  border: 1px solid #1a6fad;
  color: #0f5289;
}

@media (max-width: 600px) {
  .bk-radio-card {
    padding: 12px 14px;
  }
  .bk-radio-icon {
    font-size: 1.3rem;
    width: 32px;
  }
}

/* Zusammenfassung */
.bk-summary {
  background: #e8f4fd;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.bk-summary h4 {
  margin: 0 0 12px;
  color: #1a6fad;
  font-size: 1rem;
}

.bk-sum-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  color: #555;
}

.bk-sum-total {
  border-top: 2px solid #1a6fad;
  margin-top: 8px;
  padding-top: 10px;
  font-size: 1.1rem;
}
.bk-sum-total strong {
  color: #1a6fad;
  font-size: 1.2rem;
}

/* Submit-Button */
.bk-btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #1a6fad, #0f5289);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.bk-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,111,173,0.35);
}
.bk-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.bk-cancel-info {
  text-align: center;
  font-size: 0.82rem;
  color: #888;
  margin-top: 10px;
}

/* ── ERFOLGSANZEIGE ── */
.bk-success-card {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 40px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.bk-success-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.bk-success-card h2 {
  font-family: 'Playfair Display', serif;
  color: #2d7a2d;
  margin: 0 0 10px;
}

.bk-success-code {
  background: #e8f4fd;
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.bk-success-code strong {
  color: #1a6fad;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.bk-success-details {
  text-align: left;
  max-width: 350px;
  margin: 0 auto 20px;
}

.bk-success-info {
  background: #e8f8e8;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #2d5a2d;
  margin: 20px 0;
}

.bk-success-contact {
  font-size: 0.88rem;
  color: #888;
}
.bk-success-contact a {
  color: #1a6fad;
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .bk-calendar { padding: 16px; }
  .bk-day { font-size: 0.8rem; }
  .bk-form-grid { grid-template-columns: 1fr; }
  .bk-slot { flex-direction: column; gap: 6px; text-align: center; }
  .bk-custom-time { flex-direction: column; }
  .bk-legend { flex-direction: column; align-items: center; gap: 8px; }
}
