.nvt-cookie-root {
  position: relative;
  z-index: 2147483000;
  font-family: inherit;
}

.nvt-cookie-banner,
.nvt-cookie-panel {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  color: #172b4d;
  border: 1px solid rgba(23, 43, 77, .14);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 43, 77, .2);
  padding: 18px;
}

.nvt-cookie-banner[hidden],
.nvt-cookie-panel[hidden] {
  display: none;
}

.nvt-cookie-title {
  margin: 0 36px 8px 0;
  font-size: 1rem;
  font-weight: 700;
}

.nvt-cookie-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
}

.nvt-cookie-text a {
  color: #2dce89;
  text-decoration: underline;
}

.nvt-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
}

.nvt-cookie-btn,
.cookie-preferences-link {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nvt-cookie-btn {
  min-height: 40px;
  border-radius: 6px;
  padding: 9px 14px;
  font-weight: 700;
}

.nvt-cookie-btn-primary {
  background: #2dce89;
  color: #fff;
}

.nvt-cookie-btn-secondary {
  background: #172b4d;
  color: #fff;
}

.nvt-cookie-btn-light {
  background: #f6f9fc;
  color: #172b4d;
  border: 1px solid #d8e2ef;
}

.nvt-cookie-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f6f9fc;
  color: #172b4d;
  font-size: 18px;
  line-height: 1;
}

.nvt-cookie-options {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.nvt-cookie-option {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: #f8fbff;
}

.nvt-cookie-option strong {
  display: block;
  margin-bottom: 3px;
}

.nvt-cookie-option span {
  display: block;
  color: #525f7f;
  font-size: .85rem;
  line-height: 1.45;
}

.nvt-cookie-switch {
  width: 20px;
  height: 20px;
  margin: 2px auto 0;
}

.nvt-cookie-form-message {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fff3cd;
  color: #664d03;
  border: 1px solid #ffecb5;
  font-size: .9rem;
}

.cookie-preferences-link {
  display: block;
  padding: .5rem 1rem;
  background: transparent;
  color: inherit;
  text-align: left;
}

@media (max-width: 575.98px) {
  .nvt-cookie-banner,
  .nvt-cookie-panel {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 14px;
  }

  .nvt-cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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