.inreal4u-hide-legacy-cookie-banner .cc-window,
.inreal4u-hide-legacy-cookie-banner .cc-revoke {
  display: none !important;
}

.inreal4u-consent {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  bottom: 22px;
  width: min(560px, calc(100vw - 36px));
  color: #182225;
  font-family: inherit;
  transform: translateX(-50%);
}

.inreal4u-consent__content {
  background: #fff;
  border: 1px solid rgba(42, 93, 71, 0.18);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(22, 42, 34, 0.18);
  padding: 20px 22px;
}

.inreal4u-consent h2 {
  margin: 0 0 8px;
  color: #152429;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 700;
}

.inreal4u-consent p {
  margin: 0 0 12px;
  color: #516265;
  font-size: 14px;
  line-height: 1.5;
}

.inreal4u-consent__privacy {
  display: inline-block;
  margin-bottom: 12px;
  color: #14b85f;
  font-size: 14px;
  text-decoration: underline;
}

.inreal4u-consent__settings {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.inreal4u-consent__settings[hidden] {
  display: none;
}

.inreal4u-consent__toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(42, 93, 71, 0.12);
  cursor: pointer;
}

.inreal4u-consent__toggle strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 1.25;
}

.inreal4u-consent__toggle small {
  display: block;
  color: #657477;
  font-size: 12px;
  line-height: 1.35;
}

.inreal4u-consent__toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.inreal4u-consent__toggle i {
  position: relative;
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cdd9d2;
  transition: background 0.2s ease;
}

.inreal4u-consent__toggle i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(22, 42, 34, 0.28);
  transition: transform 0.2s ease;
}

.inreal4u-consent__toggle input:checked + i {
  background: #17c86b;
}

.inreal4u-consent__toggle input:checked + i::after {
  transform: translateX(18px);
}

.inreal4u-consent__toggle input:disabled + i {
  background: #8ea99a;
}

.inreal4u-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.inreal4u-consent button {
  min-height: 40px;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.inreal4u-consent button:hover {
  transform: translateY(-1px);
}

.inreal4u-consent__primary {
  background: #17c86b;
  color: #fff;
  box-shadow: 0 6px 16px rgba(23, 200, 107, 0.28);
}

.inreal4u-consent__primary:hover {
  background: #12ad5b;
}

.inreal4u-consent__secondary {
  background: #f4f8f5;
  border-color: #d6e4db !important;
  color: #263937;
}

.inreal4u-consent__secondary:hover {
  background: #eaf3ee;
  border-color: #bcd5c7 !important;
}

@media (max-width: 520px) {
  .inreal4u-consent {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    transform: none;
  }

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

  .inreal4u-consent button {
    width: 100%;
  }
}
