.cookie-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30000;
    width: min(420px, calc(100vw - 36px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(6, 8, 12, 0.94);
    color: #ffffff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-family: var(--font-body, Inter, sans-serif);
}

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

.cookie-consent__title {
    margin: 0 0 8px;
    font-family: var(--font-heading, "Public Sans", sans-serif);
    font-size: 1rem;
    line-height: 1.3;
}

.cookie-consent__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.55;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.cookie-consent__button {
    min-height: 42px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 10px 16px;
    color: #ffffff;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-consent__button--accept {
    border-color: transparent;
    background: var(--grad-primary, linear-gradient(135deg, #115CFA, #00CCFF));
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
    border-color: var(--accent-cyan, #00CCFF);
    color: var(--accent-cyan, #00CCFF);
}

.cookie-consent__button--accept:hover,
.cookie-consent__button--accept:focus-visible {
    color: #ffffff;
}

@media (max-width: 520px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 16px;
    }

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