.cookie-consent {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: min(420px, calc(100vw - 48px));
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    color: #334155;
    font-size: 14px;
    line-height: 1.55;
}

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

.cookie-consent-title {
    margin-bottom: 6px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
}

.cookie-consent a {
    color: #3b7ab5;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-consent-btn {
    min-height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent-btn.is-secondary {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
}

.cookie-consent-btn.is-secondary:hover {
    background: #f1f5f9;
}

.cookie-consent-btn.is-primary {
    border: 0;
    background: linear-gradient(90deg, #43b263 0%, #3ba295 25%, #3b7ab5 55%, #7147a7 80%, #814272 100%);
    color: #fff;
}

.cookie-consent-btn.is-primary:hover {
    filter: brightness(1.06);
}

.cookie-consent-btn:focus-visible {
    outline: 2px solid #3b7ab5;
    outline-offset: 2px;
}

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

    .cookie-consent-btn {
        flex: 1;
    }
}
