.cookie-consent {
    position: fixed;
    z-index: 10000;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    width: min(860px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 20px;
    border: 1px solid rgba(10, 63, 78, 0.18);
    border-left: 4px solid #ef4f3d;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 49, 65, 0.24);
    color: #07111f;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
}

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

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent.is-leaving {
    pointer-events: none;
}

.cookie-consent-copy {
    min-width: 0;
}

.cookie-consent-copy strong {
    display: block;
    margin-bottom: 5px;
    color: #003241;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.cookie-consent-copy p {
    margin: 0;
    color: #4d5f6c;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-consent-accept {
    min-width: 146px;
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: #ef4f3d;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.cookie-consent-accept:hover {
    background: #d94131;
    box-shadow: 0 8px 18px rgba(239, 79, 61, 0.24);
}

.cookie-consent-accept:focus-visible {
    outline: 3px solid rgba(45, 182, 232, 0.38);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        grid-template-columns: 1fr;
        gap: 14px;
        width: calc(100% - 24px);
        padding: 16px;
    }

    .cookie-consent-accept {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent,
    .cookie-consent-accept {
        transition: none;
    }
}
