/* ========== COOKIE BANNER ========== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ccc;
    padding: 18px 24px;
    z-index: 99999;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 -3px 12px rgba(0,0,0,0.4);
    display: none;
}

#cookie-banner.visible {
    display: block;
}

#cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

#cookie-banner-text a {
    color: #e8a020;
    text-decoration: underline;
}

#cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 8px 18px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: opacity 0.2s;
}

.cookie-btn:hover {
    opacity: 0.85;
}

.cookie-btn-accept {
    background: #e8a020;
    color: #fff;
}

.cookie-btn-reject {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}

.cookie-btn-settings {
    background: transparent;
    color: #e8a020;
    border: 1px solid #e8a020;
}

/* ========== COOKIE MODAL (nastavenia) ========== */
#cookie-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 100000;
    align-items: center;
    justify-content: center;
}

#cookie-modal.visible {
    display: flex;
}

#cookie-modal-box {
    background: #222;
    color: #ccc;
    padding: 30px;
    max-width: 520px;
    width: 90%;
    border-radius: 4px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    max-height: 90vh;
    overflow-y: auto;
}

#cookie-modal-box h3 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #333;
    gap: 16px;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category-info h4 {
    color: #fff;
    font-size: 13px;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-category-info p {
    margin: 0;
    font-size: 12px;
    color: #999;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #444;
    border-radius: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: #e8a020;
}

.cookie-toggle-slider:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

#cookie-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
