/* Pjesët "nënshkrim" të dizajnit — orari, fletëpagesa, gjendjet e navigimit.
   Gjithçka tjetër stilizohet me Tailwind direkt në shabllonet e app.js.   */

body {
  margin: 0;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(14, 90, 76, 0.08), transparent 60%),
    #f3f6f4;
}

:focus-visible {
  outline: 3px solid #0e5a4c;
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── Navigimi kryesor ── */
.nav-btn { color: #5c6c66; }
.nav-btn:hover { color: #13241f; }
.nav-btn.active { background: #0e5a4c; color: #fff; }

/* ── Orari: data → horizontalisht, ora → vertikalisht ── */
.timetable { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.timetable th, .timetable td { padding: 0; }
.timetable thead th {
  position: sticky; top: 0; background: #fff;
  border-bottom: 1.5px solid #bcd6cc; z-index: 2;
}
.time-col {
  position: sticky; left: 0; background: #fff;
  font-family: 'Spline Sans Mono', monospace;
  font-size: 13px; font-weight: 500; color: #5c6c66;
  text-align: right; padding: 6px 14px 6px 16px !important;
  border-right: 1.5px solid #bcd6cc; white-space: nowrap; z-index: 1;
}
thead .time-col { z-index: 3; }
.timetable tbody tr:nth-child(even) .time-col,
.timetable tbody tr:nth-child(even) .cell { background: #fafcfb; }
.cell { text-align: center; padding: 3px 4px !important; }

.slot {
  display: inline-grid; place-items: center;
  min-width: 62px; height: 32px; border-radius: 8px;
  border: 1px solid #bcd6cc; background: #e2efe9; color: #0a423a;
  font-family: 'Spline Sans Mono', monospace;
  font-size: 12.5px; font-weight: 600;
  transition: background .12s, transform .12s;
  cursor: pointer;
}
button.slot:hover { background: #cde5da; transform: scale(1.05); }
.slot.picked { background: #0e5a4c; border-color: #0e5a4c; color: #fff; font-size: 15px; }
.slot.taken {
  border-color: transparent; background: transparent;
  color: #c3cdc8; cursor: default;
}

.cell-closed {
  background: repeating-linear-gradient(-45deg, #f6f8f7 0 8px, #eef2f0 8px 16px);
  color: #5c6c66; text-align: center;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; border-left: 1px solid #dbe4df;
}
.cell-closed span { writing-mode: vertical-rl; transform: rotate(180deg); }

/* ── Fletëpagesa (letër e vijëzuar + perforimi) ── */
.slip-ruled {
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(14, 90, 76, 0.045) 27px 28px),
    #ffffff;
}
.slip-perforation {
  position: absolute; left: 0; right: 0; bottom: -9px; height: 18px;
  background: radial-gradient(circle at 9px 9px, #f3f6f4 6px, transparent 6.5px);
  background-size: 22px 18px; background-position: 4px 0;
}

/* ── Rrjeti i kartelave të shërbimeve ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

@media (max-width: 560px) {
  .step-label { display: none; }
  .step-current .step-label { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
/* ── Anketa: chipset i notave 1–5 ── */
.score-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 10px 4px; border-radius: 12px;
  border: 1.5px solid #dbe4df; background: #fff; cursor: pointer;
  transition: border-color .14s, background .14s, transform .14s;
}
.score-chip:hover { border-color: var(--score-color); transform: translateY(-1px); }
.score-chip .score-num {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 19px; font-weight: 600; line-height: 1.1; color: var(--score-color);
}
.score-chip .score-label {
  font-size: 10.5px; font-weight: 600; color: #5c6c66;
  text-align: center; line-height: 1.2;
}
.score-chip.on {
  border-color: var(--score-color);
  background: color-mix(in srgb, var(--score-color) 12%, #fff);
  box-shadow: inset 0 0 0 1px var(--score-color);
}
.score-chip.on .score-label { color: #13241f; }

/* ── Anketa: boshti 1→5 me pozicionet e fushave ── */
.rail { position: relative; height: 132px; margin: 0 14px; }
.rail-track {
  position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, #b3372f 0%, #c9752c 25%, #a3690e 50%, #4b8a6a 75%, #0e5a4c 100%);
  opacity: .28;
}
.rail-tick { position: absolute; top: 0; transform: translateX(-50%); text-align: center; }
.rail-tick i { display: block; width: 1px; height: 22px; background: #bcd6cc; margin: 0 auto; }
.rail-tick b {
  display: block; font-family: 'Spline Sans Mono', monospace;
  font-size: 11px; font-weight: 500; color: #5c6c66; margin-top: 2px;
}
.rail-dot {
  position: absolute; top: calc(46px + var(--lane) * 22px);
  transform: translateX(-50%); white-space: nowrap; text-align: center;
}
.rail-dot i {
  display: block; width: 11px; height: 11px; border-radius: 50%;
  background: var(--dot); margin: 0 auto;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px color-mix(in srgb, var(--dot) 35%, #fff);
}
.rail-dot b {
  display: block; font-size: 11.5px; font-weight: 600; color: #13241f; margin-top: 3px;
}
@media (max-width: 560px) {
  .rail { height: 152px; }
  .rail-dot b { font-size: 10.5px; }
}