/* =========================================================
   Intellweb Tradeshow Scheduler - booking.css (FULL DROP-IN)
   Compact + matches Intellweb/Eureka sections
   Primary: #184779   Accent: #f07221
   ========================================================= */

.iw-booking{
  --iw-primary:#184779;
  --iw-accent:#f07221;
  --iw-border: rgba(13,38,76,.14);
  --iw-muted: rgba(15,23,42,.62);
  --iw-bg: #ffffff;
  --iw-soft: rgba(24,71,121,.05);
  --iw-ring: rgba(24,71,121,.18);

  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans";
  color: #0f172a;
}

.iw-booking .iw-top{ text-align:center; }
.iw-booking .iw-title{ font-weight: 950; letter-spacing: .2px; margin:0; }
.iw-booking .iw-sub{
  color: var(--iw-muted);
  max-width: 760px;
  margin: 6px auto 0;
  line-height: 1.25;
}

.iw-booking .iw-card,
.iw-booking .card,
.iw-booking .card-body{
  overflow: visible;
}

.iw-booking .iw-card{
  border:1px solid var(--iw-border);
  border-radius: 16px;
  background: var(--iw-bg);
  box-shadow: 0 12px 34px rgba(2,6,23,.06);
}

.iw-booking .iw-card > .card-body{ padding: 14px 14px; }
@media (min-width: 992px){
  .iw-booking .iw-card > .card-body{ padding: 16px 16px; }
}

.iw-booking .btn-primary{
  background-color: var(--iw-primary);
  border-color: var(--iw-primary);
  font-weight: 900;
  border-radius: 12px;
}
.iw-booking .btn-primary:hover{ filter: brightness(.96); }

.iw-booking .iw-section{ padding: 0; }
.iw-booking .iw-section-head{ margin-bottom: 6px; }

.iw-booking .iw-section-kicker{
  display:inline-flex;
  align-items:center;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  color: rgba(15,23,42,.70);
  background: rgba(15,23,42,.05);
  border: 1px solid rgba(15,23,42,.10);
}

.iw-booking .iw-section-title{
  font-weight: 950;
  font-size: 16px;
  margin-top: 6px;
  line-height: 1.15;
}

.iw-booking .iw-section-sub{
  font-size: 12px;
  color: var(--iw-muted);
  margin-top: 3px;
  line-height: 1.25;
}

.iw-booking .iw-divider{
  margin: 12px 0;
  border-top: 1px solid rgba(15,23,42,.10);
  opacity: 1;
}

.iw-booking .iw-show-toggle{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  overflow: visible;
  padding-top: 2px;
}

.iw-booking .iw-chip{
  border: 1px solid var(--iw-border);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  transition: border-color .12s ease, transform .12s ease, background .12s ease, box-shadow .12s ease;
  min-width: 220px;
}
.iw-booking .iw-chip:hover{
  transform: translateY(-1px);
  border-color: rgba(13,38,76,.24);
  background: rgba(24,71,121,.04);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
}
.iw-booking .iw-chip.is-active{
  border-color: rgba(24,71,121,.70);
  box-shadow: 0 0 0 3px var(--iw-ring);
  background: rgba(24,71,121,.06);
}

.iw-booking .iw-chip-logo{
  width:38px;
  height:38px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  overflow:hidden;
  flex: 0 0 auto;
}
.iw-booking .iw-chip-logo img{ width:100%; height:100%; object-fit:contain; display:block; }
.iw-booking .iw-chip-logo i{ color: rgba(24,71,121,.85); font-size: 18px; }

.iw-booking .iw-chip-title{ font-weight: 950; display:block; line-height:1.15; }
.iw-booking .iw-chip-sub{ display:block; font-size:12px; color: var(--iw-muted); margin-top: 2px; }

.iw-booking .iw-cal{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  padding: 10px;
  background: #fff;
}

.iw-booking .iw-cal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 8px;
}

.iw-booking .iw-icon-btn{
  border-radius: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.iw-booking .iw-cal-month-title{ font-weight: 950; text-transform: capitalize; }
.iw-booking .iw-cal-month-sub{ font-size:11px; color: var(--iw-muted); }

.iw-booking .iw-cal-grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.iw-booking .iw-cal-dow{
  font-size: 11px;
  font-weight: 900;
  color: rgba(15,23,42,.65);
  text-align:center;
  padding: 2px 0;
}

.iw-booking .iw-cal-days{
  grid-column: 1 / -1;
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.iw-booking .iw-cal-day{
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  border-radius: 12px;
  height: 40px;
  font-weight: 950;
  color: rgba(15,23,42,.90);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .12s ease, border-color .12s ease, transform .12s ease, filter .12s ease;
}
.iw-booking .iw-cal-day:hover{
  background: rgba(24,71,121,.05);
  transform: translateY(-1px);
}
.iw-booking .iw-cal-day.is-out{ opacity: .40; }
.iw-booking .iw-cal-day.is-disabled{ opacity: .32; cursor:not-allowed; }
.iw-booking .iw-cal-day.is-today{ border-color: rgba(15,23,42,.22); }

.iw-booking .iw-cal-day.is-active{
  background: var(--iw-primary);
  border-color: var(--iw-primary);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(24,71,121,.22);
}
.iw-booking .iw-cal-day.is-active:hover{ filter: brightness(.98); }

.iw-booking .iw-cal-day.is-available{
  border-color: rgba(24,71,121,.26);
  background: rgba(24,71,121,.06);
}
.iw-booking .iw-cal-day.is-available:hover{ background: rgba(24,71,121,.10); }
.iw-booking .iw-cal-day.is-available.is-active{
  background: var(--iw-primary);
  border-color: var(--iw-primary);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(24,71,121,.22);
}

.iw-booking .iw-cal-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top: 6px;
}
.iw-booking .iw-cal-selected-label{ color: var(--iw-muted); font-size: 11px; font-weight: 900; }
.iw-booking .iw-cal-selected-value{ font-weight: 950; }

.iw-booking .iw-step-action-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 8px;
}
.iw-booking .iw-step-current{
  color: var(--iw-muted);
  font-size: 12px;
  font-weight: 900;
  text-align:right;
}

