:root {
--vno-consent-forest-900: #102b25;
--vno-consent-forest-800: #173e35;
--vno-consent-forest-700: #24584c;
--vno-consent-muted: #62706c;
--vno-consent-line: #dce4e1;
--vno-consent-cream: #f7f5ee;
}
.vno-consent-banner,
.vno-consent-banner * {
box-sizing: border-box;
}
.vno-consent-banner[hidden] {
display: none !important;
}
.vno-consent-banner {
position: fixed;
z-index: 2147483000;
right: 0;
bottom: 0;
left: 0;
padding: 12px;
padding-bottom: calc(12px + env(safe-area-inset-bottom));
color: var(--vno-consent-forest-900);
background: rgba(18, 34, 31, .55);
opacity: 0;
transform: translateY(12px);
backdrop-filter: blur(4px);
transition: opacity .2s ease, transform .2s ease;
font-family: inherit;
}
.vno-consent-banner.is-visible {
opacity: 1;
transform: translateY(0);
}
.vno-consent-panel {
width: min(100%, 1040px);
margin: 0 auto;
padding: 20px;
border: 1px solid rgba(255, 255, 255, .4);
border-radius: 18px;
background: #fff;
box-shadow: 0 18px 50px rgba(16, 43, 37, .25);
}
.vno-consent-copy h2 {
margin: 0 0 8px;
color: var(--vno-consent-forest-900);
font-size: 1.15rem;
line-height: 1.25;
}
.vno-consent-copy p {
margin: 0;
color: var(--vno-consent-muted);
font-size: .78rem;
line-height: 1.55;
}
.vno-consent-copy .vno-consent-note {
margin-top: 5px;
font-size: .68rem;
}
.vno-consent-privacy-link {
color: var(--vno-consent-forest-700);
text-decoration: underline;
}
.vno-consent-preferences {
display: grid;
gap: 8px;
margin-top: 14px;
}
.vno-consent-preferences[hidden],
.vno-consent-actions[hidden] {
display: none !important;
}
.vno-consent-preference {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 11px 12px;
border: 1px solid var(--vno-consent-line);
border-radius: 12px;
background: var(--vno-consent-cream);
}
.vno-consent-preference span {
display: grid;
gap: 3px;
}
.vno-consent-preference strong {
color: var(--vno-consent-forest-900);
font-size: .78rem;
}
.vno-consent-preference small {
color: var(--vno-consent-muted);
font-size: .67rem;
line-height: 1.4;
}
.vno-consent-preference b {
flex: 0 0 auto;
color: var(--vno-consent-forest-700);
font-size: .7rem;
text-transform: uppercase;
}
.vno-consent-preference-toggle {
cursor: pointer;
}
.vno-consent-preference-toggle input {
flex: 0 0 auto;
width: 22px;
height: 22px;
accent-color: var(--vno-consent-forest-800);
cursor: pointer;
}
.vno-consent-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: 16px;
}
.vno-consent-actions button {
min-height: 48px;
padding: 10px 14px;
border: 2px solid var(--vno-consent-forest-800);
border-radius: 12px;
color: var(--vno-consent-forest-900);
background: #fff;
font: inherit;
font-size: .82rem;
font-weight: 800;
cursor: pointer;
}
.vno-consent-actions button:hover,
.vno-consent-actions button:focus-visible {
background: var(--vno-consent-cream);
}
.vno-consent-actions button:focus-visible,
.vno-consent-copy h2:focus-visible {
outline: 3px solid rgba(36, 88, 76, .3);
outline-offset: 2px;
}
.vno-privacy-settings-link {
min-height: 44px;
padding: 0;
border: 0;
color: inherit;
background: transparent;
font: inherit;
text-decoration: underline;
cursor: pointer;
}
@media (min-width: 768px) {
.vno-consent-banner {
right: auto;
bottom: 12px;
width: min(480px, 100%);
background: transparent;
backdrop-filter: none;
}
.vno-consent-panel {
display: block;
width: 100%;
margin: 0;
padding: 22px 24px;
}
}
@media (prefers-reduced-motion: reduce) {
.vno-consent-banner {
transition: none;
}
}