.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 1.35rem;
    transform: translateX(-50%);
    z-index: 10050;
    width: min(calc(100% - 2rem), 640px);
    padding: 1.15rem 1.25rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #131313;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent-text {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cookie-consent-text a:hover {
    opacity: 0.85;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    min-width: 5.5rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-consent-btn-yes {
    background: #ffffff;
    color: #131313;
    border-color: #ffffff;
}

.cookie-consent-btn-yes:hover {
    background: #ececec;
}

.cookie-consent-btn-no {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.cookie-consent-btn-no:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

.cookie-consent-btn:focus-visible {
    outline: 2px solid #8f48ff;
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .cookie-consent {
        bottom: 1.1rem;
        width: min(calc(100% - 1.75rem), 560px);
        padding: 1.05rem 1.1rem 1.1rem;
        border-radius: 16px;
    }

    .cookie-consent-text {
        font-size: 0.92rem;
        margin-bottom: 0.9rem;
    }

    .cookie-consent-btn {
        min-height: 2.45rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .cookie-consent {
        left: 50%;
        bottom: 0.85rem;
        width: calc(100% - 1.5rem);
        padding: 0.95rem 1rem 1rem;
        border-radius: 14px;
    }

    .cookie-consent-text {
        font-size: 0.88rem;
        line-height: 1.45;
        text-align: center;
        margin-bottom: 0.85rem;
    }

    .cookie-consent-actions {
        width: 100%;
        gap: 0.55rem;
    }

    .cookie-consent-btn {
        flex: 1 1 calc(50% - 0.55rem);
        min-width: 0;
        min-height: 2.5rem;
        font-size: 0.88rem;
    }
}
