.nvs-cookie-banner,
.nvs-cookie-modal {
  font-family: "Raleway", Arial, Helvetica, sans-serif;
}

.nvs-cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2147483000;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

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

.nvs-cookie-banner h2,
.nvs-cookie-modal h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.nvs-cookie-banner p,
.nvs-cookie-modal p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
}

.nvs-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.nvs-cookie-btn {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #f5c400;
  border-radius: 4px;
  background: #f5c400;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

.nvs-cookie-btn.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .48);
}

.nvs-cookie-btn.link {
  background: transparent;
  color: #f5c400;
  border-color: transparent;
  text-decoration: underline;
}

.nvs-cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  background: rgba(0, 0, 0, .58);
}

.nvs-cookie-modal-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2147483002;
  width: min(92vw, 680px);
  max-height: 86vh;
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 22px;
  background: #fff;
  color: #222;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .38);
}

.nvs-cookie-category {
  padding: 14px 0;
  border-top: 1px solid #e4e4e4;
}

.nvs-cookie-category label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.nvs-cookie-category input {
  margin-top: 3px;
}

.nvs-cookie-category span {
  display: block;
  margin-top: 4px;
  color: #555;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.nvs-cookie-link {
  color: inherit;
  text-decoration: underline;
}

.nvs-consent-placeholder {
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 22px;
  background: #f4f4f4;
  border: 1px solid #ddd;
  color: #222;
  text-align: center;
}

.nvs-consent-placeholder[hidden] {
  display: none !important;
}

.nvs-consent-placeholder p {
  max-width: 520px;
  margin: 0 0 12px;
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .nvs-cookie-banner {
    right: 0;
    bottom: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 6px 6px 0 0;
  }

  .nvs-cookie-actions {
    flex-direction: column;
  }

  .nvs-cookie-btn {
    width: 100%;
  }
}
