.cookie-consent {
    position: fixed;
    inset: auto 16px 16px 16px;
    z-index: 100000;
    display: none;
    justify-content: center;
    pointer-events: none;
}

.cookie-consent.is-visible {
    display: flex;
}

.cookie-consent__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(620px, 100%);
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff;
    color: #24344f;
    box-shadow: 0 18px 48px rgba(20, 35, 60, 0.26);
    pointer-events: auto;
}

.cookie-consent__title {
    margin: 0 0 4px;
    color: #274a7a;
    font-size: 1rem;
    line-height: 1.25;
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.35;
}

.cookie-consent__link {
    color: #274a7a;
    font-weight: 700;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;
}

.cookie-consent__button,
.cookie-settings-link {
    border: 1px solid #3b65b1;
    border-radius: 6px;
    background: #fff;
    color: #274a7a;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.cookie-consent__button {
    min-width: 102px;
    padding: 9px 14px;
}

.cookie-consent__button--primary {
    background: #3b65b1;
    color: #fff;
}

.cookie-consent__button--plain {
    background: #fff;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus {
    background: #274a7a;
    color: #fff;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus {
    background: #3b65b1;
    color: #fff;
}

.cookie-settings-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 8px 12px;
}

.footer-link-button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

@media (max-width: 560px) {
    .cookie-consent {
        inset: auto 10px 10px 10px;
    }

    .cookie-consent__panel {
        align-items: stretch;
        gap: 12px;
        flex-direction: column;
        padding: 16px;
    }

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

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