/* Cookie consent — JH Automations */
.jh-cc-root {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 100000;
  max-width: 520px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #f5f5f5;
}

.jh-cc-panel {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px 20px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.jh-cc-title {
  font-size: 16px;
  font-weight: 650;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.jh-cc-text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.78);
  margin: 0 0 16px;
}

.jh-cc-text a {
  color: #8fb3ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jh-cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jh-cc-btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  line-height: 1.2;
}

.jh-cc-btn-accept {
  background: #fafafa;
  color: #0a0a0b;
}

.jh-cc-btn-accept:hover {
  background: #fff;
}

.jh-cc-btn-reject {
  background: transparent;
  color: rgba(245, 245, 245, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.jh-cc-btn-reject:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.jh-cc-btn-manage {
  background: transparent;
  color: rgba(245, 245, 245, 0.7);
  border: 0;
  padding-left: 4px;
  padding-right: 4px;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.jh-cc-hidden {
  display: none !important;
}

@media (max-width: 560px) {
  .jh-cc-root {
    inset: auto 10px 10px 10px;
    max-width: none;
  }

  .jh-cc-actions {
    flex-direction: column;
  }

  .jh-cc-btn {
    width: 100%;
    text-align: center;
  }
}
