/* =========================================================
   STYLE.CSS — dizajn pre Salon Ellen (hlavná stránka)
   verzia s mramorovým pozadím (gold/cream)
   ========================================================= */

/* ====== Premenné ====== */
:root {
  /* elegantná sivá / tmavosivá paleta */
  --brand: #3f3f46;        /* hlavná – tmavá elegantná sivá (tlačidlá) */
  --brand-dark: #27272a;   /* ešte tmavšia – nadpisy */
  --bg: #f4f4f5;           /* veľmi jemná svetlá sivá pod mramor */
  --card: rgba(255,255,255,0.94); /* karty – nech presvitá pozadie */
  --muted: #71717a;        /* texty, popisy */
  --ok: #16a34a;
  --err: #dc2626;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --page-padding: 12px;
  --gold: #c9a96e;
  --gold-soft: #e7d3a8;
  --gold-bg: #f8f4ec;
}

body {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hidden-services{
  display:none;
}

.services-checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(260px,1fr));
  gap:8px;
  margin-top:10px;
}

.service-check{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:14px;
}

/* ====== Základ ====== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg) url('img/bacground.jpeg') center/cover fixed no-repeat;
  color: #1f2937;
}
h1,h2,h3,h4 { color: var(--brand-dark); }
a { color: inherit; }

/* hlavný wrapper */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

/* ====== Header / Navigácia ====== */
.site-header {
  position: sticky;
  top: 0;
  /* jemný krémovo-zlatý prechod + malá priehľadnosť, aby presvital mramor */
  background: linear-gradient(180deg, rgba(255,252,245,0.98), rgba(246,235,214,0.96));
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
  z-index: 100;
  backdrop-filter: blur(8px);
}
.header-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 0;
}
.logo {
  height: 56px;
}

/* nav uprostred */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.main-nav a:hover {
  background: rgba(196,147,50,0.12);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

/* hamburger (mobil) */
.menu-toggle {
  display: none;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
}

/* (na tejto stránke nie je košík, ale necháme štýly kompatibilné) */
.cart-btn-wrap { display: none; }

/* ====== Buttons ====== */
.btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  background: #d1a749;
}
.btn.ghost {
  background: rgba(255,255,255,0.9);
  color: var(--brand-dark);
  border: 1px solid rgba(196,147,50,0.25);
  box-shadow: none;
}
.btn.ghost:hover {
  background: rgba(255,255,255,1);
}

/* ====== Obsah sekcií ====== */
.content { display: none; padding: 50px 0; }
.content.active { display: block; }

/* karty mierne priesvitné, aby presvital mramor */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  backdrop-filter: blur(6px);
}

.badge {
  display: inline-block;
  background: rgba(196,147,50,0.12);
  color: var(--brand-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 8px;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* ====== Hero ====== */
.grid-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}
.hero-img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: 100%;
}

