.paticka_menu a, .paticka_menu button{
    padding: 6px 10px!important;
    border-radius:5px!important;
    margin:5px;
}
.button_paticka{
background: #222;
    color: #aaa;
    border: 1px solid #444;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
}
.button_paticka:hover{
color:#fff;
}

.avatar-initials {
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    font-weight:900;
    color:white;
    background:#2a2a2a;
    text-transform:uppercase;
}

.profile-panel-quest {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 22px;
}

.profile-panel-quest-title {
    font-size: 16px;
    color: #00ff82;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
}

.profile-panel-quest-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.profile-panel-quest-link {
    display: inline-block;
    color: #00ff82;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.profile-panel-quest-link:hover {
    opacity: 0.8;
}
/* OVERLAY */
.profile-modal-overlay {
    position: fixed;
    padding-top:150px;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9990;
}

/* OKNO */
.profile-modal-window {
    background: #202020;
    color: #fff;
    width: 90%;
    max-width: 420px;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 0 25px rgba(0,255,130,0.2);
    position: relative;
    animation: profileModalShow 0.25s ease;
}

/* ANIMACE */
@keyframes profileModalShow {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* ZAVŘÍT */
.profile-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 26px;
    cursor: pointer;
    color: #aaa;
    transition: 0.2s;
}
.profile-modal-close:hover {
    color: #fff;
}

.mobil_center a:hover i{
color:#2f8c5e;
}

/* WRAPPER */
.profile-panel {
    width: 100%;
    color: #fff;
    font-family: inherit;
}

/* TOP SECTION */
.profile-panel-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.profile-panel-avatar {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.profile-panel-name {
    font-size: 20px;
    font-weight: 700;
}

.profile-panel-rank {
    font-size: 14px;
    color: #00ff82;
}

/* XP */
.profile-panel-xp-label {
    font-size: 14px;
    margin-bottom: 6px;
    opacity: 0.85;
}

.profile-panel-xpbar {
    width: 100%;
    height: 10px;
    background: #333;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.profile-panel-xpfill {
    height: 100%;
    background: #00ff82;
    width: 0%;
}

/* STATS */
.profile-panel-stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.profile-panel-statbox {
    flex: 1;
    background: #2a2a2a;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
}

.profile-panel-statnum {
    font-size: 22px;
    font-weight: 700;
    color: #00ff82;
}

.profile-panel-statlabel {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

/* ABOUT */
.profile-panel-about h3 {
    margin-top: 5px;
    font-size: 18px;
    color: #00ff82;
}

.profile-panel-about p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}


.mobil_center{
display:flex;
}

@media (max-width: 992px) {
.mobil_center{
text-align:center;
display:block;
}

.mobil_center div{
width:100%;
}

}


.cross{
color:white;
position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    font-size:25px;
}

.app-drawer img{
width:35px;
  filter: brightness(0) invert(0.5);
}
.app-drawer:hover > img{
filter: brightness(0) invert(56%) sepia(16%) saturate(1193%) hue-rotate(102deg) brightness(89%) contrast(91%);
}  
.app-drawer{
padding:3px;
}
.app-drawer:hover{

background:#F8F9FA;
    padding: 9px 3px;
border-radius:10px;
}
/* ===== ICON BUTTON ===== */
.app-launcher-btn {
    display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  transition: 0.2s;
}

.app-launcher-btn:hover {
    transform: scale(1.10);
    background: #24272d;
}

/* ===== OVERLAY ===== */
#appLauncherOverlay, #avatarModal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.50);
    display: none;
    justify-content: center;
    align-items: flex-start; /* ← posune modal nahoru */
    padding-top: 150px;      /* ← výška posunu */
    z-index: 9999;
    animation: fadeIn 0.15s ease;
}

/* ===== MODAL ===== */
.launcher-box {
    width: 100%;
    max-width: 420px;
    max-height: 75vh;
    background: #111315;
    border-radius: 20px;
    padding: 20px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.08); 
      background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* ===== GRID ===== */
