.analytics-consent {
    position: fixed;
    z-index: 10000;
    right: 18px;
    bottom: 18px;
    left: 18px;
    color: #f7f5ed;
    font-family: Arial, Helvetica, sans-serif;
}

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

.analytics-consent__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    width: min(100%, 1050px);
    margin: 0 auto;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: #173b2c;
    box-shadow: 0 14px 45px rgba(12, 31, 23, 0.32);
}

.analytics-consent strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.analytics-consent p {
    margin: 0;
    color: #dce6df;
    font-size: 14px;
    line-height: 1.55;
}

.analytics-consent a {
    color: #c9e99b;
}

.analytics-consent__actions {
    display: flex;
    gap: 10px;
}

.analytics-consent button,
.analytics-settings {
    border: 1px solid #bad58f;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: 700 13px/1.2 Arial, Helvetica, sans-serif;
}

.analytics-consent button {
    min-height: 44px;
    padding: 11px 15px;
    white-space: nowrap;
}

.analytics-consent .analytics-consent__accept {
    background: #bad58f;
    color: #173b2c;
}

.analytics-settings {
    position: fixed;
    z-index: 9999;
    bottom: 8px;
    left: 8px;
    padding: 7px 9px;
    border-color: #d4ddd7;
    background: rgba(255, 255, 255, 0.94);
    color: #315242;
    font-size: 11px;
    box-shadow: 0 3px 12px rgba(12, 31, 23, 0.12);
}

@media (max-width: 720px) {
    .analytics-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .analytics-consent__inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .analytics-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .analytics-consent button {
        width: 100%;
        white-space: normal;
    }
}
