.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147482000;
    padding: 16px;
    pointer-events: none;
}

.cookie-consent.is-hidden {
    display: none;
}

.cookie-consent__inner {
    pointer-events: auto;
    max-width: 960px;
    margin: 0 auto;
    background: #12161f;
    border: 1px solid rgba(196, 30, 58, 0.35);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.cookie-consent__text {
    flex: 1 1 280px;
    margin: 0;
    color: #d5dae3;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent__text a {
    color: #ff6b7f;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-consent__btn {
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent__btn--primary {
    background: #c41e3a;
    color: #fff;
}

.cookie-consent__btn--ghost {
    background: transparent;
    color: #c8ced8;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-consent__btn--link {
    background: transparent;
    color: #ff8a9a;
    text-decoration: underline;
}

@media (max-width: 640px) {
    /* In a column, a desktop flex-basis otherwise becomes 280–320px height. */
    .cookie-consent__text {
        flex: 0 1 auto;
    }

    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-consent__actions {
        width: 100%;
    }
    .cookie-consent__btn {
        flex: 1 1 auto;
    }
}