.launcher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.launcher-item {
    min-height: 92.4px;
    text-align: center;
    cursor: pointer;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    position: relative;
    transition: transform 0.12s ease;
        display: flex;
    justify-content: center;
    flex-direction: column;
}

.launcher-item::after {
    content: "";
    background: rgba(255,255,255,0.08);
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: 14px;
    transition: opacity 0.15s ease;
}
.launcher-grid a{
color: white;
}
.launcher-item:hover, launcher-grid a:hover{

}



.launcher-item:hover::after {
    opacity: 1;
}

.launcher-item:hover {
    transform: scale(1.05);
}

/* ===== ICONS ===== */
.launcher-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
}

.launcher-item span {
    font-size: 14px;
    opacity: 0.85;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.vyska{
min-height:100vh!important;
}
/*Registrace*/

   .progressbar-container {
            width: 60%;
            background: #ddd;
            height: 10px;
            border-radius: 5px;
            margin-bottom: 20px;
            position: relative;
        }
        .progressbar-bar {
            height: 100%;
            background: #BEED77; /* Zelená barva */
            width: 0%;
            border-radius: 5px;
            transition: width 0.4s ease-in-out;
            
        }
        .progressbar-text {
            text-align: center;
            margin-bottom: 10px;
            font-weight: bold;
        }
        .sekce {
           
            border-radius: 10px;

            display: flex;
            justify-content: space-between;
            margin:5px;
        }
        .sekce-left {
            padding: 20px;
            color: white;
            border-radius: 10px;
     background: #3c3c3c; /* Jednolitá černá místo gradientu */
    border-radius: 10px;
            margin-right: 20px;
            align-content: center;
        }
        .sekce-right {
            text-align: center;
            padding: 20px;
            box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
        }
        .sekce-slide {
            display: none;
        }
        .sekce-slide.active {
            display: block;
        }
        .sekce-text {
            display: none;
        }
        .sekce-text.active {
            display: block;
        }        
        .buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        button {
            padding: 10px 15px;
            border: none;
            cursor: pointer;
            border-radius: 5px;
            font-size: 16px;
        }
       .next {
    background: #3c3c3c;
    color: #fff;
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0px 4px 10px rgba(60, 60, 60, 0.4);
}
.next:hover {
    background: #1E1E1E;
}
        .prev {
            background: #ccc;
        }
.sekce p{
color:white;
    font-weight: 500;
}        
.seda{
color:#3c3c3c!important;
}
.obal
{
    max-width: 100%;
            display: flex;

            align-items: center;

            flex-direction: column;
}
.inputs-registrace div label{
width:100%;
}
.inputs-registrace div{
padding:5px;
}
.sekce .registrace_popisek{
    color: #9f9f9f;
}
.inputs-registrace input,.inputs-registrace select {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
}
.inputs-registrace input:focus, .inputs-registrace select:focus {
    border: 1px solid #0077B6;
    box-shadow: 0px 0px 5px rgba(0, 119, 182, 0.5);
    }
.sekce-text {
    display: none;
}
.sekce-text.active {
    display: block;
}
.hidden {
    display: none;
    font-size: 16px;
    color: #fff;
    background: #1E1E1E;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    max-width: 400px;
}
#loginMessage{
color:red;
}
.vlastni-footer{
background-color:#575757;
}
.w-10{
width:10%!important;
}
.w-20{
width:20%!important;
}
.w-30{
width:30%!important;
}
.w-40{
width:40%!important;
}
.w-50{
width:50%!important;
}
.w-60{
width:60%!important;
}
.w-70{
width:70%!important;
}
.w-80{
width:80%!important;
}
.w-90{
width:90%!important;
}
.w-100{
width:100%!important;
}
.prehled p{
    color: #6f6f6f;
    font-size: 16px;
    text-align:center;
}
.prehled_detail span{
font-size:12px;
color:#b7b7b7!important;
}
.prehled{
text-align:left;
}
.statistiky{

}
.prehled h3{
margin: 0;
text-align:center;
}

.macro-container {
    display: flex;
    align-items: center;
    padding: 20px;
}

.circle-progress {
    position: relative;
    width: 200px;
    height: 200px;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #00A86B;
}

