/* assets/styles.css — modern & hell, mobil-first */
:root{
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #404043;
  --muted: #6b6b70;
  --border: rgba(64, 64, 67, .16);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --primary: #404043;
  --primary2: #c8beb4;
  --accent: #c8beb4;
  --danger: #ef4444;
  --ok: #16a34a;
  --radius: 18px;
  --focus: 0 0 0 4px rgba(200, 190, 180, .35);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1200px 700px at 10% -10%, rgba(96,165,250,.25), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(200, 190, 180, .35), transparent 60%),
              var(--bg);
}
a{color:var(--primary); text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:1100px; margin:0 auto; padding:0 16px}
.layout{display:grid; grid-template-columns: 1fr; gap:16px; padding:16px 0 32px}
@media (min-width: 960px){
  .layout{grid-template-columns: 1.5fr .8fr; align-items:start}
}

.topbar{
  position:sticky; top:0; z-index:30;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:10px 0}
.topbar__link{font-weight:600}
.brand{display:flex; gap:12px; align-items:center}
.brand__mark{
  width:36px; height:36px; border-radius:12px;
  display:grid; place-items:center;
  color:white; font-weight:800;
  background: var(--primary);
  box-shadow: var(--shadow);
}
.brand__title{font-weight:800; letter-spacing:.2px}
.brand__subtitle{font-size:12px; color:var(--muted); margin-top:2px}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
}

.wizard{padding:16px}
@media(min-width:560px){.wizard{padding:22px}}

.wizard__progress{display:flex; flex-direction:column; gap:10px; margin-bottom:14px}
.progress{height:10px; background: rgba(64, 64, 67, .10); border-radius:999px; overflow:hidden}
.progress__bar{height:100%; background: linear-gradient(90deg, var(--primary), var(--primary2)); border-radius:999px; transition: width .25s ease}
.progress__steps{display:flex; flex-wrap:wrap; gap:8px}
.stepTag{
  appearance:none;
  font-size:12px; color:var(--muted);
  border:1px solid var(--border);
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.7);
  cursor:pointer;
}
.stepTag:hover{border-color: rgba(200, 190, 180, .95)}
.stepTag:focus{outline:none; box-shadow: var(--focus)}
.stepTag.is-done{background: rgba(200, 190, 180, .22);}
.stepTag.is-active{
  color: var(--text);
  border-color: rgba(64, 64, 67, .55);
  box-shadow: 0 0 0 3px rgba(200, 190, 180, .35);
}

.step h2{margin:4px 0 12px; font-size:20px}
.subtle{color:var(--muted)}
.tiny{font-size:12px; margin-top:10px}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
@media(min-width:700px){
  .grid{grid-template-columns: 1fr 1fr}
  .grid .field:nth-child(4n+3), .grid .field:nth-child(4n+4){grid-column: span 1}
}

.field label{display:block; font-weight:650; margin-bottom:6px}
.field input, .field select, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.16);
  background: rgba(255,255,255,.9);
  outline:none;
  transition: box-shadow .12s ease, border-color .12s ease;
}
.field textarea{resize:vertical}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(64, 64, 67, .85);
  box-shadow: var(--focus);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"]{
  border-color: rgba(239,68,68,.55);
  box-shadow: 0 0 0 4px rgba(239,68,68,.12);
}
.hint{font-size:12px; color:var(--muted); margin-top:6px}
.notice{
  margin-top:12px;
  padding:12px 12px;
  background: rgba(96,165,250,.12);
  border:1px solid rgba(200, 190, 180, .35);
  border-radius:14px;
  color: rgba(15,23,42,.86);
}

.field--inline{grid-column:1 / -1}
.checkbox{display:flex; gap:10px; align-items:flex-start; user-select:none}
.checkbox input{width:18px; height:18px; margin-top:2px}

