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

.nt-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 12px;
}

.nt-cookie__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  padding: 14px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.nt-cookie__text {
  min-width: 0;
}

.nt-cookie__title {
  margin: 0 0 6px 0;
}

.nt-cookie__desc {
  margin: 0;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.35;
}

.nt-cookie__links {
  margin: 8px 0 0 0;
  font-size: 0.95rem;
}

.nt-cookie__links a {
  color: inherit;
  text-decoration: underline;
}

.nt-cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nt-cookie__btn {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nt-cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .nt-cookie__actions {
    justify-content: stretch;
  }
  .nt-cookie__actions .btn {
    width: 100%;
  }
}

.nt-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1090;
}

.nt-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.nt-cookie-modal__card {
  position: relative;
  max-width: 640px;
  margin: 10vh auto 0 auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.nt-cookie-modal__header,
.nt-cookie-modal__footer {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nt-cookie-modal__header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nt-cookie-modal__title {
  margin: 0;
  font-size: 1.15rem;
}

.nt-cookie-modal__close {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}

.nt-cookie-modal__body {
  padding: 12px 16px 6px 16px;
  color: rgba(0, 0, 0, 0.8);
}

.nt-cookie-modal__toggles {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.nt-cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .nt-cookie-modal__card {
    width: calc(100% - 24px);
    margin: 8vh auto 0 auto;
  }
  .nt-cookie-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .nt-cookie-modal__footer .btn {
    width: 100%;
  }
}
