/* Shared legal UI, using the site's typography and orange accent. */
.consent-form-row { margin-left: 0; margin-right: 0; }
.form-consents {
    border: 0;
    padding: 0;
    margin: 20px 0;
    min-width: 0;
    font-size: 14px;
    line-height: 1.5;
}
.form-consents legend {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}
.form-consents label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 400;
    cursor: pointer;
}
.form-consents input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #f30;
}
.form-consents a { text-decoration: underline; }
#cookie-notice[hidden] { display: none; }
#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2147483647;
    background: #1f1f1f;
    color: #fff;
    padding: 16px max(16px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .25);
    font: 14px/1.5 Arial, sans-serif;
}
.cookie-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
    justify-content: space-between;
}
#cookie-notice .cookie-text { flex: 1 1 600px; margin: 0; color: #fff; }
.cookie-actions { display: flex; gap: 12px; align-items: center; }
#cookie-accept, #cookie-notice a {
    border-radius: 4px;
    padding: 11px 18px;
    font: inherit;
    line-height: 1.4;
    cursor: pointer;
}
#cookie-accept { border: 1px solid #c92b00; background: #c92b00; color: #fff; }
#cookie-accept:hover { background: #aa2400; }
#cookie-notice a { color: #fff; border: 1px solid #999; text-decoration: none; }
#cookie-notice a:hover { text-decoration: underline; }
#cookie-notice :focus-visible, .form-consents input:focus-visible { outline: 3px solid #ffa16e; outline-offset: 3px; }
.legal-document { line-height: 1.7; padding-bottom: 32px; }
.legal-document section { max-width: 900px; margin-bottom: 28px; }
.legal-document h2 { font-size: 25px; line-height: 1.3; margin: 24px 0 14px; }
.legal-document ul { list-style: disc; padding-left: 24px; }
.legal-document a { text-decoration: underline; }
.consent-error { max-width: 680px; margin: 10vh auto; padding: 24px; font: 18px/1.6 Arial, sans-serif; }
.consent-error a { color: #bd2900; }
@media (max-width: 600px) {
    .cookie-actions { width: 100%; }
    .legal-document h2 { font-size: 22px; }
}
