/* Cookie lista - templates/components/cookieConsent.latte, logika v assets/js/cookie-consent.js */
.cookie-consent {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 10000;
    box-sizing: border-box;
    width: 360px;
    max-width: calc(100% - 30px);
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    padding: 20px;
    background: #ffffff;
    color: #333333;
    border-top: 3px solid #ed3e49;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-consent[hidden],
.cookie-consent [hidden] {
    display: none !important;
}

.cookie-consent__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}

.cookie-consent__text {
    margin: 0 0 15px;
    font-size: 12px;
    color: #555555;
}

.cookie-consent__settings {
    margin: 0 0 15px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
}

.cookie-consent__option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: none;
    margin: 6px 0;
    font-size: 12px;
    font-weight: normal;
    cursor: pointer;
}

.cookie-consent__option input {
    flex: 0 0 auto;
    margin: 3px 0 0;
}

.cookie-consent__option input:disabled {
    cursor: not-allowed;
}

.cookie-consent__buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent__btn {
    flex: 1 1 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color 0.15s;
}

.cookie-consent__btn--accept {
    background: #ed3e49;
}

.cookie-consent__btn--accept:hover {
    background: #e31522;
}

.cookie-consent__btn--reject,
.cookie-consent__btn--save {
    background: #333333;
}

.cookie-consent__btn--reject:hover,
.cookie-consent__btn--save:hover {
    background: #111111;
}

.cookie-consent__btn--save {
    display: block;
    width: 100%;
    margin-top: 10px;
}

.cookie-consent__link {
    display: block;
    margin: 12px auto 0;
    padding: 0;
    background: none;
    border: 0;
    color: #ed3e49;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-consent__link:hover {
    color: #e31522;
}

.cookie-consent__btn:focus-visible,
.cookie-consent__link:focus-visible,
.cookie-consent__option input:focus-visible {
    outline: 2px solid #2babcf;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .cookie-consent {
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        max-width: none;
        border-radius: 0;
    }
}
