:root { 
    --bg-image: url(data:image/png;base64,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);
}
html, body {
    pointer-events: all;
    padding-bottom: 70px;
    overflow-x: hidden;
    background-color: #121212;
    font-family: skibidi;
    background-image: url(../img/bg2.png);
    /*backdrop-filter: blur(2px);*/
    /*height: 100vh;*/

    /* BEZ SCROLLU */
    overscroll-behavior: none;
    touch-action: none;
}

.cat-active {
    background-color: #fdb50d;
    color: black !important;
}
.nav-link { 
    color: #ffbf5b;
}

/* default rozložení karet */
#objednat .card-body { display:flex; flex-direction:column; }
#objednat.searching .card-body { flex-direction: column-reverse !important; }
#objednat.searching .categories { display:none !important; }

/* cart mód – schovej vše kromě košíku */
#objednat.cart-mode > h1,
#objednat.cart-mode .categories,
#objednat.cart-mode .search-bar,
#objednat.cart-mode .products-grid { display:none !important; }
#objednat.cart-mode #cart-view { display:block !important; }

/* FAB tlačítko košíku */
.cart-fab{
  position:fixed; right:16px; bottom:16px; z-index:1050;
  border-radius:9999px; padding:10px 16px;
  box-shadow:0 10px 24px rgba(0,0,0,.2);
}

/* kartičky v košíku */
.cart-item{
  display:flex; align-items:center; gap:12px;
  padding:12px 0; border-top:1px solid #eee;
}
.cart-item img{ width:56px; height:56px; border-radius:10px; object-fit:cover; }
.cart-item .title{ font-weight:600; color: white; }
.cart-item .unit{ color: wheat; font-size:.9rem; }
.cart-item .item-total{ min-width:90px; text-align:right; font-weight:600; }
.qty{ display:flex; align-items:center; gap:8px; }
.qty .btn{ width:34px; height:34px; padding:0; line-height:1; }
.cart-summary
 {
    position: sticky;
    bottom: 0;
    background: #000000;
    background-image: var(--bg-image);
    color: #fff9ef;
    text-align: left;
    box-shadow: 0 0 4px 8px rgb(0 0 0 / 85%);
}

#pay-btn {
    background-color: #fdb30d;
    color: #212121;
    border-color: #000000;
}


.hidden{ display:none !important; }

#scroll-container {
  position: relative;
  height: 100vh; /* nebo výška rodiče */
  /*overflow: hidden;*/
}

.scroll-wrapper {
  min-height: 100%;
}

h1, h2, h3, h4, h5 {
    color: white;
    text-shadow: 5px 5px 6px #000000c2;
}
span, p {
    color: rgb(197, 197, 197); 
}
@font-face {
    font-family: skibidi;
    src: url(../fonts/BebasNeue-Regular.ttf);
}
@font-face {
    font-family: logo;
    src: url(../fonts/Urban_Heroes.ttf);
}

.header {
    top: 0;
    z-index: 1000;
    position: fixed;
    background: #000000;
    width: 100vw;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 0px 0px 0px 10px;
    box-shadow: 1px 6px 20px 1px rgb(255 255 255 / 15%);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    pointer-events: auto;
    touch-action: none;

    opacity: 0;
    transform: translateY(-100%);
}
.header.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.header .logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    color: black;
}
.header .logo img {
    height: 35px;
}
.header .logo h1 {
    font-size: 30px;
    margin: unset;
    padding: unset;
    text-align: center;
    padding-top: 4px;
}

.header .header-btns {
    display: flex;
    padding-top: 4px;
    flex-direction: row;
    align-items: center;
}

