/*
 * LED Lounge — Rental Form CSS
 * Brandkleuren: #00CFFF cyan · #FF4DDB pink · #9D4EDD purple · #0A0A0A zwart
 */

/* ── Variables (fallbacks — overschreven door inline style) ─ */
.llr-rental-form {
  --llr-c: #00CFFF;
  --llr-p: #FF4DDB;
  --llr-a: #9D4EDD;
  --llr-bg:     #0f0f16;
  --llr-bg2:    #13131e;
  --llr-border: rgba(0,207,255,.16);
  --llr-text:   #f1f2f5;
  --llr-muted:  #7a7f96;
  --llr-radius: 10px;

  background: var(--llr-bg);
  border: 1px solid var(--llr-border);
  border-radius: 14px;
  padding: 24px;
  margin: 28px 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--llr-text);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}

/* ── Header ─────────────────────────────────────────────── */
.llr-rf-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--llr-border);
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.llr-rf-header-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--llr-c);
  flex-shrink: 0;
  animation: llr-pulse 2s ease-in-out infinite;
}
@keyframes llr-pulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.4); opacity:.7; }
}
.llr-rf-base-price {
  margin-left: auto;
  font-size: .85rem;
  color: var(--llr-c);
  font-weight: 700;
}
.llr-rf-base-price small { color: var(--llr-muted); font-weight: 400; }

/* ── Labels ──────────────────────────────────────────────── */
.llr-rf-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--llr-muted);
  margin-bottom: 7px;
}
.llr-rf-req  { color: var(--llr-p); }
.llr-rf-req-badge {
  display: inline-block;
  margin-left: 6px;
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--llr-p);
  background: rgba(255,77,219,.1);
  border: 1px solid rgba(255,77,219,.25);
  padding: 1px 5px;
  border-radius: 3px;
  vertical-align: middle;
}

/* ── Date row ────────────────────────────────────────────── */
.llr-rf-dates {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
}
.llr-rf-arrow {
  color: var(--llr-muted);
  font-size: 1.1rem;
  padding-bottom: 10px;
  text-align: center;
}

/* ── Input ───────────────────────────────────────────────── */
.llr-rf-input-wrap {
  position: relative;
}
.llr-rf-icon {
  position: absolute;
  left: 11px; top: 50%;
  transform: translateY(-50%);
  color: var(--llr-c);
  pointer-events: none;
  display: flex; align-items: center;
  font-style: normal;
  font-size: .85rem;
}
.llr-rf-input,
.llr-rf-select,
.llr-rf-text,
.llr-rf-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px 10px 36px;
  background: var(--llr-bg2);
  border: 1px solid var(--llr-border);
  border-radius: var(--llr-radius);
  color: var(--llr-text);
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.llr-rf-select,
.llr-rf-text,
.llr-rf-textarea {
  padding-left: 12px;
}
.llr-rf-input:hover,
.llr-rf-select:hover,
.llr-rf-text:hover {
  border-color: rgba(0,207,255,.3);
}
.llr-rf-input:focus,
.llr-rf-select:focus,
.llr-rf-text:focus,
.llr-rf-textarea:focus {
  border-color: var(--llr-c);
  box-shadow: 0 0 0 3px rgba(0,207,255,.12);
}
.llr-rf-input::placeholder { color: var(--llr-muted); }
.llr-rf-input[readonly] { cursor: pointer; }
.llr-rf-textarea { padding: 10px 12px; resize: vertical; min-height: 56px; }
.llr-rf-select option { background: #0f0f16; }

/* ── Duration bar ────────────────────────────────────────── */
.llr-rf-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(0,207,255,.05);
  border: 1px solid rgba(0,207,255,.14);
  border-radius: var(--llr-radius);
  margin-bottom: 14px;
  font-size: .82rem;
  color: var(--llr-c);
}
.llr-rf-duration-icon { font-style: normal; }
.llr-rf-duration-track {
  flex: 1;
  height: 3px;
  background: rgba(0,207,255,.12);
  border-radius: 2px;
  overflow: hidden;
}
.llr-rf-duration-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--llr-c), var(--llr-a));
  border-radius: 2px;
  transition: width .4s ease;
}

/* ── Error ───────────────────────────────────────────────── */
.llr-rf-error {
  padding: 9px 12px;
  background: rgba(255,77,219,.07);
  border: 1px solid rgba(255,77,219,.25);
  border-radius: var(--llr-radius);
  color: var(--llr-p);
  font-size: .83rem;
  margin-bottom: 14px;
}

/* ── Sections ────────────────────────────────────────────── */
.llr-rf-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--llr-border);
}
.llr-rf-section-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--llr-muted);
  margin: 0 0 12px;
}

