/* Hiper Cookie Consent - tylko niezbędne cookies */

.hcc-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 999999;

    width: calc(100% - 40px);
    max-width: 820px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 18px 20px;

    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.14);

    color: #1f2937;
    font-size: 15px;
    line-height: 1.5;
}

.hcc-banner[hidden] {
    display: none !important;
}

.hcc-banner__content {
    flex: 1 1 auto;
    min-width: 0;
}

.hcc-banner__content strong {
    display: block;
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.3;
    color: #111827;
}

.hcc-banner__content p {
    margin: 0;
    color: #4b5563;
}

.hcc-banner__content a,
.hcc-privacy-link {
    display: inline-block;
    margin-top: 6px;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hcc-banner__content a:hover,
.hcc-privacy-link:hover {
    text-decoration-thickness: 2px;
}

.hcc-banner__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.hcc-btn {
    appearance: none;
    border: 0;
    border-radius: 8px;
    padding: 10px 18px;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hcc-btn:hover {
    opacity: 0.9;
}

.hcc-btn:active {
    transform: translateY(1px);
}

.hcc-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.hcc-btn--primary {
    background: #111827;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hcc-banner {
        width: calc(100% - 20px);
        max-width: none;
        bottom: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
        border-radius: 12px;
        font-size: 14px;
    }

    .hcc-banner__actions,
    .hcc-banner__actions .hcc-btn {
        width: 100%;
    }
}