.header .header-btns .ucet {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.header .header-btns .tlacitko {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header .header-btns .selected {
    color: #fdffa8;
}

.header .header-btns a {
    font-size: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
    width: 60px;
    text-decoration: none;
}
.header .header-btns span {
    font-size: 10px;
    color: white;
    position: relative;
    top: -4px;
}

.header-text span {
    font-size: 20px;
    color: #edd23d;
}

@media (max-width: 373px) {
    .header-text span {
        display: none;
    }

}







button, input {
    pointer-events: all;
    touch-action: manipulation;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000000;
    box-shadow: -1px -6px 20px 1px rgb(0 0 0 / 85%);
    display: flex;
    border-radius: 10px 10px 0px 0px;
    justify-content: space-around;
    padding: 10px 0;
    /*animation: rgbShadow 5s infinite linear;*/
    background-image: var(--bg-image);
    pointer-events: auto;
    touch-action: none;

    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}


.bottom-nav.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.bottom-nav a {
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    flex: 1;
}
.bottom-nav .selected {
    color: #ff9b00;
    font-weight: bold;
    text-decoration: underline;
    letter-spacing: 0.5px;
}
.bottom-nav i {
    font-size: 20px;
    display: block;
}

.bottom-nav a, 
.bottom-nav button, 
.bottom-nav i {
  pointer-events: auto;
  touch-action: manipulation;
}

.cart-preview {
  position: absolute;
  top: -85px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background-color: #000000;
    background-image: var(--bg-image);
  color: #fff;
  border-radius: 15px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 0 20px 5px rgb(126 126 126 / 20%);
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  pointer-events: none;
  opacity: 0;
  flex-direction: column;
  border: solid #000000bf 2px;
}

/* Ikona v košíku */
.cart-preview i {
  font-size: 20px;
  margin-right: 8px;
  animation: none;
}

/* Počet a cena */
.cart-preview .cart-count,
.cart-preview .cart-total {
  margin-right: 8px;
}

/* Šipka pod košíkem */
.cart-preview::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
border-color: #1e1e1e transparent transparent #00000000;
}

/* Stavy zobrazení */
.cart-preview.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
  animation: bounce-in 0.6s;
}

.cart-total {
    color: rgb(255, 255, 255);
}

.cart-info {
    color: #646464;
}



.cart-preview.show:hover {
  transform: translateX(-50%) translateY(0) scale(1.05);
}

/* Klíčové snímky pro bounce animaci */
@keyframes bounce-in {
  0%   { transform: translateX(-50%) translateY(100%) scale(0.8); opacity: 0; }
  60%  { transform: translateX(-50%) translateY(-10px) scale(1.05); opacity: 1; }
  80%  { transform: translateX(-50%) translateY(5px) scale(0.98); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}


/* vyhledávač */
.search-bar input {
  width: 100%;
  box-shadow: none;
}

/* produkty */
.product-item { transition: opacity 0.2s; }
.product-item.hidden { opacity: 0.2; pointer-events: none; display: none; }




@keyframes rgbShadow {
    0% { box-shadow: 0 0 20px 5px rgba(255, 0, 0, 0.8); }
    25% { box-shadow: 0 0 20px 5px rgba(0, 255, 0, 0.8); }
    50% { box-shadow: 0 0 20px 5px rgba(0, 0, 255, 0.8); }
    75% { box-shadow: 0 0 20px 5px rgba(255, 255, 0, 0.8); }
    100% { box-shadow: 0 0 20px 5px rgba(255, 0, 0, 0.8); }
}


.container {
    text-align: center;
    /*padding: 20px;*/
    padding-top: 80px;
    padding-bottom: 150px;
    transition: opacity 0.5s ease;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: auto;
}
.menu-card {
    background: #49494961;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    border: solid #3131318c 2px;
    /*background-image: var(--bg-image);*/
}
.novinka-img {
    width: 100%;
    border-radius: 5px;
    filter: drop-shadow(2px 4px 6px black);
}
.menu-open {
    visibility: visible;
    display: block;
    opacity: 1;
}
.menu-close {
    visibility: hidden;
    position: absolute;
    opacity: 0;
}

.profile-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.login-card {
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.login-card input {
    text-align: center;
    margin-bottom: 10px;
}

.login-card button {
    margin-bottom: 10px;
    width: 100%;
    pointer-events: auto;
}

.form-control {
    text-align: left;
}

.user-level {
    display: flex;
}


#profilePreview {
    border-radius: 15px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 0 13px 1px #000000;
}

#cropContainer .cr-viewport {
    border-radius: 15px !important;
}