/* ── Options ─────────────────────────────────────────────── */
.llr-rf-option {
  padding: 12px;
  background: var(--llr-bg2);
  border: 1px solid var(--llr-border);
  border-radius: var(--llr-radius);
  margin-bottom: 8px;
  transition: border-color .18s;
}
.llr-rf-option:hover { border-color: rgba(0,207,255,.28); }
.llr-rf-opt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.llr-rf-opt-name { font-size: .88rem; font-weight: 600; }
.llr-rf-opt-price { font-size: .82rem; color: var(--llr-c); font-weight: 600; white-space: nowrap; margin-left: 8px; }

/* Checkbox */
.llr-rf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .88rem;
  user-select: none;
}
.llr-rf-check input[type=checkbox] { display: none; }
.llr-rf-check-box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid var(--llr-border);
  border-radius: 5px;
  background: var(--llr-bg);
  transition: all .16s;
  position: relative;
}
.llr-rf-check input:checked + .llr-rf-check-box {
  background: var(--llr-c);
  border-color: var(--llr-c);
}
.llr-rf-check input:checked + .llr-rf-check-box::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: 2px solid #0a0a0a;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

/* Number */
.llr-rf-number {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--llr-border);
  border-radius: var(--llr-radius);
  overflow: hidden;
}
.llr-num-btn {
  width: 34px; height: 34px;
  background: rgba(0,207,255,.07);
  border: none;
  color: var(--llr-c);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .15s;
  line-height: 1;
}
.llr-num-btn:hover { background: rgba(0,207,255,.18); }
.llr-num-field {
  width: 48px; text-align: center;
  background: var(--llr-bg);
  border: none;
  color: var(--llr-text);
  font-size: .9rem;
  padding: 4px;
  -moz-appearance: textfield;
}
.llr-num-field::-webkit-inner-spin-button { display: none; }

/* ── Price summary ───────────────────────────────────────── */
.llr-rf-price {
  margin-top: 18px;
  padding: 16px;
  background: rgba(0,207,255,.04);
  border: 1px solid rgba(0,207,255,.18);
  border-radius: var(--llr-radius);
}
.llr-rf-price-rows { margin-bottom: 10px; }
.llr-rf-price-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--llr-muted);
  padding: 3px 0;
}
.llr-rf-price-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--llr-border);
  font-weight: 700;
  font-size: 1rem;
}
.llr-rf-price-val {
  color: var(--llr-c);
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.llr-rf-price-deposit {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--llr-muted);
  margin-top: 7px;
}

/* ── Loading spinner ─────────────────────────────────────── */
.llr-rf-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--llr-muted);
  font-size: .85rem;
}
.llr-rf-spinner {
  width: 16px; height: 16px; flex-shrink: 0;
  border: 2px solid rgba(0,207,255,.15);
  border-top-color: var(--llr-c);
  border-radius: 50%;
  animation: llr-spin .7s linear infinite;
}
@keyframes llr-spin { to { transform: rotate(360deg); } }

/* ── Flatpickr dark theme override ───────────────────────── */
.flatpickr-calendar {
  background: #13131e !important;
  border: 1px solid rgba(0,207,255,.2) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 48px rgba(0,0,0,.65) !important;
  font-family: 'Inter', sans-serif !important;
}
.flatpickr-months { padding: 6px 0; }
.flatpickr-month { color: #fff !important; background: transparent !important; }
.flatpickr-current-month { color: #fff !important; font-size: .9rem !important; }
.flatpickr-current-month input.cur-year { color: #fff !important; }
.flatpickr-prev-month,
.flatpickr-next-month { color: #00cfff !important; fill: #00cfff !important; }
.flatpickr-prev-month svg,
.flatpickr-next-month svg { fill: #00cfff !important; }
.flatpickr-weekdays { background: transparent !important; }
span.flatpickr-weekday { color: #555 !important; font-size: .72rem !important; background: transparent !important; }
.flatpickr-day {
  color: #c0c0d0 !important;
  border-radius: 7px !important;
  transition: all .14s !important;
}
.flatpickr-day:hover:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay) {
  background: rgba(0,207,255,.14) !important;
  border-color: transparent !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #00CFFF !important;
  border-color: #00CFFF !important;
  color: #0a0a0a !important;
  font-weight: 700 !important;
}
.flatpickr-day.inRange {
  background: rgba(0,207,255,.1) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #00cfff !important;
}
.flatpickr-day.flatpickr-disabled {
  color: rgba(255,255,255,.15) !important;
  text-decoration: line-through !important;
}
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay { color: #333 !important; }
.numInputWrapper span { border-color: #333 !important; }
.numInputWrapper span:after { border-top-color: #00cfff !important; border-bottom-color: #00cfff !important; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 520px) {
  .llr-rf-dates {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .llr-rf-arrow { display: none; }
  .llr-rental-form { padding: 16px; }
}
