.analytics-consent {
    box-sizing: border-box;
    position: fixed;
    z-index: 1200;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(760px, calc(100vw - 40px));
    padding: 20px 22px;
    border: 1px solid rgba(14, 36, 68, .14);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(11, 28, 54, .2);
    color: #17243b;
}

.analytics-consent.position-bottom-right { right: 20px; bottom: 20px; }
.analytics-consent.position-bottom-left { left: 20px; bottom: 20px; }
.analytics-consent.position-top-right { top: 20px; right: 20px; }
.analytics-consent.position-top-left { top: 20px; left: 20px; }

.analytics-consent[hidden] {
    display: none;
}

.analytics-consent strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.analytics-consent p {
    margin: 0;
    color: #566176;
    font-size: 13px;
    line-height: 1.55;
}

.analytics-consent p a {
    color: #123b72;
    font-weight: 700;
    text-decoration: underline;
}

.analytics-consent-actions {
    display: flex;
    flex-shrink: 0;
    flex-direction: column-reverse;
    gap: 8px;
}

.analytics-consent-actions button,
.sf-cookie-settings {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #163f78;
    border-radius: 8px;
    background: #163f78;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.analytics-consent-actions .analytics-consent-reject {
    border-color: #cbd2dc;
    background: #fff;
    color: #243248;
}

.sf-cookie-settings {
    min-height: auto;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-align: left;
    text-decoration: underline;
}

@media (max-width: 700px) {
    .analytics-consent {
        left: 10px;
        right: 10px;
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        width: auto;
        padding: 16px;
    }

    .analytics-consent.position-bottom-right,
    .analytics-consent.position-bottom-left { bottom: 10px; }
    .analytics-consent.position-top-right,
    .analytics-consent.position-top-left { top: 10px; }

    .analytics-consent-actions {
        flex-direction: row;
    }

    .analytics-consent-actions button {
        flex: 1;
    }
}