/* ====== Služby ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  text-align: center;
}
.service-card {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  transition: all .3s ease;
  backdrop-filter: blur(8px);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.service-card img {
  width: 90px; height: 90px; object-fit: contain;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.price-tag {
  margin-top: 10px;
  background: linear-gradient(90deg, #dcb76a, #f7d89a);
  color: #473621;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}

/* ====== Rezervácia ====== */
.reservation-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
}
.field { margin-bottom: 10px; }
.field label {
  display:block;
  margin-bottom:4px;
  font-size: 14px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.35);
  font-family: inherit;
  background: rgba(255,255,255,0.96);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(196,147,50,0.7);
  box-shadow: 0 0 0 1px rgba(196,147,50,0.35);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calendar { display: flex; flex-direction: column; gap: 12px; }
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cal-week, .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.wk {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.day {
  background: rgba(255,255,255,0.96);
  padding: 8px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background .15s, transform .1s, border-color .15s;
}
.day:hover {
  background: rgba(246,235,214,0.9);
  transform: translateY(-1px);
}
.day.unavailable {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: default;
  background: rgba(248,250,252,0.9);
}
.day.selected {
  border-color: rgba(196,147,50,0.8);
  box-shadow: 0 0 0 1px rgba(196,147,50,0.35);
}

.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.slot {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(255,255,255,0.96);
  cursor: pointer;
  font-size: 13px;
  transition: background .15s, color .15s, border-color .15s;
}
.slot:hover {
  border-color: rgba(196,147,50,0.7);
}
.slot.unavailable {
  opacity: .4;
  cursor: default;
}
.slot.selected {
  background: linear-gradient(90deg,#d2a64d,#f3d68e);
  color: #3f2f16;
  border-color: transparent;
}

/* ====== Otváracie hodiny ====== */
.hours-box {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,237,222,0.96));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hours-box table { width: 100%; border-collapse: collapse; }
.hours-box td {
  padding: 10px 12px;
  border-bottom: 1px dashed rgba(229,231,235,0.9);
}
.hours-box td:first-child { text-align: left; font-weight: 600; }
.hours-box td:last-child { text-align: right; color: var(--brand-dark); font-weight: 700; }

/* ====== Kontakt + mapa ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card, .map-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.contact-card .icon {
  width: 22px;
  vertical-align: middle;
  margin-right: 8px;
}
.social-icons {
  margin-top: 16px;
  display: flex;
  gap: 14px;
}
.social-icons img {
  width: 36px;
  height: 36px;
  filter: grayscale(1) brightness(0.5);
  transition: all .3s ease;
}
.social-icons img:hover { filter: none; transform: scale(1.1); }
/* ===== MAPA FIX ===== */

.map-card{
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}

/* 👇 toto je hlavné */
.map-card iframe{
  width: 100%;
  height: 100%;
  min-height: 420px; /* 👈 nastav výšku */
  border: 0;
  display: block;
}

/* ===== FOOTER – SALON STYLE ===== */

.footer {
  margin-top: 60px;
  padding: 22px 15px;
  text-align: center;

  /* 👇 rovnaký štýl ako header */
  background: linear-gradient(
    180deg,
    rgba(255,252,245,0.95),
    rgba(246,235,214,0.95)
  );

  backdrop-filter: blur(8px);

  border-top: 1px solid rgba(0,0,0,0.05);
}

/* vnútro */
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* link */
.footer-links {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 600;
  transition: all .2s ease;
}

.footer-links a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* copyright */
.footer-copy {
  font-size: 13px;
  color: #6b7280;
}

/* ====== Modal (ak by si ho niekedy použila) ====== */
/*.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  padding: 20px;
}
.modal.open { display: flex; }
.modal .content {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  max-width: 900px;
  width: 100%;
}*/

/* ===== PREMIUM LIGHTBOX MODAL ===== */

.modal{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);

  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;

  opacity:0;
  pointer-events:none;
  transition: opacity .3s ease;
}

.modal.open{
  opacity:1;
  pointer-events:auto;
}

/* box */
.modal-box{
  background: linear-gradient(180deg, #ffffff, #f9f6ef);
  border-radius:16px;
  padding:24px;
  max-width:650px;
  width:90%;
  max-height:80vh;
  overflow:auto;

  box-shadow: 0 25px 70px rgba(0,0,0,0.35);

  transform: scale(0.9);
  transition: all .3s ease;
}

/* animácia */
.modal.open .modal-box{
  transform: scale(1);
}

/* content */
.modal-content{
  font-size:14px;
  line-height:1.6;
  color:#374151;
}

/* ===== CLOSE BUTTON (luxusný) ===== */
.modal-close{
  position:absolute;
  top:14px;
  right:16px;
  border:none;
  background: rgba(0,0,0,0.05);
  width:34px;
  height:34px;
  border-radius:50%;
  font-size:18px;
  cursor:pointer;
  transition:.2s;
}

.modal-close:hover{
  background: rgba(0,0,0,0.1);
  transform: scale(1.1);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .grid-hero { grid-template-columns: 1fr; }
  .reservation-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .container { padding: 0 16px; }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 12px;
    width: min(320px, calc(100% - 40px));
    background: rgba(255,255,255,0.97);
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    z-index: 1150;
    backdrop-filter: blur(8px);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    width: 100%;
    text-align: right;
    padding: 10px 6px;
  }

  /* na mobile môže fixed pozadie robiť problémy – zrušíme ho */
  body {
    background-attachment: scroll;
  }
}

@media (max-width: 600px) {
  .slots { justify-content: flex-start; }
}

/* ===== Kontakt: vylepšenie (praktický + oficiálny blok) ===== */

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 20px; /* 👈 toto je tá medzera */
}

.contact-block .contact-line{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin: 0 0 10px 0;
  line-height: 1.45;
}

.contact-block .emoji{
  width:22px;
  display:inline-flex;
  justify-content:center;
  margin-top: 1px;
}

.contact-block a{
  text-decoration: none;
}
.contact-block a:hover{
  text-decoration: underline;
}

