/* css/components.css */
@layer components;

/* ========== HEADER / NAV ========== */
@layer components {
  .site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 10px 30px rgba(6,33,53,.06);
	
  }
  @supports (backdrop-filter: blur(10px)){
    .site-header{ backdrop-filter: blur(10px); }
  }
  .site-header::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:-1px;
    height:3px;
    background: linear-gradient(90deg, #0097A7, #3984D0);
    opacity:.85;
    pointer-events:none;
  }

  .navbar{
    height: var(--header-h);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
  }

  .logo{
    display:flex;
    align-items:baseline;
    gap:6px;
    text-decoration:none;
    color: var(--header-text);
    font-weight:800;
    letter-spacing:.2px;
    white-space:nowrap;
  }
  .logo-mark{ opacity:.92; font-weight:700; }
  .logo-strong{ font-weight:900; }

  .nav-toggle{
    display:none;
    width:44px; height:44px;
    border-radius: var(--radius-sm);
    border:1px solid var(--header-border);
    background: var(--header-pill);
    cursor:pointer;
  }
  .nav-toggle span{
    display:block;
    width:18px;
    height:2px;
    background: var(--header-text);
    margin:4px auto;
    border-radius:2px;
  }

  .nav-panel{
    display:flex;
    align-items:center;
    gap:18px;
  }

  .nav-menu{
    list-style:none;
    display:flex;
    align-items:center;
    gap:14px;
  }

  .nav-link,
  .submenu-toggle{
    color: var(--header-text);
    text-decoration:none;
    font-weight:800;
    font-size:14px;
    padding:10px 10px;
    border-radius: 10px;
    border:0;
    background:transparent;
    cursor:pointer;
  }

  .nav-link:hover,
  .submenu-toggle:hover{ background: rgba(255,255,255,.12); }

  .nav-link.active{ background: rgba(255,255,255,.16); }

  .has-submenu{ position:relative; }
  .submenu{
    position:absolute;
    top: 44px;
    left:0;
    min-width: 220px;
    padding:10px;
    list-style:none;
    background: rgba(255,255,255,.98);
    border:1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display:none;
  }
  .has-submenu.is-open .submenu{ display:block; }
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu{ display:block; }

  .submenu a{
    display:block;
    padding:10px 10px;
    text-decoration:none;
    color:var(--text);
    font-weight:800;
    border-radius:10px;
  }
  .submenu a:hover{ background: var(--soft); }
  

  .nav-actions{ display:flex; align-items:center; gap:10px; }

  .lang-select{
    height:40px;
    padding:0 10px;
    border-radius: var(--radius-sm);
    border:1px solid var(--header-border);
    background: var(--header-pill);
    color: var(--header-text);
    font-weight:900;
    cursor:pointer;
    outline:none;
  }
  .lang-select option{ color:#111; }

  .backdrop{
    display:none;
    position:fixed;
    inset:0;
    background: rgba(6,33,53,.35);
    z-index:999;
  }

  .nav-link:focus-visible,
  .submenu-toggle:focus-visible,
  .lang-select:focus-visible{
    box-shadow: 0 0 0 4px rgba(29,142,188,.18);
    border-radius: var(--radius-md);
  }

  /* ========== BUTTONS ========== */
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:44px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    font-weight:900;
    text-decoration:none;
    border:1px solid transparent;
    transition: transform .12s ease, background .12s ease, border-color .12s ease, filter .12s ease;
    user-select:none;
  }
  .btn:active{ transform: translateY(1px); }

  .btn-primary{
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color:#fff;
    box-shadow: 0 14px 30px rgba(96,165,250,.22);
  }
  .btn-primary:hover{ filter: brightness(1.03); }

  .btn-ghost{
    background: rgba(255,255,255,.14);
    color:#fff;
    border-color: rgba(255,255,255,.22);
  }
  .section .btn-ghost{
    background:#fff;
    color: var(--text);
    border-color: var(--border);
  }
  .section .btn-ghost:hover{ background:#f8fafc; }

  .btn-sm{
    height:40px;
    padding:0 12px;
    border-radius: var(--radius-sm);
    font-weight:900;
    font-size:13px;
  }

  .btn:focus-visible{
    box-shadow: 0 0 0 4px rgba(29,142,188,.18);
  }

  /* ========== HERO SHARED TEXT HELPERS ========== */
  .hero-kicker{
    color: rgba(255,255,255,.90);
    font-weight:900;
    margin:0 0 10px 0;
    display:flex;
    gap:8px;
    align-items:center;
  }

  .hero-sub{
    color: rgba(255,255,255,.92);
    margin:0 0 16px 0;
    line-height: 1.5;
    text-shadow: 0 10px 30px rgba(0,0,0,.35);
  }

  .hero-cta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
    margin-bottom: 14px;
  }

  .hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
    color: rgba(255,255,255,.92);
    font-weight:900;
    font-size: 13px;
  }
  .hero-badges span{
    background: rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.22);
    padding:8px 10px;
    border-radius: var(--pill);
  }

  /* ========== CARDS ========== */
  .grid-2{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
  }

  .card{
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow:hidden;
    box-shadow: var(--shadow-md);
  }
  .card-media{
    position:relative;
    height: 240px;
    overflow:hidden;
  }
  .card-media img{
    width:100%;
    height:100%;
    object-fit: cover;
    transition: transform .5s ease;
  }
  .card:hover .card-media img{ transform: scale(1.03); }

  .chip{
    position:absolute;
    left:14px;
    bottom:14px;
    background: linear-gradient(135deg, rgba(15,185,177,.92), rgba(96,165,250,.92));
    color:#fff;
    font-weight:900;
    padding:8px 10px;
    border-radius: var(--pill);
    border:1px solid rgba(255,255,255,.35);
    box-shadow: 0 12px 24px rgba(96,165,250,.18);
  }

  .card-body{ padding: 16px 16px 18px; }
  .card-body h3{ margin:0 0 6px 0; font-size: 18px; }
  .card-body p{ margin:0 0 12px 0; color: var(--muted); font-weight:700; }

  .mini-list{
    list-style:none;
    display:grid;
    gap:6px;
    margin: 0 0 14px 0;
    color:#214a59;
    font-weight:800;
  }

  .card-actions{ display:flex; gap:10px; flex-wrap:wrap; }

  /* ========== EVENTS ========== */
  .events-head{ display:flex; flex-direction:column; gap:10px; }

  .events-filters{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top: 6px;
  }

  .filter{
    height:40px;
    padding:0 14px;
    border-radius: var(--pill);
    border:1px solid var(--border);
    background:#fff;
    color: var(--text);
    font-weight:900;
    cursor:pointer;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
  }
  .filter:hover{ transform: translateY(-1px); }
  .filter.is-active{
    background: rgba(29,142,188,.12);
    border-color: rgba(29,142,188,.25);
  }
  .filter:focus-visible{ box-shadow: 0 0 0 4px rgba(29,142,188,.18); }

  .events-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 14px;
  }

  .event{
    background:#fff;
    border:1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 14px;
    display:grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }

  .event-date{
    border-radius: var(--radius-md);
    border: 1px solid rgba(29,142,188,.22);
    background: rgba(29,142,188,.08);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding: 10px 8px;
    text-align:center;
  }
  .event-date .d{ font-size: 18px; font-weight: 1000; line-height: 1.1; }
  .event-date .m{
    font-size: 12px;
    font-weight: 900;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .event-toprow{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 10px;
  }
  .event-main h3{ margin:0; font-size: 16px; }

  .event-tags{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
  }

  .event-tag{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 10px;
    border-radius: var(--pill);
    border:1px solid var(--border);
    background: var(--soft);
    font-weight: 900;
    font-size: 12px;
    white-space: nowrap;
  }

  .event-meta{
    margin: 4px 0 10px;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
  }

  .event-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 4px; }

  .featured-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 10px;
    border-radius: var(--pill);
    font-weight:1000;
    font-size:12px;
    color:#5a3b00;
    background: rgba(255, 183, 3, .20);
    border: 1px solid rgba(255, 183, 3, .35);
  }
  .event.is-featured{
    border-color: rgba(255, 183, 3, .35);
    box-shadow: 0 14px 34px rgba(255, 183, 3, .12), var(--shadow-sm);
  }
  .event.is-featured .event-date{
    border-color: rgba(255, 183, 3, .35);
    background: rgba(255, 183, 3, .10);
  }

  /* ========== FOOTER ========== */
  .site-footer{
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 42px 0 20px;
    border-top: 1px solid rgba(6,33,53,.10);
  }
  .footer-grid{
    display:grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
  }
  .footer-col h4{
    margin:0 0 10px 0;
    color: var(--footer-text);
    font-size: 14px;
    letter-spacing:.02em;
    text-transform: uppercase;
  }
  .footer-col p{
    margin:0;
    color: var(--footer-muted);
    line-height:1.55;
  }
  .site-footer a{
    color: var(--footer-muted);
    text-decoration:none;
  }
  .site-footer a:hover{ color: var(--footer-text); }
  .footer-col ul{ list-style:none; display:grid; gap:8px; }
  .footer-contact a{ display:inline-flex; gap:8px; align-items:center; }
  .footer-social{ display:flex; flex-direction:column; gap:8px; }
  .footer-bottom{
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(6,33,53,.10);
    display:flex;
    justify-content:center;
    text-align:center;
    color: rgba(6,33,53,.60);
    font-weight:800;
    font-size: 13px;
  }
  .site-footer p,
  .footer-bottom p{ margin:0; }

  /* ========== FORMS ========== */
  .form-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 18px;
  }

  .form-grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin-top: 10px;
  }

  .field{ display:flex; flex-direction:column; gap:6px; }

  label{
    font-weight:900;
    font-size:13px;
    color:#214a59;
  }

  .input, .textarea, .select{
    height:44px;
    border-radius: var(--radius-sm);
    border:1px solid var(--border);
    padding: 0 12px;
    outline:none;
    font-weight:800;
    background:#fff;
  }

  .textarea{
    height:auto;
    min-height:120px;
    padding: 10px 12px;
    resize: vertical;
  }

  .help{ font-size:12px; color: var(--muted); font-weight:800; }

  .notice{
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--soft);
    border: 1px solid var(--border);
    color:#214a59;
    font-weight:800;
  }
  .notice.is-ok{
    border-color: rgba(46, 204, 113, .35);
    background: rgba(46, 204, 113, .10);
  }
  .notice.is-err{
    border-color: rgba(231, 76, 60, .35);
    background: rgba(231, 76, 60, .10);
  }

  .summary{
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(96,165,250,.12);
    border: 1px solid rgba(96,165,250,.30);
  }
  .summary pre{
    margin: 10px 0 0;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: rgba(6,33,53,.06);
    overflow:auto;
    font-size: 13px;
  }

  .form-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px; }

  /* ========== FAQ ========== */
  .faq{ display:grid; gap:10px; }

  .faq-item{
    background:#fff;
    border:1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow:hidden;
  }
  .faq-item summary{
    list-style:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding: 14px 16px;
    font-weight:900;
    color: var(--text);
  }
  .faq-item summary::-webkit-details-marker{ display:none; }

  .faq-ico{
    width:34px;
    height:34px;
    border-radius: var(--radius-sm);
    display:grid;
    place-items:center;
    background: rgba(29,142,188,.10);
    border: 1px solid rgba(29,142,188,.18);
    color: var(--brand2);
    font-weight:1000;
    transition: transform .18s ease;
  }
  .faq-item[open] .faq-ico{ transform: rotate(45deg); }

  .faq-body{
    padding: 0 16px 14px;
    color: #214a59;
    font-weight:650;
  }
  .faq-body p{ margin: 8px 0 0; line-height: 1.6; }

  .faq-item:focus-within{
    outline: 0;
    border-color: rgba(29,142,188,.28);
    box-shadow: 0 0 0 4px rgba(29,142,188,.10), var(--shadow-sm);
  }

  /* ========== AVAILABILITY CALENDAR ========== */
  .avail-card{ padding:16px; }
  .avail-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
  }
  .avail-title{ font-weight:800; margin:0; }

  .avail-legend{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    font-size:13px;
    color:var(--muted);
    font-weight:800;
  }
  .avail-dot{
    display:inline-flex;
    align-items:center;
    gap:8px;
  }
  .avail-dot i{
    width:14px;
    height:14px;
    border-radius: var(--pill);
    display:inline-block;
    border:2px solid rgba(6,33,53,.18);
    box-shadow: 0 6px 14px rgba(6,33,53,.10);
  }

  .avail-dot .d-free{ background: var(--av-free-bg); border-color: rgba(32,180,90,.55); }
  .avail-dot .d-busy{ background: var(--av-busy-bg); border-color: rgba(255,77,90,.55); }
  .avail-dot .d-in{
    background: linear-gradient(135deg, var(--av-free-bg) 0 50%, var(--av-busy-bg) 50% 100%);
    border-color: rgba(29,142,188,.35);
  }
  .avail-dot .d-out{
    background: linear-gradient(135deg, var(--av-busy-bg) 0 50%, var(--av-free-bg) 50% 100%);
    border-color: rgba(29,142,188,.35);
  }

  .avail-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  .avail-nav .m{ font-weight:800; }
  .avail-nav .btn{ padding:8px 10px; }

  .avail-wrap{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:12px;
  }
  @media (max-width: 820px){ .avail-wrap{ grid-template-columns: 1fr; } }

  .cal{
    background: rgba(255,255,255,.7);
    border:1px solid var(--border);
    border-radius: var(--radius-md);
    padding:12px;
  }
  .cal-h{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
  .cal-h .name{ font-weight:900; }

  .dow{
    display:grid;
    grid-template-columns: repeat(7, 1fr);
    gap:6px;
    font-size:12px;
    color:var(--muted);
    margin-bottom:6px;
  }
  .grid{
    display:grid;
    grid-template-columns: repeat(7, 1fr);
    gap:6px;
  }

  .day{
    appearance:none;
    border:1px solid rgba(6,33,53,.12);
    border-radius: 10px;
    padding:10px 0;
    font-weight:750;
    cursor:pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    background:#fff;
    color:#214a59;
  }
  .day.is-empty{ visibility:hidden; }

  .day:not(.is-busy):not(.is-past){
    background: var(--av-free-bg);
    border-color: rgba(32,180,90,.35);
    color: var(--av-free-t);
  }

  .day.is-busy{
    cursor:not-allowed;
    background: var(--av-busy-bg);
    border-color: rgba(255,77,90,.35);
    color: var(--av-busy-t);
  }

  .day.is-past{
    cursor:not-allowed;
    color:#9aa8b3;
    background:#f3f6f9;
    border-color:#d7e0ea;
  }

  .day.is-checkin{
    background: linear-gradient(135deg, var(--av-free-bg) 0 50%, var(--av-busy-bg) 50% 100%);
    border-color: rgba(29,142,188,.32);
    color:#173b2b;
  }
  .day.is-checkout{
    background: linear-gradient(135deg, var(--av-busy-bg) 0 50%, var(--av-free-bg) 50% 100%);
    border-color: rgba(29,142,188,.32);
    color:#4a1c22;
  }

  .day.is-selected,
  .day.is-today{
    outline: 3px solid rgba(29,142,188,.55);
    outline-offset: 1px;
  }
  .day.is-selected{ outline-color: rgba(29,142,188,.40); }

  .day:disabled{
    opacity:.55;
    cursor:not-allowed;
  }

  @media (hover:hover){
    .day:not(.is-past):not(:disabled):hover{
      transform: translateY(-1px);
      box-shadow: 0 12px 26px rgba(6,33,53,.12);
      border-color: rgba(29,142,188,.28);
    }
  }

  .avail-note{ margin-top:10px; font-size:13px; color:var(--muted); }

  /* ========== MOBILE STICKY CTA ========== */
  .mobile-cta{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1200;
    display: none;
    gap: 10px;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: rgba(247,253,255,.92);
    border-top: 1px solid var(--border);
  }
  @supports (backdrop-filter: blur(10px)){
    .mobile-cta{ backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  }
  .mobile-cta .btn{ flex: 1; }

  @media (max-width: 820px){
  /* ⛔️ makni "prazan scroll" iza footera */
  body.has-mobile-cta{
    padding-bottom: 0;
  }

  /* ✅ prostor za fixed CTA ide u footer (nema skrola nakon footera) */
  body.has-mobile-cta .site-footer{
    padding-bottom: calc(20px + 76px + env(safe-area-inset-bottom));
  }

  /* CTA visible */
  .mobile-cta{ display:flex; }

  /* (opcionalno) da anchor linkovi (#pricing itd.) ne završe ispod CTA */
  html{
    scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}


  /* ========== RESPONSIVE / MOBILE NAV ========== */
  @media (max-width: 980px){
    .grid-2{ grid-template-columns: 1fr; }
    .events-grid{ grid-template-columns: 1fr; }
    .footer-grid{ grid-template-columns: 1fr 1fr; }
    .form-grid{ grid-template-columns: 1fr; }

    .navbar{ height: var(--header-h-m); }
    .nav-toggle{ display:inline-block; z-index:1001; }

    .nav-panel{
      position: fixed;
      top: 0;
      right: 0;
      height: 100vh;
      height: 100dvh;
      width: min(360px, 92vw);
      background: rgba(29, 142, 188, .96);
      border-left: 1px solid rgba(255,255,255,.14);
      padding: 76px 16px 16px;
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
      transform: translateX(102%);
      transition: transform .25s ease;
      z-index:1000;
      overflow:auto;
      -webkit-overflow-scrolling: touch;
    }

    body.nav-open{ overflow:hidden; }
    body.nav-open .nav-panel{ transform: translateX(0%); }
    body.nav-open .backdrop{ display:block; }

    .nav-menu{ flex-direction: column; align-items: stretch; gap: 8px; }

    .nav-link,
    .submenu-toggle{
      width:100%;
      text-align:left;
      padding: 12px 12px;
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.14);
      color: var(--header-text);
    }

    .nav-link.active{
      background: rgba(15,185,177,.16);
      border-color: rgba(15,185,177,.25);
    }

    .has-submenu:hover .submenu{ display:none; }
    .submenu{
      position: static;
      display:none;
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.14);
      box-shadow:none;
      padding: 6px 0 0;
    }
    .has-submenu:focus-within .submenu{ display:block; }

    .submenu a{
      color: var(--text);
      background: #fff;
      border:1px solid rgba(6,33,53,.10);
      border-radius: var(--radius-sm);
      margin-top: 8px;
    }

    .nav-actions{
      padding-top: 10px;
      border-top: 1px solid rgba(6,33,53,.10);
    }

    /* Mobile perf */
    .site-header{ backdrop-filter:none !important; }
  }

  @media (max-width: 560px){
    .footer-grid{ grid-template-columns: 1fr; }
  }
}
/* =========================
   Cookie banner + modal
========================= */
.cc-banner{
  position:fixed; left:0; right:0; bottom:0;
  z-index:9999;
  padding:12px;
  background:rgba(10,14,20,.55);
  backdrop-filter: blur(8px);
}
.cc-banner__inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
  background:#0f172a;
  color:#e5e7eb;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:14px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.cc-banner__title{ font-weight:800; margin-bottom:6px; color:#fff; }
