.wt-cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2100;
  display: none;
  font-family: 'Nunito', sans-serif;
}

.wt-cookie-consent.is-visible {
  display: block;
}

.wt-cookie-consent__panel {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(18, 26, 48, 0.12);
  box-shadow: 0 20px 45px rgba(13, 20, 38, 0.18);
  padding: 14px;
}

.wt-cookie-consent__title {
  margin: 0;
  color: #1d2538;
  font-size: 1rem;
  font-weight: 800;
}

.wt-cookie-consent__text {
  margin: 8px 0 0;
  color: #3a465f;
  font-size: 0.88rem;
  line-height: 1.45;
}

.wt-cookie-consent__text a {
  color: #b2641d;
}

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

.wt-cookie-btn {
  border: 1px solid rgba(178, 100, 29, 0.3);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.wt-cookie-btn--primary {
  background: #ef9e43;
  color: #1d2538;
  border-color: #e18a2a;
}

.wt-cookie-btn--outline {
  background: #ffffff;
  color: #4f2f11;
}

.wt-cookie-btn--ghost {
  background: rgba(241, 154, 47, 0.1);
  color: #5c3b1e;
}

.wt-cookie-consent__prefs {
  margin-top: 12px;
  border-top: 1px solid rgba(18, 26, 48, 0.1);
  padding-top: 12px;
  display: none;
}

.wt-cookie-consent__prefs.is-open {
  display: block;
}

.wt-cookie-consent__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.wt-cookie-consent__row + .wt-cookie-consent__row {
  border-top: 1px dashed rgba(18, 26, 48, 0.12);
}

.wt-cookie-consent__label {
  color: #1d2538;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
}

.wt-cookie-consent__desc {
  color: #5c657b;
  font-size: 0.78rem;
  margin: 4px 0 0;
  line-height: 1.4;
}

.wt-cookie-consent__toggle {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: #ccd5e3;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}

.wt-cookie-consent__toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(17, 23, 36, 0.2);
  transition: transform 0.2s ease;
}

.wt-cookie-consent__toggle[aria-checked="true"] {
  background: #f0a54d;
}

.wt-cookie-consent__toggle[aria-checked="true"]::after {
  transform: translateX(18px);
}

.wt-cookie-consent__toggle[disabled] {
  opacity: 0.7;
  cursor: default;
}

.wt-cookie-manage {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 2050;
  border: 1px solid rgba(178, 100, 29, 0.35);
  border-radius: 999px;
  background: #fff6eb;
  color: #5a3517;
  padding: 6px 11px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: none;
}

.wt-cookie-manage.is-visible {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 640px) {
  .wt-cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .wt-cookie-manage {
    left: auto;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 78px);
  }

  .wt-cookie-consent__panel {
    padding: 12px;
    border-radius: 14px;
  }

  .wt-cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .wt-cookie-consent__row {
    align-items: center;
  }
}
