.vali-consent,
.vali-consent-manage {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.vali-consent {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  width: min(540px, calc(100vw - 32px));
  padding: 18px;
  color: #1a2430;
  background: #fff;
  border: 1px solid #b9c7cf;
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .22);
  font-size: 14px;
  line-height: 1.45;
}

.vali-consent.is-visible { display: block; }
.vali-consent__title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.vali-consent p { margin: 0 0 12px; }
.vali-consent a { color: #145577; text-decoration: underline; }
.vali-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vali-consent button,
.vali-consent-manage {
  cursor: pointer;
  border: 1px solid #315e75;
  border-radius: 5px;
  padding: 9px 12px;
  background: #fff;
  color: #143d52;
  font-size: 14px;
  line-height: 1.2;
}

.vali-consent__actions #vali-consent-reject,
.vali-consent__actions #vali-consent-accept {
  flex: 1 1 150px;
  border-color: #173e52;
  background: #173e52;
  color: #fff;
  font-weight: 700;
}

.vali-consent__actions #vali-consent-customize { flex: 1 1 150px; }
.vali-consent__settings { margin-top: 12px; border-top: 1px solid #d5dfe4; padding-top: 12px; }
.vali-consent__settings[hidden] { display: none; }
.vali-consent__settings label { display: block; margin-bottom: 10px; }
.vali-consent__settings input { margin-right: 6px; }
.vali-consent-manage {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 2147482999;
  padding: 6px 8px;
  background: #fff;
  font-size: 12px;
}

@media (max-width: 640px) {
  .vali-consent { right: 8px; bottom: 48px; width: calc(100vw - 16px); max-height: 75vh; overflow-y: auto; }
  .vali-consent__actions button { width: 100%; }
}
