.analyticsConsent {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: end center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.45);
}

.analyticsConsent[hidden] {
    display: none;
}

.analyticsConsent__content {
    box-sizing: border-box;
    width: min(100%, 680px);
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    color: #1f1f1f;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
}

.analyticsConsent__content h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.analyticsConsent__content p {
    margin: 10px 0;
    line-height: 1.45;
}

.analyticsConsent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
}

.analyticsConsent__actions button,
#privacySettings {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #075d35;
    border-radius: 6px;
    background: #ffffff;
    color: #075d35;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

#acceptAnalytics {
    background: #09814A;
    color: #ffffff;
}

.analyticsConsent__actions button:hover,
#privacySettings:hover {
    filter: brightness(0.93);
}

.analyticsConsent__actions button:focus-visible,
#privacySettings:focus-visible,
.analyticsConsent__content a:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

#privacySettings {
    position: fixed;
    z-index: 2;
    right: 12px;
    bottom: 52px;
    min-height: 32px;
    padding: 5px 9px;
    font-size: 0.75rem;
}

@media (max-width: 500px) {
    .analyticsConsent {
        padding: 8px;
    }

    .analyticsConsent__actions {
        justify-content: stretch;
    }

    .analyticsConsent__actions button {
        flex: 1;
    }
}