.alert-box {
    width: 100%;
    z-index: 3000;
    display: flex;
    margin: 10px;
    justify-content: center;
}
.alert {
    z-index: 3000;
    position: fixed;
    padding: 10px 25px 10px 25px;
    transform: translateY(-100px);
    animation: popup 5s ease 0s 1 normal forwards;
}

@keyframes popup {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px);
    }
}

/* ------------------------------------------------------------
   Zenith UI v2 (modern dark + glass) – overrides
   Keep existing markup/JS, only improves visuals.
------------------------------------------------------------- */
:root{
  --z-accent:#fdb50d;
  --z-accent-2:#ffbf5b;
  --z-bg:#0b0b0d;
  --z-surface:rgba(18,18,22,.62);
  --z-surface-2:rgba(18,18,22,.78);
  --z-border:rgba(255,255,255,.10);
  --z-text:#f4f4f6;
  --z-muted:rgba(244,244,246,.72);
  --z-shadow:0 18px 45px rgba(0,0,0,.55);
  --z-radius:18px;
}

html, body{
  background-color: var(--z-bg);
  background-image:
    radial-gradient(1200px 700px at 20% -10%, rgba(253,181,13,.20), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(255,191,91,.12), transparent 55%),
    radial-gradient(1000px 800px at 50% 120%, rgba(255,255,255,.06), transparent 60%),
    url(../img/bg2.png);
  background-size: auto, auto, auto, cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--z-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.container{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
  padding-top: 84px;
  padding-bottom: 160px;
}

/* Headings/text */
h1,h2,h3,h4,h5{ color: var(--z-text); text-shadow: 0 10px 30px rgba(0,0,0,.55); }
span,p{ color: var(--z-muted); }
.nav-link{ color: var(--z-accent-2); }

/* Header */
.header{
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.45));
  border: 1px solid var(--z-border);
  border-top: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--z-shadow);
  height: 56px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
.header .logo { text-decoration: none;}
.header .logo img{ height: 34px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));  }
.header .logo h1{ letter-spacing: .5px; }
.header .header-btns a{ width: 66px; opacity: .92; }
.header .header-btns a:hover{ opacity: 1; transform: translateY(-1px); }
.header .header-btns span{ opacity: .85; }

/* Bottom nav */
.bottom-nav{
  border: 1px solid var(--z-border);
  border-bottom: none;
  background: linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.78));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 8px;
}
.bottom-nav a{
  border-radius: 10px;
  margin: 0 4px;
  padding: 10px 8px;
  line-height: 1.05;
  transition: transform .12s ease, background-color .12s ease, color .12s ease, opacity .12s ease;
  opacity: .9;
}
.bottom-nav a i{ display:block; font-size: 18px; margin-bottom: 2px; }
.bottom-nav a:hover{ background: rgba(255,255,255,.06); opacity: 1; transform: translateY(-1px); }
.bottom-nav a.selected{
  background: rgb(255 255 255 / 11%);
  color: var(--z-text);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
  opacity: 1;
}

/* Cards */
.menu-card,
.reservation-card,
.profile-card,
.login-card{
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  box-shadow: var(--z-shadow);
}
.menu-card{ padding: 18px; }
.profile-card{ background: var(--z-surface-2); }
.login-card{ background: var(--z-surface-2); }

/* Images */
.novinka-img{
  border-radius: 14px;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.6));
}

/* Buttons (Bootstrap overrides) */
.btn{
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}
.btn:active{ transform: translateY(1px); }
.btn-outline-secondary{
  border-color: rgba(255,255,255,.18) !important;
  color: var(--z-text) !important;
}
.btn-outline-secondary:hover{ background: rgba(255,255,255,.06) !important; }

