.ga4-consent-panel {
    position: fixed;
    z-index: 10000;
    inset-inline: 1rem;
    inset-block-end: 1rem;
    box-sizing: border-box;
    max-inline-size: 34rem;
    margin-inline: auto;
    padding: 1rem;
    background: #fff;
    color: #14201a;
    border: 1px solid #7e8a84;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.75rem rgb(0 0 0 / 17%);
    text-align: start;
}

.ga4-consent-panel[hidden] {
    display: none !important;
}

.ga4-consent-panel .ga4-consent-description {
    color: inherit;
    margin: 0 0 0.75rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ga4-consent-panel .ga4-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ga4-consent-panel .ga4-consent-button {
    min-block-size: 2.75rem;
    min-inline-size: 5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #253e32;
    border-radius: 0.35rem;
    background: #fff;
    color: #14201a;
    font: inherit;
    cursor: pointer;
    white-space: normal;
}

.ga4-consent-panel .ga4-consent-button:hover {
    background: #f0f5f2;
}

.ga4-consent-panel .ga4-consent-button:focus-visible,
.ga4-consent-preferences:focus-visible {
    outline: 3px solid #2c71bf;
    outline-offset: 2px;
}

.ga4-consent-preferences {
    border: 0;
    padding: 0.25rem;
    background: transparent;
    color: inherit;
    text-decoration: underline;
    font: inherit;
    cursor: pointer;
}
