.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    background: #ffffff;
    color: #202a58;
    border-top: 3px solid #fa8714;
    box-shadow: 0 -10px 34px rgba(16, 23, 52, 0.16);
    padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px));
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.cookie-banner__title {
    margin: 0 0 4px;
    color: #202a58;
    font-family: "Manrope", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.cookie-banner__text {
    margin: 0;
    color: #465070;
    font-size: 14px;
    line-height: 1.55;
}

.cookie-banner__text a {
    color: #202a58;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__text a:hover,
.cookie-banner__text a:focus-visible {
    color: #d96d04;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 158px;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.cookie-banner__btn:focus-visible {
    outline: 2px solid #fa8714;
    outline-offset: 2px;
}

.cookie-banner__btn--reject {
    background: #ffffff;
    color: #202a58;
    border: 1.5px solid #202a58;
}

.cookie-banner__btn--reject:hover {
    background: #f2f4fa;
}

.cookie-banner__btn--accept {
    background: #202a58;
    color: #ffffff;
    border: 1.5px solid #202a58;
}

.cookie-banner__btn--accept:hover {
    background: #161e42;
    border-color: #161e42;
}

.footer-cookie-settings {
    display: inline-block;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
    color: #fa8714;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        flex: 1 1 50%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .cookie-banner__actions {
        flex-direction: column;
    }

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

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