/* Inputs */
.form-control,
.form-select,
input,
select,
textarea{
  background: rgba(0,0,0,.35) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: var(--z-text) !important;
  border-radius: 14px !important;
}
.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus{
  border-color: rgba(253,181,13,.55) !important;
  box-shadow: 0 0 0 .2rem rgba(253,181,13,.15) !important;
}

/* Accent helpers */
.cat-active{
  background-color: var(--z-accent) !important;
  color: #111 !important;
}
#pay-btn{
  background: linear-gradient(180deg, var(--z-accent), #ffcc47);
  border-color: rgba(0,0,0,.55);
  color: #111;
}

/* Cart summary */
.cart-summary{
  border-top: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Smaller phones */
@media (max-width: 420px){
  .header .header-btns a{ width: 56px; }
  .bottom-nav a{ padding: 9px 6px; }
  .container{ padding-left: 10px; padding-right: 10px; }
}

.alert.dismissed {
    animation: popup-reverse 0.5s ease forwards;
}

@keyframes popup-reverse {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px);
    }
}

#map { height: 400px; width: 100%; position: sticky; }

#refreshIndicator {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border: 3px solid #ccc;
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}


/* overlay přes celou stránku */
#refresh-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9999;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* logo uprostřed */
#refresh-overlay img {
  width: 50px;
  height: 50px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity .25s ease, transform .25s ease;
}

body.is-refreshing #refresh-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.is-refreshing #refresh-overlay img {
  opacity: 1;
  transform: scale(1);
  animation: overlayLogoSpin 1.5s linear infinite;
}

/* jemný blur obsahu */
body > :not(#refresh-overlay) {
  transition: filter .25s ease, transform 0.5s ease-out, opacity 0.5s ease-out;
}

body.is-refreshing > :not(#refresh-overlay) {
  filter: blur(3px) grayscale(0.3);
}

/* animace otáčení loga */
@keyframes overlayLogoSpin {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1) rotate(360deg); }
}

.refresh-text {
    display: flex;
    flex-direction: column;
}












.rezervace-menu {
    display: flex;
    flex-direction: column;
}
.rezervace-menu button {
    margin-bottom: 10px;
}

.rezervace-menu .stoly {
    display: flex;
    padding-bottom: 20px;
    justify-content: space-between;
}
.rezervace-menu .stoly button {
    height: 8vh;
    width: 8vh;
}




#reader {
    width: 100%;
    max-width: 400px;
    height: 100%;
    max-height: 400px;
    margin: 20px auto;
    display: none;
    overflow: hidden; /* Zabrání překrývání vnitřních objektů */
    position: relative; /* Důležité pro další efekty */
}

/* Animace blikajícího rámečku */
@keyframes scanEffect {
    0% { box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 123, 255, 0.8); }
    100% { box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); }
}

#reader.scanning {
    animation: scanEffect 1.5s infinite alternate;
}

#reader * {
    border-radius: 10px;
}

#result {
    margin-top: 20px;
    display: none;
}








.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOut 1s 1s forwards;
    z-index: 9999;

    background-image: url(../img/bg2.png);
}

.loading-text {
    font-size: 5rem;
    font-weight: bold;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    animation: fadeInScale 1s forwards, fadeOutScale 1s 1s forwards;
    
    font-family: logoo;
    display: flex;
    align-items: center;
    flex-direction: column;
    
}

.loading-text img {
    height: 100px;
}
.loading-text span {
    font-family: skibidi;
    font-size: 15px;
}


@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}









.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #444;
    font-weight: bold;
    width: 250px;
    margin: 0 auto;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    margin-bottom: 15px;

}
.google-btn:hover {
    background-color: #f0f0f0;
}
.google-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}





.fb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1877F2;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    font-weight: bold;
    width: 250px;
    margin: 0 auto;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}
.fb-btn:hover {
    background-color: #165DB6;
}
.fb-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}











