@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600&family=Jost:wght@300;400;500;600&display=swap');

.biohacking-modal-overlay {
  --bh-bg: #26221c;
  --bh-panel: #1e1914;
  --bh-panel-top: #322b23;
  --bh-gold: #d4b57e;
  --bh-text: #f5f5f5;
  --bh-muted: #a8a49f;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10050;
  box-sizing: border-box;
}

.biohacking-modal-overlay.is-open {
  display: flex;
}

/* Single card shell — shadow only on the outer container */
.biohacking-modal-container {
  font-family: 'Jost', sans-serif;
  background: linear-gradient(145deg, var(--bh-panel-top) 0%, var(--bh-panel) 100%);
  border: none;
  outline: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  padding: 20px 25px 35px;
  color: var(--bh-text);
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.biohacking-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.biohacking-action-btn {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--bh-gold);
  font-size: 28px;
  cursor: pointer;
  opacity: 0.6;
  padding: 0;
  line-height: 1;
  width: 30px;
  height: 30px;
}

.biohacking-action-btn:hover {
  opacity: 1;
}

.biohacking-modal-container h2 {
  font-family: 'Cinzel', serif;
  color: var(--bh-gold);
  text-align: center;
  font-size: 20px;
  letter-spacing: 1.5px;
  margin: 0 0 25px;
  line-height: 1.3;
  border: none;
  box-shadow: none;
  background: transparent;
}

.biohacking-gold {
  color: var(--bh-gold);
}

/* Steps share one panel — no inner boxes */
.biohacking-step {
  display: none;
  animation: bhFadeIn 0.4s ease forwards;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.biohacking-modal-overlay .active {
  box-shadow: none;
}

.biohacking-step.active {
  display: block;
  border: none;
  background: transparent;
}

@keyframes bhFadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Step 1 — plain text, never boxed */
.biohacking-info-list,
.biohacking-info-item,
.biohacking-storno-title,
.biohacking-storno-text,
.biohacking-storno-text p,
.biohacking-storno-text ul,
.biohacking-storno-text li,
#biohackingSelectedPackageLabel {
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.biohacking-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.biohacking-info-item .icon {
  margin-right: 12px;
  width: 22px;
  flex-shrink: 0;
}

.biohacking-info-item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--bh-gold);
  stroke-width: 1.5;
}

.biohacking-storno-title {
  font-family: 'Cinzel', serif;
  color: var(--bh-gold);
  font-size: 15px;
  margin-bottom: 10px;
}

.biohacking-storno-text {
  font-size: 13px;
}

.biohacking-therapy-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

/* Step 2 + 3 — selectable rows only (not body text) */
.biohacking-option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.biohacking-option {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 12px 0;
  cursor: pointer;
}

.biohacking-option.active {
  background: transparent;
  border: none;
  box-shadow: none;
}

.biohacking-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--bh-muted);
  margin-right: 15px;
  flex-shrink: 0;
  position: relative;
  box-shadow: none;
}

.biohacking-option.active .biohacking-radio {
  border-color: var(--bh-gold);
}

.biohacking-option.active .biohacking-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--bh-gold);
  border-radius: 50%;
}

.biohacking-package-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-weight: 600;
  font-size: 14px;
}

.biohacking-package-desc {
  font-size: 12px;
  font-style: italic;
  color: var(--bh-muted);
  margin-top: 4px;
  line-height: 1.35;
}

.biohacking-option.active .biohacking-package-desc {
  color: var(--bh-gold);
}

.biohacking-time-title {
  font-weight: 600;
  font-size: 15px;
}

.biohacking-time-desc {
  font-size: 13px;
  font-style: italic;
  color: var(--bh-gold);
}

.biohacking-btn-primary,
.biohacking-btn-secondary {
  width: 100%;
  padding: 14px 10px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.biohacking-btn-primary {
  background: #fff;
  color: #5a4031;
  border: none;
  margin-top: 25px;
}

.biohacking-btn-primary:hover {
  background: var(--bh-gold);
  color: #fff;
}

.biohacking-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--bh-gold);
  border: none;
}

.biohacking-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.biohacking-slots-loading,
.biohacking-slots-empty {
  text-align: center;
  font-size: 13px;
  color: var(--bh-muted);
  padding: 12px 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

#biohacking-paypal-container {
  min-height: 45px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 8px;
  border: none;
  box-shadow: none;
  background: var(--bh-panel);
}

#biohacking-paypal-error {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

@media (max-width: 480px) {
  .biohacking-modal-overlay {
    padding: 12px;
  }

  .biohacking-modal-container {
    padding: 16px 18px 28px;
    max-height: 92vh;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  }
}
