.tintly-consent-lock {
  overflow: hidden;
}

.tintly-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 14, 10, 0.42);
  backdrop-filter: blur(6px);
}

.tintly-consent-panel {
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  background: #fffaf2;
  color: #211811;
  box-shadow: 0 22px 70px rgba(18, 14, 10, 0.26);
}

.tintly-consent-inner {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.tintly-consent-kicker {
  margin: 0;
  color: #8b5d12;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tintly-consent-title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  line-height: 1.15;
}

.tintly-consent-copy {
  margin: 0;
  color: rgba(33, 24, 17, 0.78);
  line-height: 1.55;
}

.tintly-consent-options {
  display: grid;
  gap: 10px;
}

.tintly-consent-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(33, 24, 17, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.tintly-consent-option strong {
  display: block;
  margin-bottom: 3px;
}

.tintly-consent-option span {
  color: rgba(33, 24, 17, 0.68);
  font-size: 0.92rem;
  line-height: 1.35;
}

.tintly-consent-switch {
  width: 44px;
  height: 24px;
  accent-color: #2f6b4e;
}

.tintly-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.tintly-consent-btn {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(33, 24, 17, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #211811;
  cursor: pointer;
  font-weight: 800;
}

.tintly-consent-btn:hover {
  border-color: rgba(33, 24, 17, 0.34);
}

.tintly-consent-btn.primary {
  border-color: #2f6b4e;
  background: #2f6b4e;
  color: #fff;
}

.tintly-cookie-settings-button {
  position: fixed;
  left: 12px;
  bottom: 8px;
  z-index: 9990;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(33, 24, 17, 0.58);
  box-shadow: none;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tintly-cookie-settings-button:hover {
  color: #211811;
}

@media (max-width: 620px) {
  .tintly-consent-backdrop {
    padding: 12px;
  }

  .tintly-consent-inner {
    padding: 18px;
  }

  .tintly-consent-option {
    grid-template-columns: 1fr auto;
  }

  .tintly-consent-option input[type="checkbox"] {
    grid-row: 1 / span 2;
  }

  .tintly-consent-actions {
    display: grid;
  }
}