.macro-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
        flex-wrap: wrap;
}

.macro-item {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    width:100%;

    padding: 5px 0; /* Zvýšení mezery */
    border-bottom: 1px solid #ddd; /* Jemná šedá linka */
}
.macro-item:last-child {
    border-bottom: none; /* Poslední řádek bez čáry */
}
.progress-bar {
    width: 100px;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    overflow: hidden;
    margin: 5px auto;
}

.progress-fill {
    height: 100%;
    background: #00A86B;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

.workout {
    position: relative;
    width: 100%;
    height: 300px;
    background: url('../images/workout.png') center/cover no-repeat;
    border-radius: 20px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1; /* Zajistí, že text zůstane nad překrytím */
}

.workout::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        border-radius: 20px!important;
    background: rgba(0, 0, 0, 0.8); /* 20% šedé překrytí */
    border-radius: 5px;
    z-index: -1; /* Tohle zajistí, že překrytí bude pod textem */
}
.btn-workout{
background:linear-gradient(180deg, #379c69, #2f8c5e);
color:white;
border-radius:3px;
    padding: 0.6rem 2rem;
    border: 0;
}
.workout h3{
color:white;
text-align:left;
margin-bottom:10px;
}

.workout .prehled p{
color:#2f8c5e;
padding:0px;
margin:0px;
text-align:left;
}
.workout .prehled{
width:80%;
height:80%;
}

.workout .upper{
height:50%;
vertical-align:top;
}
.workout .bottom{
height:50%;
vertical-align:bottom;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.progress-wrapper {

    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.progress-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Vzdálenost mezi čtvercem a grafem */
    margin:10px 0px;
}

.previous-value-box {
display:block;
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    border-radius:10px;
    padding:5px;
    align-items: center;
    justify-content: center;
    
    color: #333;

}
.previous-value-box .popisek{
font-size:12px;
width:100%;
color: #ddd;
   font-weight:500;
}
.previous-value-box .text{
text-align:center;
height:50px;
margin-top:15px;
font-size:20px;
font-weight:500;

}
.semi-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.semi-circle-text {
    position: absolute;
    top: 30%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

#weight-goal, #waist-goal {
    font-size: 10px;
    color: #666;
    font-weight:400;
}

.semi-circle-labels {
    display: flex;
    justify-content: space-between;
    width: 150px;
    font-size: 14px;
    color: #666;

}


/* Celková sekce statistik */
.statistiky {
text-align:center;
display: flex;
flex-wrap: wrap;
    background: #F8F9FA; /* Světlé pozadí */
    padding: 20px;
    border-radius: 12px; /* Zaoblené rohy */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Jemný stín */
    position: relative;
    margin: 20px 0;
}

/* Horní proužek pro nadpis sekce */
.statistiky::before {
    content: "📊 Tvůj progres"; /* Nadpis sekce */
    position: absolute;
    top: -15px;
    left: 20px;
    background: #3C3C3C; /* Neonově zelená nebo změnit na #0077B6 pro modrou */
    color: #F8F9FA;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 14px;
}

/* Karta pro jednotlivé grafy */
.stat-box {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}

.stat-box:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Vylepšení vzhledu textu uvnitř statistik */
.stat-box h3 {
    font-size: 18px;
    color: #1E1E1E;
    font-weight: bold;
}

.stat-box p {
    font-size: 14px;
    color: #3c3c3c;
}

/* Přizpůsobení číselných boxů (Poslední týden/měsíc) */
.stat-box-small {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #3c3c3c;
    transition: 0.3s;
}

.stat-box-small:hover {
    background: #f1f1f1;
}

/* Mobilní responzivita */
@media (max-width: 768px) {
    .statistiky {
        padding: 15px;
    }

    .stat-box {
        padding: 10px;
    }

    .statistiky::before {
        font-size: 12px;
        padding: 4px 10px;
    }
}
.motivace{
   font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #3C3C3C;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin: 20px auto;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mini-graf{
width:60%!important;
height:100%!important;
}
.cviceni {
text-align:center;
display: flex;
flex-wrap: wrap;
    background: #F8F9FA; /* Světlé pozadí */
    padding: 20px;
    border-radius: 12px; /* Zaoblené rohy */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Jemný stín */
    position: relative;
    margin: 20px 0;
}
.cviceni::before {
    content: "📊 Doporučené workouty"; /* Nadpis sekce */
    position: absolute;
    top: -15px;
    left: 20px;
    background: #3C3C3C; /* Neonově zelená nebo změnit na #0077B6 pro modrou */
    color: #F8F9FA;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.jidelnicek {
text-align:center;
display: flex;
flex-wrap: wrap;
    background: #F8F9FA; /* Světlé pozadí */
    padding: 20px;
    border-radius: 12px; /* Zaoblené rohy */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Jemný stín */
    position: relative;
    margin: 20px 0;
}
.jidelnicek::before {
    content: "📊 Doporučené jídla"; /* Nadpis sekce */
    position: absolute;
    top: -15px;
    left: 20px;
    background: #3C3C3C; /* Neonově zelená nebo změnit na #0077B6 pro modrou */
    color: #F8F9FA;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.challenge {
text-align:center;
display: flex;
flex-wrap: wrap;
    background: #F8F9FA; /* Světlé pozadí */
    padding: 20px;
    border-radius: 12px; /* Zaoblené rohy */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Jemný stín */
    position: relative;
    margin: 20px 0;
}
.challenge::before {
    content: "🔥 Challenge Mode";
    position: absolute;
    top: -15px;
    left: 20px;
        color: #ff5555;
    padding: 5px 15px;
    border-radius: 8px;
        font-size: 16px;
    font-weight: bold;
}
.challange {
    box-shadow: 0px 4px 10px rgba(255, 85, 85, 0.3);
    border-radius: 10px;
    padding: 15px;
}
.challenge .workout{
height:150px;
}

.ramecek {
text-align:center;
display: flex;
flex-wrap: wrap;
    background: #F8F9FA; /* Světlé pozadí */
    padding: 20px;
    border-radius: 12px; /* Zaoblené rohy */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Jemný stín */
    position: relative;
    margin: 20px 0;
        justify-content: space-around;
}
.blok-header{
    position: relative;
}
.blok-header button{
position: absolute;
    right: 10px;
}
.h3_blok {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Inputy pro zadávání hodnot */
.data-input {
    width: 100%;
    padding: 2px;
    margin-bottom: 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    text-align:center;
}

/* Tlačítko */
.data-button {
    background-color: #4CD964;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.data-button:hover {
    background-color: #3CB654;
}
.login-button {
    background: linear-gradient(to right, #00c853, #009624);
    color: white;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-button:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 10px rgba(0, 200, 83, 0.5);
}
.forgot-password {
    color: #666; /* Neutrální šedá, aby nerušila */
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.forgot-password:hover {
    color: #444; /* Jemné ztmavení při najetí, ale stále nenápadné */
    text-decoration: underline;
}
.input-container {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin:5px;
}

.input-container i {
    margin-right: 10px;
    color: #777;
    font-size: 18px;
}

.input-container input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
}

.vyhledavani_potravin .search-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    color: #2f8c5e;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
}
/* 🔥 Kontejner pro vyhledávání */
.vyhledavani_potravin {
    position: relative;
}

/* 🔥 Kontejner pro vyhledávací pole */
.vyhledavani_potravin .search-container {
    margin: 10px auto;
    max-width: 610px;
    text-align: center;
    position: relative; /* Nutné pro správné umístění dropdownu */
}

/* 🔥 Vyhledávací pole */
.vyhledavani_potravin .search-input {
    width: 420px;
    padding: 14px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
    background: #f8f8f8;
    color: #1e1e1e;
}

.vyhledavani_potravin .search-input:focus {
    border-color: #00A86A;
    box-shadow: 0px 0px 10px rgba(0, 168, 106, 0.3);
}

/* 🔥 Výsledky vyhledávání - jako dropdown */
.vyhledavani_potravin .search-results {
    position: absolute;
    top: 100%; /* Umístí box těsně pod vyhledávací pole */
    left: 0;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: none;
    border: 1px solid #ddd;
    overflow: hidden;
    max-height: 300px; /* Omezení výšky */
    overflow-y: auto; /* Možnost skrolování při velkém množství výsledků */
}
.vyhledavani_potravin .results-table{
width:100%;
}
/* 🔥 Každý výsledek */
.vyhledavani_potravin .results-table tr {
    background: #fff;
    transition: 0.2s;
    border-bottom: 1px solid #eee;
    padding: 5px;
    align-items: center;
}

/* 🔥 Hover efekt */
.vyhledavani_potravin .results-table tr:hover {
    background: rgba(0, 168, 106, 0.1);
    cursor: pointer;
}

/* 🔥 Každá buňka */
.vyhledavani_potravin .results-table td {
    padding: 10px;
    text-align: left;
    color: #333;
    font-size: 16px;
    max-width: 300px;
}

/* 🔥 Zvýraznění hledaného výrazu */
.vyhledavani_potravin .highlight {
    font-weight: 700;
}

/* 🔥 Číselné hodnoty zarovnat doprava */
.vyhledavani_potravin .results-table td.numeric {
    text-align: right;
}

/* 🔥 Když jsou výsledky aktivní, zobrazí se */
.vyhledavani_potravin .search-results.active {
    display: block;
}
/* 🔥 Upravený scrollbar pro modernější vzhled */
.vyhledavani_potravin .search-results::-webkit-scrollbar {
    width: 8px; /* Šířka scrollbar */
}

.vyhledavani_potravin .search-results::-webkit-scrollbar-track {
    background: #f1f1f1; /* Světlé pozadí pro drážku scrollbar */
    border-radius: 10px;
}

.vyhledavani_potravin .search-results::-webkit-scrollbar-thumb {
    background: #00A86A; /* Zelená jako akcentní barva */
    border-radius: 10px;
}

.vyhledavani_potravin .search-results::-webkit-scrollbar-thumb:hover {
    background: #008d5e; /* Mírně tmavší zelená při najetí myší */
}
.jidlo-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.jidlo-table th, .jidlo-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.jidlo-table th {
    background: #575757;
    color: white;
    text-transform: uppercase;
    font-weight:500;
}

.jidlo-table tr:hover {
    background: rgba(0, 168, 106, 0.1);
    cursor: pointer;
}

.no-results {
    text-align: center;
    color: #ff4c4c;
    margin-top: 20px;
}
.smazat-jidlo {
    color: #ff4c4c;
    background-color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
      font-size: 20px;        /* nebo více – třeba 24px */
  font-weight: 900;       /* maximální tučnost */
  line-height: 1;
    transition: 0.2s;
      position: absolute;
  top: 10px;
  right: 10px;
}

.smazat-jidlo:hover {
    background: #ff4c4c;
    color:white;
}
.date-picker {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    gap: 15px;
}

.date-picker button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: 0.2s;
}

.date-picker button:hover {
    color: #00A86A;
}
.add-food-text {
    font-size: 14px;
    color: #00A86B;
    text-align: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.add-food-text:hover {
    color: #007b55;
}

.add-food-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    text-align: center;
}
.calories, .proteins, .carbs, .fats {
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 6px;  /* Zaoblené rohy pro jemnější vzhled */
    display: inline-block; /* Lepší zarovnání */
    margin-right: 5px; /* Větší mezery mezi hodnotami */
    font-size: 14px;
}

.calories {
    color: #e44d26;
    background-color: rgba(228, 77, 38, 0.15);
}

.proteins {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.15);
}

.carbs {
    color: #2196F3;
    background-color: rgba(33, 150, 243, 0.15);
}

.fats {
    color: #FFC107;
    background-color: rgba(255, 193, 7, 0.15);
}

.calories:hover, .proteins:hover, .carbs:hover, .fats:hover {
    opacity: 0.8;  /* Hover efekt – jemné zesvětlení */
    cursor: default;
}


.plan th{
text-align:center;
font-weight:500;
margin:5px;
background-color:#202020;
color:white;
padding:5px;
border-radius:5px;
}
.plan .den{
text-align:center;
font-weight:500;
margin:5px;
background-color:#4C4C4C;
color:white;
padding:10px;
border-radius:5px;
}
.plan td{
border: 1px solid #4C4C4C;
color: :#4C4C4C;
border-radius:5px;
}

.vlastni_tlacitko{
    width: 250px;
    margin: 10px;
    background: linear-gradient(180deg, #379c69, #2f8c5e);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;text-align:center
}


.vlastni_tlacitko:hover{
color:white;
text-decoration:none;
background-color:#3CB654;
}

.meal-type-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
      justify-content: center;
}

.meal-type-selection label {
  background: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-size: 14px;
  user-select: none;
}

.meal-type-selection input[type="radio"] {
  display: none;
}
.food-name{
width:100%;
}
.meal-type-selection input[type="radio"]:checked + span,
.meal-type-selection label:has(input[type="radio"]:checked) {
    background: linear-gradient(180deg, #379c69, #2f8c5e);
  color: #fff;
  border-color: #2f8c5e;
}
.jidlo-blok{
background-color:#F8F9FA;
border-radius:2px;
padding:5px;
margin-bottom:10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

}
.jidlo-blok h3{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}
.jidlo-card{
    padding:5px;
    background-color:#ffffff;
    margin:5px;
    border-bottom: 2px solid #ddd;
    border-radius:3px;
      position: relative;
  padding-right: 40px; /* prostor pro křížek */
  margin-bottom: 10px;
  flex-wrap: wrap; /* pro mobilní zobrazení */
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  position: relative;
}
.nutri-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.nutri-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  max-width: 320px;
  width: 90%;
  margin: 10% auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  font-family: 'Segoe UI', sans-serif;
}

.nutri-modal-content h3 {
  margin-top: 0;
  font-size: 22px;
  font-weight: 700;
  color: #333;
}

.nutri-modal-content p {
  margin: 0 0;
  font-size: 16px;
  color: #444;
}

.nutri-modal-content strong {
  font-weight: 600;
  color: #333;
}

.nutri-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  color: #888;
  cursor: pointer;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nutri-close:hover {
  color: #000;
}


.vyhledavani_potravin {

  border: 1px solid #2f8c5e;
  border-radius: 12px;
  padding: 30px 20px;
  margin: 30px auto;
  max-width: 700px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  position: relative;
  z-index: 2;
  transition: 0.3s ease;
}






.search-input:focus {
  border-color: #66bb6a;
  box-shadow: 0 0 4px rgba(76, 175, 80, 0.4);
}

.add-food-text {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  font-style: italic;
  cursor: pointer;
  transition: color 0.2s ease;
}

.add-food-text:hover {
  color: #388e3c;
}

.add-food-box {
  margin-top: 20px;
  text-align: center;
  background: #f1f8e9;
  padding: 20px;
  border-radius: 10px;
}

.add-food-box input,
.add-food-box select {
  margin: 6px;
}

.data-button {
  background: linear-gradient(180deg, #379c69, #2f8c5e);
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}


.nazev_jidla{
min-width:600px;
}
.social-icons a {
background-color:#414141;
    color: rgb(0, 168, 106);
}
.social-icons a:hover {
    color: rgb(0 114 72);
    }
    
    
    
    .plan-tabs {
  margin-top: 30px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 16px;
  background-color: #f1f1f1;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background-color: #2f8c5e;
  border: 2px solid #2f8c5e;
  color: white;
}

.day-card {
  display: none;
}

.day-card.active {
  display: block;
  position:relative;
}



.denvtydnu {
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 5px;
  background-color: #2f8c5e;
  color: white;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
}



.cvik-name {
    color: #2f8c5e;
    font-weight:500;
  margin-bottom: 8px;
}

.cvik-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cvik-fields label {
  flex: 1 1 120px;
}

.cvik-input {
  width: 100%;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.delete-btn {
  background: none;
  border: none;
  color: red;
  font-size: 20px;
  cursor: pointer;
}

  .day-card {
    margin-bottom: 20px;
    padding: 10px 10px 6px 10px;
    background: #f8f8f8;
    border-radius: 14px;
    box-shadow: 0 4px 16px #0002;
  }
  .day-card-title .nadpis {
  text-transform:uppercase;
    font-weight: bold;

    font-size: 1.15rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 6px;
  }
    .day-card-title{
    margin: 10px;
    }
  .cvik-card {
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 2px 8px #0001;
    margin-bottom: 12px;
    padding: 10px 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }


#cvikyModal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  max-height: 80vh;
  max-width: 90vw;
  overflow-y: auto;
  display: none;
  background: white;
  padding: 30px 20px;
  border-radius: 16px;
  max-width: 360px;
  width: 90%;
  margin: 40px auto;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

#cvikyModal h2,
#cvikyModal h3,
#cvikyModal h4 {
  color: #2f8c5e;
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 20px;
}

.kategorie {
  font-weight: bold;
  background: #f1f1f1;
  padding: 10px;
  margin: 10px 0 5px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.kategorie:hover {
  background: #e0e0e0;
}

.partie-header {
  margin: 8px 0;
  font-weight: bold;
  padding: 8px 12px;
  background: #eee;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.partie-header:hover {
  background: #e0e0e0;
}

.partie-cviky {
  margin-left: 12px;
  margin-top: 8px;
  margin-bottom: 10px;
}

.cvik-item {
  margin: 5px 0;
}

.cvik-item label {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.cvik-item input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
  accent-color: #2f8c5e;
}


#cvikyModal button.zavrit-btn {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  background: #f1f1f1;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

#cvikyModal button.zavrit-btn:hover {
  background: #e0e0e0;
}
.progress_dashboard{
display: flex;padding: 20px;flex-wrap: wrap;justify-content: space-around;padding-bottom:0px;
}

.progress_dashboard i {
color:white;
font-size:30px;
padding:25px;
border-radius:5px;
margin-bottom:5px;
}
.progress_dashboard div{
max-width:110px;
}
.hlaska{
width:100%;
font-size:20px;
}
.exercise_lista{
display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
/*
.ai_tlacitko:hover{
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 6px 16px rgba(0,0,0,0.35), 0 0 22px rgba(16,106,212,0.55);
}*/
.ai_tlacitko{
  display:inline-block;
  padding:12px 24px;
  border-radius:8px;
  font-weight:500;
  font-size:15px;
  /*background:#106ad4;*/
    background:linear-gradient(180deg, #c4a365, #a8833e);
  color:white;

  border:none;
  cursor:pointer;
  /*box-shadow:0 4px 12px rgba(0,0,0,0.25), 0 0 14px rgba(16,106,212,0.4);
  transition:all .25s ease;*/
}
.ai .disabled{
  background:linear-gradient(180deg, #2e2e2e, #232323);
  color:white;
padding:10px;
}
.ai .disabled a{
  padding:10px;
}
.ai .disabled a:hover, .ai .disabled a:focus{
text-decoration:none;
  color:white;
}
.ai .disabled:hover{

   /* box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 22px rgba(212, 31, 16, 0.55);*/
}

.accent {
    height:4px;
    transition: all .25s ease;   /* tady definujeme animaci */
}

.plan-card:hover .accent {
    filter: brightness(1.25);
    height:10px!important;                  /* nemusíš dávat !important */
}
.ai-modal{position:fixed;inset:0;background:rgba(0,0,0,0.6);display:none;align-items:center;justify-content:center;z-index:5000}
.ai-content{background:#fff;padding:20px;border-radius:12px;width:350px}
.ai-input{width:100%;padding:8px;margin:6px 0;border-radius:8px;border:1px solid #ccc}
.ai-btn{width:100%;padding:10px;margin-top:10px;border:none;border-radius:8px;background:#2f8c5e;color:#fff;cursor:pointer}
.ai-btn.cancel{background:#aaa}
#ai_loader {
    display:none;
    margin-top:10px;
    text-align:center;
    font-weight:bold;
    color:#2f8c5e;
}

.ai-spinner {
  border:4px solid #eee;
  border-top:4px solid #2f8c5e;
  border-radius:50%;
  width:28px;
  height:28px;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