.rooms{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
@media(min-width:740px){
  .rooms{grid-template-columns: 1fr 1fr}
}
.roomCard{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.8);
  cursor:pointer;
  transition: transform .08s ease, border-color .08s ease, box-shadow .08s ease;
}
.roomCard:hover{
  transform: translateY(-1px);
  border-color: rgba(200, 190, 180, .95);
  box-shadow: 0 10px 20px rgba(15,23,42,.08);
}
.roomCard.is-selected{
  border-color: rgba(64, 64, 67, .85);
  box-shadow: 0 0 0 4px rgba(200, 190, 180, .35);
}
.roomCard__top{display:flex; justify-content:space-between; gap:10px; align-items:flex-start}
.roomCard__name{font-weight:800}
.roomCard__title{font-weight:800}
.badge{
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  color: var(--muted);
  white-space:nowrap;
}
.badge--ok{border-color: rgba(22,163,74,.25); color: rgba(22,163,74,.95); background: rgba(22,163,74,.08)}
.badge--warn{border-color: rgba(239,68,68,.25); color: rgba(239,68,68,.95); background: rgba(239,68,68,.08)}
.badge--info{border-color: rgba(64, 64, 67, .25); color: rgba(64, 64, 67, .95); background: rgba(200, 190, 180, .22)}
.roomCard__meta{margin-top:8px; display:flex; flex-wrap:wrap; gap:8px; color:var(--muted); font-size:12px}
.roomCard__meta span{display:inline-flex; gap:6px; align-items:center}

.addons{display:grid; grid-template-columns: 1fr; gap:10px}
@media(min-width:700px){.addons{grid-template-columns: 1fr 1fr}}
.addon{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.85);
  display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.addon__left{min-width:0}
.addon__name{font-weight:750}
.addon__price{font-size:12px; color:var(--muted); margin-top:4px}
.qty{display:flex; align-items:center; gap:8px}
.qty button{
  width:36px; height:36px;
  border-radius:12px;
  border:1px solid var(--border);
  background: #fff;
  cursor:pointer;
}
.qty input{
  width:56px;
  text-align:center;
  padding:10px 8px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.16);
}
.qty button:focus, .qty input:focus{box-shadow: var(--focus); outline:none}

.wizard__nav{
  margin-top:16px;
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  flex-wrap:wrap;
}
.wizard__navRight{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

.btn{
  border:1px solid rgba(15,23,42,.15);
  background:#fff;
  color:var(--text);
  padding:12px 14px;
  border-radius:14px;
  font-weight:750;
  cursor:pointer;
}
.btn:hover{border-color: rgba(200, 190, 180, .95)}
.btn:focus{outline:none; box-shadow: var(--focus)}
.btn[disabled]{opacity:.6; cursor:not-allowed}
.btn--primary{
  border-color: rgba(64, 64, 67, .55);
  background: var(--primary);
  color:#fff;
}
.btn--ghost{background: rgba(255,255,255,.75)}

.sidebar{position:relative; padding:16px}
.sidebar__header{
  display:flex; justify-content:space-between; gap:10px; align-items:flex-start;
  padding-bottom:10px; border-bottom:1px solid var(--border);
}
.sidebar__header h3{margin:0; font-size:16px}
.sidebar__body{padding-top:10px}
.pill{
  border:1px solid var(--border);
  background:#fff;
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  font-weight:650;
}
.pill:focus{outline:none; box-shadow: var(--focus)}
.kv{display:flex; justify-content:space-between; gap:10px; padding:6px 0}
.kv__k{color:var(--muted)}
.sep{border:none; border-top:1px solid var(--border); margin:10px 0}
.lineItem{
  display:flex; justify-content:space-between; gap:12px;
  padding:6px 0;
}
.lineItem__label{color: rgba(15,23,42,.85)}
.lineItem__value{font-variant-numeric: tabular-nums}
.total{display:flex; justify-content:space-between; gap:10px; align-items:baseline}
.total__label{font-weight:800}
.total__value{font-weight:900; font-size:20px}
.note{font-size:12px; color:var(--muted); margin-top:10px}
.note strong{color: rgba(15,23,42,.9)}

.summary-card{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.85);
  margin-bottom:12px;
}

.footer{padding:16px 0 28px; color:var(--muted); font-size:12px}

@media(max-width: 959px){
  /* mobile: sidebar collapsible */
  .sidebar{position:sticky; bottom:10px}
  .sidebar__body.is-collapsed{display:none}
}


/* Day packages (Step 4) */
.dayPackages{display:grid;gap:12px;margin-top:14px}
.dayRow{border:1px solid var(--border);border-radius:16px;padding:12px;background:rgba(255,255,255,.7)}
.dayRow__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.dayRow__title{font-weight:800}
.dayRow__date{color:var(--muted);font-size:13px}
.dayRow__grid{display:grid;gap:12px;grid-template-columns:1fr}
@media (min-width: 760px){.dayRow__grid{grid-template-columns:1fr 1fr}}
.dayRow .field{margin:0}

/* Print/PDF */
@media print{
  body{background:#fff}
  .topbar,.wizard__progress,.wizard__nav,.sidebar{display:none !important}
  .layout{grid-template-columns:1fr !important}
  .card{box-shadow:none;border:0}
}