/* HTML: <div class="loader"></div> */
.level-loader {
    width: 100%;
    height: 25px;
    border-radius: 20px;
    color: #a0a0a0;
    border: 2px solid;
    position: relative;
    margin-bottom: 10px;
}
.level-loader span {
    color: #000000;
    z-index: 5;
    letter-spacing: 1px;
    position: relative;
}
.level-loader::before {
    content: "";
    position: absolute;
    margin: 2px;
    inset: 0 100% 0 0;
    border-radius: inherit;
    background: currentColor;
}


/* HTML: <div class="loader"></div> */
.points-loader {
    width: 100%;
    height: 25px;
    border-radius: 20px;
    color: #a0a0a0;
    border: 2px solid;
    position: relative;
    margin-bottom: 10px;
}
.points-loader span {
    color: #e9e9e9;
    z-index: 5;
    letter-spacing: 1px;
    position: relative;
}
.points-loader::before {
    content: "";
    position: absolute;
    margin: 2px;
    inset: 0 100% 0 0;
    border-radius: inherit;
    background: currentColor;
}



.modal {
    z-index: 5000;
}
.modal-content {
    background-color: #3b3b3b;
    border: solid black 2px;
    box-shadow: 0 0 20px 0px rgb(85 85 85 / 21%);
    background-image: var(--bg-image);
}

.modal-body {
    text-align: center;
}
.modal-body h3 {
    font-size: 20px;
}




/* HUDEBNÍ KOUTEK */
.aktualni-song-img {
    width: 100%;
    max-width: 200px;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgb(0 0 0 / 84%);
    margin-bottom: 10px;
    background-color: #ffbf00;
}

.vyhledat-song-input {
    text-align: center;
}

.song-box {
    border-radius: 10px;
    border: solid #00000061 2px;
    box-shadow: 0 4px 6px rgb(0 0 0 / 53%);
}

.song-box-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
}

.song-current-time {
    color: white;
}





/* TERMOSTAT */
.status-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #6ea8fe);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    padding: 10px;
    position: relative;
    transition: transform 0.3s ease;
}
.status-circle:hover {
    transform: scale(1.05);
}

.status-circle .icon {
    font-size: 28px;
    margin-bottom: 5px;
}

.status-circle .value {
    font-size: 22px;
    font-weight: bold;
}

.status-circle .label {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 3px;
}

