/* ✅ Hlavní styl cookie banneru */
#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: white !important;
    padding: 70px 15px;
    text-align: center;
    z-index: 9999;
    font-family: "Montserrat", Arial, sans-serif;
    display: block;
    top: 0;
    left: 0;
    display: none; /* Skryté na začátku */
}

#cookie-banner.show {
    display: block; /* Ukáže se jen pokud je potřeba */
}

.cookie-banner-inner {
    background: #ffffff;
    position: fixed;
    width: 95%;
    left: 0;
    max-width: 550px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 6px;
}

.cookie-banner-inner-inner {
    padding: 56px 75px 39px 75px;
}

@media screen and (max-width: 768px) {
.cookie-banner-inner-inner {
    padding: 56px 40px 39px 40px;
}
}

.color-box {
    height: 90px;
    border-radius: 6px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-box.green {
    background: #79b928;
}

.color-box.orange {
    background: #f37f00;
}

.color-box.brown {
    background: #594637;
}

/* ✅ Text v banneru */
#cookie-banner p {
    color: #000000 !important;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center !important;
}

#cookie-banner a {
    color: #507417;
    border-bottom: 1px solid;
}

#cookie-banner a:hover {
    border-bottom: none;
}
/* ✅ Styl tlačítek */
button {
    padding: 10px;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

#accept-all {
    background: #000000;
    color: #ffffff;
    transition: background 0.3s ease;
    font-weight: 600;
    padding: 12px 29px 13px 29px;
    border-radius: 4px;
    font-size: 15px;
    margin-right: 10px;
}

@media screen and (max-width: 480px) {
#accept-all {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5px;
}
}

#accept-all:hover {
    background: #79b928;
}

#reject-all {
    background: #262626;
    color: #e9e9e9;
    transition: background 0.3s ease;
    font-weight: 600;
    padding: 12px 29px 13px 29px;
    border-radius: 4px;
    font-size: 15px;
}

@media screen and (max-width: 480px) {
#reject-all {
    width: 100%;
}
}

#reject-all:hover {
    background: #d32f2f;
}

#customize-consent, #save-consent {
    background: transparent;
    color: #000;
    transition: background 0.3s ease;
    border-bottom: 1px solid;
    padding: 0;
    margin-top: 24px;
    font-size: 14px;
}

#save-consent {
    margin-top: 13px;
}

#customize-consent:hover, #save-consent:hover {
    background: transparent;
    border-bottom: none;
}

/* ✅ Ikona */
.cookie-img {
    background: url(../svg/cookie.svg) no-repeat;
    width: 131px;
    height: 99px;
    margin-top: 55px;
}

/* ✅ Modalní okno s nastavením cookies */
#cookie-settings {
    display: none;
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: black;
    border-radius: 10px;
    padding: 27px 59px 27px 59px;
    text-align: left;
    max-width: 549px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 10000;
    min-height: 200px;
    min-width: 300px;
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
#cookie-settings {
    padding: 20px 27px 20px 27px;
}
}

@media screen and (max-width: 480px) {
#cookie-settings {
    padding: 43px 27px 44px 27px;
    top: 56%;
}
}

@media screen and (max-width: 359px) {
#cookie-settings {
    padding: 58px 27px 56px 27px;
    margin-top: 30px;
}
}

/* ✅ Přidání třídy pro zobrazení */
#cookie-settings.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* ✅ Tlačítko pro otevření nastavení cookies */
#cookie-settings-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #000;
    color: white;
    padding: 10px 17px 11px 15px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: none;
    transition: background 0.3s ease;
    z-index: 100001;
}

#cookie-settings-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* ✅ Labels, checkboxy */
#cookie-settings label {
    margin-bottom: 10px;
    cursor: pointer;
}

#cookie-settings input[type=checkbox] {
    cursor: pointer;
    width: 16px;
    height: 18px;
    position: relative;
    top: 3px;
    margin-right: 4px;
}

#cookie-settings span {
    display: block;
}

label.no-star:after {
    content: "";
}