:root {
  --evv-consent-teal: #0F4C5C;
  --evv-consent-emerald: #16A085;
  --evv-consent-coral: #FF6B5E;
  --evv-consent-bg: #F7FAFA;
  --evv-consent-soft: #EAF4F3;
  --evv-consent-text: #14333C;
  --evv-consent-muted: #62767C;
}

.evv-consent-banner[hidden],
.evv-consent-modal[hidden],
.evv-cookie-settings[hidden] { display: none !important; }

.evv-consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100000;
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 76, 92, .16);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(20, 51, 60, .18);
  color: var(--evv-consent-text);
  font-family: Inter, Arial, sans-serif;
}

.evv-consent-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 22px;
}

.evv-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--evv-consent-teal);
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 17px;
}

.evv-consent-copy p {
  margin: 0;
  color: var(--evv-consent-muted);
  font-size: 13px;
  line-height: 1.55;
}

.evv-consent-copy a { color: var(--evv-consent-teal); font-weight: 700; }
.evv-consent-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.evv-consent-btn {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid rgba(15, 76, 92, .22);
  background: #fff;
  color: var(--evv-consent-teal);
  font: 700 13px/1.2 Inter, Arial, sans-serif;
  cursor: pointer;
}
.evv-consent-btn:hover { filter: brightness(.97); }
.evv-consent-btn-primary { border-color: var(--evv-consent-coral); background: var(--evv-consent-coral); color: #fff; }
.evv-consent-btn-secondary { border-color: var(--evv-consent-teal); background: var(--evv-consent-teal); color: #fff; }

.evv-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 51, 60, .58);
  font-family: Inter, Arial, sans-serif;
}
.evv-consent-dialog {
  width: min(100%, 560px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(20, 51, 60, .28);
  color: var(--evv-consent-text);
}
.evv-consent-dialog-head,
.evv-consent-dialog-foot { padding: 18px 20px; }
.evv-consent-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e5eeee; }
.evv-consent-dialog-head h2 { margin: 0 0 4px; color: var(--evv-consent-teal); font: 800 22px/1.2 Manrope, Inter, sans-serif; }
.evv-consent-dialog-head p { margin: 0; color: var(--evv-consent-muted); font-size: 13px; line-height: 1.5; }
.evv-consent-close { border: 0; background: var(--evv-consent-soft); color: var(--evv-consent-teal); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.evv-consent-options { padding: 8px 20px; }
.evv-consent-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #edf2f2; }
.evv-consent-option:last-child { border-bottom: 0; }
.evv-consent-option strong { display: block; margin-bottom: 4px; font-size: 14px; }
.evv-consent-option p { margin: 0; color: var(--evv-consent-muted); font-size: 12.5px; line-height: 1.45; }
.evv-consent-always { color: var(--evv-consent-emerald); font-size: 12px; font-weight: 800; }
.evv-consent-switch { width: 44px; height: 24px; accent-color: var(--evv-consent-emerald); }
.evv-consent-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; background: var(--evv-consent-bg); border-radius: 0 0 18px 18px; }

.evv-cookie-settings {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99990;
  border: 1px solid rgba(15, 76, 92, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--evv-consent-teal);
  box-shadow: 0 8px 24px rgba(20, 51, 60, .12);
  padding: 8px 12px;
  font: 700 11px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}

html.evv-consent-open { overflow: hidden; }

@media (max-width: 760px) {
  .evv-consent-banner { left: 10px; right: 10px; bottom: 10px; border-radius: 14px; }
  .evv-consent-banner-inner { grid-template-columns: 1fr; gap: 15px; padding: 17px; }
  .evv-consent-actions { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .evv-consent-actions .evv-consent-btn-primary { grid-column: 1 / -1; }
  .evv-consent-btn { width: 100%; }
  .evv-consent-dialog { border-radius: 14px; }
  .evv-consent-dialog-foot { flex-direction: column; }
}