.iw-booking .iw-time-wrap{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  padding: 10px;
  background: #fff;
  overflow: hidden;
}

.iw-booking .iw-time-chips{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-content:flex-start;
}

.iw-booking .iw-time-chip{
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  border-radius: 12px;
  padding: 9px 10px;
  min-width: 92px;
  flex: 0 0 auto;
  text-align:left;
  transition: background .12s ease, border-color .12s ease, transform .12s ease, filter .12s ease;
}
.iw-booking .iw-time-chip:hover{
  background: rgba(24,71,121,.05);
  transform: translateY(-1px);
}

.iw-booking .iw-time-chip.is-active{
  background: var(--iw-primary);
  border-color: var(--iw-primary);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(24,71,121,.22);
}
.iw-booking .iw-time-chip.is-active:hover{ filter: brightness(.98); }
.iw-booking .iw-time-chip.is-active .iw-time-sub{ color: rgba(255,255,255,.85); }

.iw-booking .iw-time-chip.is-disabled{ opacity: .45; cursor:not-allowed; }

.iw-booking .iw-time{ display:block; font-weight: 950; }
.iw-booking .iw-time-sub{
  display:block;
  font-size: 11px;
  color: var(--iw-muted);
  margin-top: 1px;
}

.iw-booking .iw-label{
  font-weight: 900;
  font-size: 12px;
  color: rgba(15,23,42,.85);
  margin-bottom: 5px;
}

.iw-booking .iw-control{
  border-color: rgba(15,23,42,.14);
  border-radius: 12px;
  padding: 9px 11px;
}
.iw-booking .iw-control:focus{
  border-color: rgba(24,71,121,.70);
  box-shadow: 0 0 0 3px rgba(24,71,121,.14);
}

/* NEW: Required field highlighting (Bootstrap-compatible) */
.iw-booking .iw-control.is-invalid{
  border-color: rgba(225,29,72,.70) !important;
  box-shadow: 0 0 0 3px rgba(225,29,72,.12) !important;
}

.iw-booking .iw-formbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding-top: 2px;
}

.iw-booking .iw-submit{
  border-radius: 12px;
  font-weight: 950;
  padding: 10px 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  white-space:nowrap;
}
.iw-booking .iw-submit .iw-submit-spin{ display:none; }
.iw-booking .iw-submit.is-busy .iw-submit-spin{ display:inline-block; }
.iw-booking .iw-submit.is-busy .iw-submit-text{ opacity: .85; }

.iw-booking .iw-hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
}

.iw-booking .iw-foot-hint{
  font-size: 11px;
  color: var(--iw-muted);
  margin-top: 8px !important;
}

.iw-booking .iw-inline-msg{ min-height:16px; font-size: 12px; }
.iw-booking .iw-inline-msg.ok{ color: rgba(22,163,74,.95); font-weight: 800; }
.iw-booking .iw-inline-msg.bad{ color: rgba(225,29,72,.95); font-weight: 800; }

.iw-booking .iw-toast-wrap{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 99999;
  display:flex;
  flex-direction:column;
  gap:10px;
  pointer-events:none;
}
.iw-booking .iw-toast{
  pointer-events:auto;
  min-width: 280px;
  max-width: 360px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.14);
  background: #fff;
  box-shadow: 0 12px 34px rgba(2,6,23,.14);
  padding: 10px 12px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  transition: opacity .2s ease, transform .2s ease;
}
.iw-booking .iw-toast .iw-dot{
  width:10px; height:10px; border-radius:999px;
  margin-top:4px;
  background: rgba(15,23,42,.35);
}
.iw-booking .iw-toast.ok .iw-dot{ background: rgba(22,163,74,.9); }
.iw-booking .iw-toast.bad .iw-dot{ background: rgba(225,29,72,.9); }
.iw-booking .iw-toast .iw-toast-title{ font-weight:950; font-size:13px; line-height:1.15; }
.iw-booking .iw-toast .iw-toast-msg{ font-size:12px; color: rgba(15,23,42,.75); margin-top:2px; }

.iw-booking .iw-skeleton{
  font-size: 12px;
  color: var(--iw-muted);
  font-weight: 800;
}

.iw-booking .iw-success-icon{
  font-size: 44px;
  line-height: 1;
  color: rgba(22,163,74,.95);
}
.iw-booking .iw-success-title{ font-weight: 950; letter-spacing: .2px; }
.iw-booking .iw-success-sub{ color: var(--iw-muted); font-size: 12px; }

.iw-booking .iw-success-box{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  background: rgba(24,71,121,.04);
  padding: 10px;
}
.iw-booking .iw-success-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.iw-booking .iw-success-row:last-child{ border-bottom: none; }
.iw-booking .iw-success-k{
  font-weight: 950;
  font-size: 11px;
  color: rgba(15,23,42,.60);
}
.iw-booking .iw-success-v{
  font-weight: 950;
  color: rgba(15,23,42,.90);
}
