.nv-cookie-banner,
.nv-cookie-modal {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1080;
  width: min(640px, calc(100vw - 32px));
  color: #1f2933;
  background: #ffffff;
  border: 1px solid rgba(31, 41, 51, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.nv-cookie-modal {
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
}

.nv-cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1079;
  background: rgba(0, 0, 0, 0.42);
}

.nv-cookie-inner {
  padding: 20px;
}

.nv-cookie-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.nv-cookie-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
}

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

.nv-cookie-btn {
  flex: 1 1 0;
  min-width: 150px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  background-color: #207443;
  border: 1px solid #207443;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  white-space: normal;
}

.nv-cookie-btn:hover,
.nv-cookie-btn:focus {
  background-color: #124e2a;
  border-color: #124e2a;
  outline: 2px solid #ffaf4b;
  outline-offset: 2px;
}

.nv-cookie-links {
  margin: 12px 0 0;
  font-size: 13px;
  text-align: center;
}

.nv-cookie-links a {
  color: #207443;
  text-decoration: underline;
}

.nv-cookie-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  color: #1f2933;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
}

.nv-cookie-close:hover,
.nv-cookie-close:focus {
  background-color: #f0f0f0;
  border-color: #cccccc;
  outline: 2px solid #ffaf4b;
  outline-offset: 2px;
}

.nv-cookie-banner,
.nv-cookie-modal {
  position: fixed;
}

.nv-cookie-inner {
  position: relative;
}

.nv-cookie-options {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.nv-cookie-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 6px;
}

.nv-cookie-option input {
  margin-top: 4px;
}

.nv-cookie-option strong {
  display: block;
  margin-bottom: 2px;
}

.nv-cookie-option span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.nv-cookie-preferences {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 575.98px) {
  .nv-cookie-banner,
  .nv-cookie-modal {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
  }

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

  .nv-cookie-actions .btn {
    width: 100%;
  }
}
