.cookie-consent {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 1100;
    display: flex;
    justify-content: center;
}

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

.cookie-consent__content {
    width: min(100%, 980px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(15, 15, 26, 0.96);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
}

.cookie-consent__text h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-consent__text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.cookie-consent__text a {
    color: #8cc8ff;
    text-decoration: underline !important;
}

.cookie-consent__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent__button {
    min-width: 132px;
    padding: 0.9rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-consent__button:hover {
    transform: translateY(-1px);
}

.cookie-consent__button--secondary {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.16);
}

.cookie-consent__button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.cookie-consent__button--primary {
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.28);
}

.cookie-consent__button--primary:hover {
    background: linear-gradient(135deg, #5b52f0, #8b44ff);
    box-shadow: 0 16px 28px rgba(79, 70, 229, 0.34);
}

.cookie-consent__button:focus-visible {
    outline: 2px solid #8cc8ff;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .cookie-consent {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .cookie-consent__content {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
    }

    .cookie-consent__actions {
        flex-direction: column-reverse;
    }

    .cookie-consent__button {
        width: 100%;
    }
}