.cc-banner__desc{ font-size:14px; line-height:1.35; color:#cbd5e1; }
.cc-banner__actions{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

.cc-links{ display:flex; gap:10px; align-items:center; margin-top:8px; font-size:13px; }
.cc-links a{ color:#93c5fd; text-decoration:none; }
.cc-links a:hover{ text-decoration:underline; }
.cc-links--banner{ margin-top:10px; }

/* modal */
.cc-lock{ overflow:hidden; }

.cc-modal{
  position:fixed; inset:0;
  z-index:10000;
  display:grid;
  place-items:center;
}
.cc-modal__backdrop{
  position:absolute; inset:0;
  background:rgba(10,14,20,.65);
  backdrop-filter: blur(6px);
}
.cc-modal__panel{
  position:relative;
  width:min(640px, calc(100vw - 24px));
  background:#0f172a;
  color:#e5e7eb;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}
.cc-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.cc-modal__title{ font-weight:800; color:#fff; }
.cc-iconbtn{
  background:transparent;
  border:0;
  color:#e5e7eb;
  font-size:18px;
  cursor:pointer;
}
.cc-modal__body{ padding:14px; display:grid; gap:12px; }
.cc-modal__foot{
  padding:14px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  gap:10px;
  justify-content:flex-end;
}

.cc-row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:12px;
  padding:12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.03);
}
.cc-row__label{ font-weight:700; color:#fff; margin-bottom:4px; }
.cc-row__desc{ font-size:13px; color:#cbd5e1; line-height:1.35; }

/* switch */
.cc-switch{ position:relative; display:inline-block; width:46px; height:26px; }
.cc-switch input{ display:none; }
.cc-switch__ui{
  position:absolute; inset:0;
  background:#334155;
  border-radius:999px;
  transition:.15s;
}
.cc-switch__ui::after{
  content:"";
  position:absolute;
  top:3px; left:3px;
  width:20px; height:20px;
  background:#fff;
  border-radius:50%;
  transition:.15s;
}
.cc-switch input:checked + .cc-switch__ui{ background:#22c55e; }
.cc-switch input:checked + .cc-switch__ui::after{ transform: translateX(20px); }

/* =========================
   Map blocker overlay
========================= */
.cc-map-blocker{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:14px;
  background:rgba(10,14,20,.55);
  backdrop-filter: blur(6px);
}
.cc-map-blocker__card{
  width:min(520px, 100%);
  background:#0f172a;
  color:#e5e7eb;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:14px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.cc-map-blocker__title{ font-weight:700; color:#fff; margin-bottom:10px; }
.cc-map-blocker__actions{ display:flex; gap:10px; flex-wrap:wrap; }