/* Oficiálny blok */
.legal-card{
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 14px;
  padding: 14px 14px;
}

.legal-title{
  margin: 0 0 10px 0;
  font-size: 16px;
  color: var(--brand-dark);
}

.legal-list{
  margin: 0;
}

.legal-row{
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed rgba(148,163,184,0.30);
}
.legal-row:first-child{
  border-top: none;
  padding-top: 0;
}

.legal-row dt{
  font-weight: 700;
  color: #111827;
}
.legal-row dd{
  margin: 0;
  color: #111827;
  opacity: 0.92;
}

/* Mobil – nech to nie je “s veľkou medzerou” a nech sa to pekne skladá */
@media (max-width: 700px){
  .legal-row{
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .legal-row dt{
    opacity: .75;
    font-weight: 700;
  }
}

/* ===== SLUŽBY – MODERN GRID ===== */

.section-title{
  text-align:center;
  margin-bottom: 25px;
}

/* tabs */
.tabs{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:25px;
  flex-wrap:wrap;
}

.tab-btn{
  padding:10px 18px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  background: rgba(255,255,255,0.8);
  font-weight:600;
  transition: all .2s;
}

.tab-btn.active{
  background: linear-gradient(90deg,#d2a64d,#f3d68e);
  color:#3f2f16;
}

/* content */
/* ===== ANIMOVANÉ TABS ===== */
.tab-content{
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  width: 100%;
  transition: all .35s ease;
  display: none; /* 🔥 dôležité */
}

.tab-content.active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: block; /* 🔥 dôležité */
}

/* aby sa to neprekrývalo divne */
#sluzby .container{
  position: relative;
}

/* grid plagátov */
.poster-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:20px;
}

.poster{
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
  box-shadow: var(--shadow);
  transition: all .3s ease;
}

.poster img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .4s ease;
}

.poster:hover img{
  transform: scale(1.05);
}

.poster:hover{
  transform: translateY(-4px);
}

/* ===== LIGHTBOX V2 (PREMIUM) ===== */

.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:5000;

  opacity:0;
  pointer-events:none;
  transition: opacity .3s ease;
}

.lightbox.open{
  opacity:1;
  pointer-events:auto;
}

.lightbox img{
  max-width:90%;
  max-height:90%;
  border-radius:14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);

  transform: scale(0.9);
  opacity:0;
  transition: all .3s ease;
}

.lightbox.open img{
  transform: scale(1);
  opacity:1;
}

/* close button */
.lightbox::after{
  content:"✕";
  position:absolute;
  top:20px;
  right:25px;
  font-size:28px;
  color:white;
  cursor:pointer;
  opacity:0.8;
  transition:.2s;
}

.lightbox::after:hover{
  opacity:1;
  transform: scale(1.1);
}

/* ===== STAGGER ANIMÁCIA OBRÁZKOV ===== */

.poster{
  opacity: 0;
  transform: translateY(20px) scale(0.97);
}

/* keď je aktívny tab */
.tab-content.active .poster{
  animation: posterFadeIn 0.5s ease forwards;
}

