/* Non-blocking cookie notice — shown once, does not cover page content */
.cookie-consent {
    position: fixed;
    bottom: 16px;
    right: 16px;
    left: auto;
    z-index: 100001;
    max-width: 380px;
    width: calc(100% - 32px);
    margin: 0;
    padding: 14px 16px;
    background: rgba(249, 249, 249, 0.96);
    border: 1px solid #dadada;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(73, 73, 73, 0.15);
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.cookie-consent.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent.is-dismissed {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.cookie-consent-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    text-align: left;
}

.cookie-consent-content p {
    font-family: Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #494949;
    margin: 0;
}

.cookie-consent-content a {
    color: #757575;
    text-decoration: underline;
}

.cookie-consent-content a:hover {
    color: #494949;
}

.cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-consent-buttons .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-family: Arial, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.2;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-consent-buttons .btn.accent-btn {
    background-color: #757575;
    color: #f9f9f9;
}

.cookie-consent-buttons .btn.accent-btn:hover {
    background-color: #494949;
    color: #f9f9f9;
}

.cookie-consent-buttons .btn:not(.accent-btn) {
    background-color: transparent;
    color: #494949;
    border: 1px solid #dadada;
}

.cookie-consent-buttons .btn:not(.accent-btn):hover {
    background-color: #ebebeb;
    color: #494949;
}

html.cookie-consent-settled .cookie-consent {
    display: none !important;
}

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

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-consent-buttons .btn {
        width: 100%;
        text-align: center;
    }
}