.temperature {
    background: linear-gradient(135deg, #ff5722, #ff8a50);
}

.humidity {
    background: linear-gradient(135deg, #2196f3, #64b5f6);
}

.term-btn {
    height: 50px;
    width: 50px;
    color: white;
    background-color: #3d3d3d;
}

.status-circle.flame-small { width: 96px; height: 96px; }
.status-circle.flame { background: linear-gradient(135deg, #6c757d, #a4a7ab); }
.status-circle.flame.heating { background: linear-gradient(135deg, #ff6a00, #ffb878); }
#flame_icon.off { filter: grayscale(100%) brightness(1.1); opacity: .9; }
#flame_icon.on { filter: none; }


.active-program {
  border: 2px solid #78ff24 !important;
  box-shadow: 0 0 0.5rem rgba(25,135,84,.35);
}














.muj-input {
    background-color: beige;

}



.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.calendar-day {
    padding: 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    height: 60px;
}
.grid-template-7 {
    grid-template-columns: repeat(7, 1fr);
}
.calendar-header {
    display: grid;
    gap: 5px;
    color: white;
}
.day-free {
    background-color: #f0f0f0;
}
.day-busy {
    background-color: #f96868;
}
.day-yours {
    background-color: #b2f2bb;
}
.day-need {
    background-color: #fff3cd; /* žlutá */
    border: 2px dashed #ffc107;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 5px;
    flex-wrap: wrap;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot-green { background-color: #28a745; }
.dot-red { background-color: #dc3545; }



.day-row {
    display: flex;
    align-items: center;
    padding: 0.5rem 8px 1rem;
    border: 1px solid #9b9b9b8c;
    box-shadow: 0 0 4px 1px #8f8f8f59;
    cursor: pointer;
    flex-wrap: nowrap;
    height: 80px;
    background-color: #212121;
    border-radius: 10px;
    margin: 10px;
    background-image: var(--bg-image);
    flex-direction: column;
    justify-content: center;
}
.day-label {
    font-weight: bold;
    color: white;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.day-label h5 {
    color: white;
    font-size: 15px;
    margin-bottom: unset;
    width: 100%;
}
.day-label span {
    color: rgb(137 137 137);
    font-size: 12px;
    width: 100%;
}
.day-profiles {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: space-between;
    /*width: calc(100% - 90px);*/
    width: calc(90%);
}
.profiles-left, .profiles-right .mezera {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.day-profiles img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.shadow-green {
    box-shadow: 0 0 4px 2px rgba(40, 167, 69, 0.6);
}
.shadow-red {
    box-shadow: 0 0 4px 2px rgba(220, 53, 69, 0.6);
}







#rezervace .reservation-card label {
    color: wheat;
}

#rezervace input,
#rezervace textarea,
#rezervace select {
    border-radius: 12px;
}

#rezervace button {
    font-size: 1.1rem;
    padding: 10px;
    background-color: #ffa500;
    background-image: var(--bg-image);
    color: black;
    border-color: black;
    
}


















.small-user {
    display: inline-block;
    margin: 2px;
    width: 30px;
    height: 30px;
}

.small-user img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.grid-unavailable {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.grid-unavailable .item {
    width: calc(50% - 4px);
    display: flex;
    align-items: center;
    padding: 5px;
    font-size: 0.85rem; /* 👈 zmenšení textu */
}

.grid-unavailable img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 6px;
}

.grid-unavailable .item strong {
    font-size: 0.9rem; /* lehce větší jméno */
}
.grid-unavailable .item small {
    font-size: 0.75rem;
    color: #888;
}








#scroll-container{
  height: 100vh;               /* nebo kolik potřebuješ */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; /* iOS momentum */
  overscroll-behavior-y: contain;    /* ať to nescrolluje body */
}
#scroll-container .scroll-wrapper{
  min-height: 101%; /* malý trik pro “elastic feel” bez knihovny */
}

/* jen aktivní menu je ve flow */
.menu-close {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

.menu-open {
  display: block !important;  /* nebo flex, když používáš flex layout */
  height: auto !important;
}

#scroll-container::-webkit-scrollbar {
  display: none;
}














/* nakupni kosicek pro nas */

    .nakupni-kosik .summary-box {
        padding: 14px 16px;
        text-align: center;
    }

    .nakupni-kosik .summary-title {
        font-size: 0.9rem;
        color: #bfc7d4;
        margin-bottom: 4px;
    }

    .nakupni-kosik .summary-number {
        font-size: 1.8rem;
        font-weight: 800;
        line-height: 1;
    }

    .nakupni-kosik .cart-item {
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.07);
        border-radius: 14px;
        padding: 12px 14px;
        margin-bottom: 10px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nakupni-kosik .item-name {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .nakupni-kosik .item-qty {
        font-size: 0.92rem;
        color: #d8dee8;
        margin-bottom: 6px;
    }

    .nakupni-kosik .item-state {
        font-size: 0.84rem;
        color: #aeb7c6;
    }

    .nakupni-kosik .btn-sm-custom {
        min-width: 120px;
    }

    .nakupni-kosik .history-top-btn {
        white-space: nowrap;
    }

    .nakupni-kosik .list-wrap {
        max-width: 700px;
        margin: 0 auto;
    }

    .nakupni-kosik .top-grid {
        max-width: 700px;
        margin: 0 auto 18px auto;
    }

    @media (max-width: 576px) {
        .nakupni-kosik .btn-sm-custom {
            min-width: auto;
            width: 100%;
        }

        .nakupni-kosik .item-actions {
            width: 100%;
            margin-top: 10px;
            justify-content: center !important;
        }

        .nakupni-kosik .item-actions form,
        .nakupni-kosik .item-actions button {
            width: 100%;
        }
    }