/* animácia */
@keyframes posterFadeIn{
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== KONTAKT REDESIGN ===== */

.contact-block{
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 15px;
}

.contact-line{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:16px;
}

.contact-line strong{
  font-size:18px;
}

/* ikony */
.contact-card .icon{
  width:20px;
  opacity:0.7;
}

/* email */
.contact-line a{
  text-decoration:none;
  transition: .2s;
}

.contact-line a:hover{
  color: var(--brand);
}

/* social */
.social-icons{
  margin-top:10px;
  display:flex;
  gap:14px;
}

.social-icons img{
  width:38px;
  height:38px;
  border-radius:50%;
  padding:6px;
  background: rgba(0,0,0,0.05);
  transition: all .3s ease;
}

.social-icons img:hover{
  transform: scale(1.1);
  background: linear-gradient(90deg,#d2a64d,#f3d68e);
}

/* FIX MEDZERY MEDZI BLOKMI */
.contact-card > * + * {
  margin-top: 20px;
}

.contact-card{
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* horná karta */
.contact-top{
  text-align:left;
}

.contact-top .contact-line{
  margin-bottom:10px;
}

/* legal block */
.legal-row{
  margin-bottom:10px;
}

/* ===== PREMIUM KONTAKT ===== */

.contact-card{
  display:flex;
  flex-direction:column;
  gap:22px;
}

/* ===== HORNÁ KARTA ===== */
.contact-top{
  background: linear-gradient(135deg, #f8f5ef, #f3e2b3);
  border: 1px solid rgba(196,147,50,0.25);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.contact-top .contact-line{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.contact-top strong{
  font-size:20px;
  letter-spacing:0.5px;
}

/* ikonky */
.contact-top .icon{
  width:22px;
  opacity:0.7;
}

/* email */
.contact-top a{
  text-decoration:none;
}

.contact-top a:hover{
  color: var(--brand);
}

/* social */
.social-icons{
  margin-top:14px;
  display:flex;
  gap:12px;
}

.social-icons img{
  width:40px;
  height:40px;
  border-radius:50%;
  padding:7px;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all .25s ease;
}

.social-icons img:hover{
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(90deg,#d2a64d,#f3d68e);
}

/* ===== OFICIÁLNE ÚDAJE ===== */
.legal-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(148,163,184,0.25);
}

.legal-title{
  margin-bottom:12px;
  font-size:17px;
  position:relative;
}

/* jemná zlatá čiarka pod nadpis */
.legal-title::after{
  content:"";
  display:block;
  width:40px;
  height:2px;
  background: linear-gradient(90deg,#d2a64d,#f3d68e);
  margin-top:6px;
}

/* riadky */
.legal-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 0;
  border-bottom: 1px dashed rgba(148,163,184,0.3);
}

.legal-row:last-child{
  border-bottom:none;
}

.lightbox-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}

.lightbox-inner img{
  max-width:90%;
  max-height:80vh;
  border-radius:12px;
}

.lightbox-inner .btn{
  padding:10px 20px;
}

.slot.blocked {
  background: #ddd !important;
  color: #888;
}

/* preškrtnutie */
.slot.blocked::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: #9ca3af;
  transform: rotate(-15deg);
}

#adminCalendar {
  max-width: 700px;
}

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

#calendarGrid {
  position: relative;
  border: 1px solid #ddd;
}

.hour-row {
  height: 60px;
  border-top: 1px solid #eee;
  position: relative;
}

.hour-label {
  position: absolute;
  left: 5px;
  top: 2px;
  font-size: 12px;
  color: #999;
}

.booking-block {
  position: absolute;
  left: 80px;
  right: 10px;
  border-radius: 8px;
  padding: 6px;
  font-size: 12px;
  color: #fff;
}

.booking-ellena {
  background: #a855f7;
}

.booking-dominika {
  background: #facc15;
  color: #000;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar {
  margin-top: 15px;
}

.cal-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day {
  padding: 10px;
  border-radius: 8px;
  background: #f5f5f5;
  text-align: center;
  cursor: pointer;
}

.cal-day.has-booking {
  background: #e9d5ff;
}

.cal-day.selected {
  background: #a855f7;
  color: white;
}

.day-detail {
  margin-top: 15px;
}

.admin-booking {
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #f5f5f5;
}

.admin-booking.ellena {
  border-left: 4px solid #a855f7;
}

.admin-booking.dominika {
  border-left: 4px solid #facc15;
}

.cal-day {
  transition: 0.2s;
}

.cal-day:hover {
  background: #f3e8ff;
  cursor: pointer;
  transform: scale(1.05);
}

.slot.unavailable {
  background: #eee !important;
  color: #999;
  cursor: not-allowed;
}

.slot.blocked {
  background: #ddd !important;
  color: #666;
}

.service-group {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.service-header {
  background: linear-gradient(90deg, #e7d3a8, #f3e6c9);
  color: #3a2f1d;
  font-weight: 600;
  padding: 12px;
  border-radius: 10px;
}

.service-header:hover {
  background: #eee;
}

.service-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding-left: 10px;
}

.service-content.open {
  max-height: 500px;
  padding: 10px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.service-item:hover {
  background: rgba(212, 175, 55, 0.08);
}

.service-item input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

/* checked */
.service-item input:checked {
  background: var(--gold);
  border-color: var(--gold);
}

/* check ikonka */
.service-item input:checked::after {
  content: '✔';
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

.service-item input:checked ~ .service-text {
  font-weight: 600;
  color: #000;
}

.service-item:has(input:checked) {
  background: var(--gold-bg);
  border: 1px solid var(--gold-soft);
}

.services {
  max-height: 500px;
  overflow: hidden;
}

/* krajší scrollbar */
.services::-webkit-scrollbar {
  width: 6px;
}

.services::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 10px;
}

#servicesBox {
  max-height: 400px;
  overflow-y: auto;
}

.service-category {
  margin-bottom: 16px;
}

.category-title {
  font-weight: 600;
  padding: 10px;
  background: linear-gradient(90deg, #e7d3a8, #f3e6c9);
  border-radius: 8px;
  margin-bottom: 6px;
}

.services-list {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* otvorený stav */
.services-list.open {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}

/* gold scrollbar */
.services-list::-webkit-scrollbar {
  width: 6px;
}

.services-list.open::-webkit-scrollbar {
  width: 6px;
}
.services-list.open::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 10px;
}

.staff-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:20px;
}

.staff-column{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  position:relative;
}

.staff-title{
  padding:16px;
  color:#fff;
  font-weight:700;
  font-size:18px;
}

.staff-title.ellena{
  background:#e91e63;
}

.staff-title.dominika{
  background:#3f51b5;
}

/* ===== CLEAN ROW DESIGN ===== */

.time-slot{
  min-height:90px;

  border-top:1px solid #f1f1f1;

  padding:14px 18px;

  display:flex;
  flex-direction:column;

  gap:10px;
}

/* čas */
.time-label{
  font-size:14px;
  font-weight:700;
  color:#8b8b8b;

  margin-bottom:8px;
}

/* rezervácia */
.booking-inline{
  position:relative;
  width:100%;

  display:flex;
  flex-direction:column;

  gap:4px;

  margin-top:4px;

  padding:8px 12px;

  border-left:4px solid #e91e63;

  background:#fff;

  border-radius:12px;

  box-shadow:0 2px 10px rgba(0,0,0,.04);
}

/* dominika */
.booking-inline.dominika{
  border-left-color:#3f51b5;
}

/* meno */
.booking-name{
  font-size:15px;
  font-weight:700;
  margin-bottom:2px;
}

/* služba */
.booking-service{
  font-size:14px;
  color:#666;
  margin-bottom:6px;
}

/* telefón */
.booking-phone{
  font-size:14px;
}

/* button */
.cancel-booking-btn{
  margin-top:8px;
}

/* aktívny čas */
.time-slot.active-ellena{
  background:rgba(233,30,99,.08);
}

.time-slot.active-dominika{
  background:rgba(63,81,181,.08);
}

/* čas rezervácie */
.booking-time{
  font-size:12px;
  font-weight:700;
  opacity:.5;
  margin-bottom:4px;
}

.time-slot{
  min-height:90px;
  padding:14px 18px;
  border-top:1px solid #f1f1f1;

  display:flex;
  flex-direction:column;
}

.booking-inline{
  width:100%;

  background:#fff;

  border-left:4px solid #e91e63;

  border-radius:14px;

  padding:12px 14px;

  margin-top:8px;

  box-shadow:0 2px 12px rgba(0,0,0,.05);
}

.booking-inline.dominika{
  border-left-color:#3f51b5;
}

.gdpr-consent{
    margin:20px 0;
    font-size:14px;
    line-height:1.5;
}

.gdpr-consent label{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.gdpr-consent input{
    margin-top:3px;
}

.gdpr-consent a{
    color:#8b4b67;
    text-decoration:none;
    font-weight:600;
}

.gdpr-consent a:hover{
    text-decoration:underline;
}

/* Výška jedného 30-minútového slotu */
.staff-column {
  --admin-slot-height: 145px;
}

.time-slot {
  position: relative;
  min-height: var(--admin-slot-height);
  box-sizing: border-box;
}

/* Slot, cez ktorý pokračuje dlhšia rezervácia */
.time-slot.covered-slot {
  z-index: 1;
}

.time-slot.covered-slot .time-label {
  visibility: hidden;
}

/* Prvý slot rezervácie musí byť nad ostatnými */
.time-slot.booking-start-slot {
  z-index: 10;
}

/* Karta rezervácie natiahnutá cez celý čas */
.booking-inline {
  position: absolute;
  top: 45px;
  left: 20px;
  right: 20px;
  z-index: 50;

  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.08);
  overflow: auto;
  box-sizing: border-box;
}

.booking-inline.ellena {
  border-left: 5px solid #d44b92;
}

.booking-inline.dominika {
  border-left: 5px solid #465bd8;
}

.booking-inline .cancel-booking-btn {
  margin-top: 14px;
}

/* Aby prázdne obsadené sloty nemali tlačidlo */
.time-slot.covered-slot button {
  display: none;
}