@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700;800;900&display=swap');

#gp4pc-wrap {
  --blue:   #0ea5e9;
  --blue-d: #0369a1;
  --green:  #10b981;
  --bg:     #050d1a;
  --card:   #0d1f35;
  --card2:  #0f2744;
  --border: rgba(14,165,233,0.2);
  --text:   #cbd5e1;
  --muted:  #64748b;

  font-family: 'Heebo', 'Arial Hebrew', Arial, sans-serif;
  direction: rtl;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 60px;
  color: var(--text);
}

/* ── Step panels ── */
.gp4pc-step-panel {
  animation: gp4pc-up 0.35s ease;
}
@keyframes gp4pc-up {
  from { opacity:0; transform: translateY(12px); }
  to   { opacity:1; transform: translateY(0); }
}

.gp4pc-question-header {
  text-align: center;
  padding: 32px 0 24px;
}
.gp4pc-q-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.gp4pc-q-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.gp4pc-q-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ── Option buttons ── */
.gp4pc-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gp4pc-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  text-align: right;
  direction: rtl;
  transition: all 0.18s ease;
}
.gp4pc-opt:hover:not(:disabled) {
  background: rgba(14,165,233,0.1);
  border-color: var(--blue);
  color: #fff;
  transform: translateX(-4px);
}
.gp4pc-opt.selected {
  background: var(--blue-d);
  border-color: var(--blue);
  color: #fff;
}
.gp4pc-opt:disabled {
  cursor: default;
  opacity: 0.5;
}
.gp4pc-opt-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ── Loading ── */
#gp4pc-loading {
  text-align: center;
  padding: 60px 20px;
}
.gp4pc-loading-inner p {
  color: var(--muted);
  margin-top: 20px;
  font-size: 0.95rem;
}
.gp4pc-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(14,165,233,0.2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: gp4pc-spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes gp4pc-spin { to { transform: rotate(360deg); } }

/* ── Results ── */
#gp4pc-results {
  animation: gp4pc-up 0.4s ease;
}
.gp4pc-results-header {
  text-align: center;
  padding: 32px 0 24px;
}
.gp4pc-results-header h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 6px;
}
.gp4pc-results-header p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}
.gp4pc-results-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Spec table ── */
.gp4pc-spec-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  animation: gp4pc-up 0.4s ease both;
}

.gp4pc-spec-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.gp4pc-spec-row:last-child {
  border-bottom: none;
}
.gp4pc-spec-row:hover {
  background: rgba(14,165,233,0.05);
}

.gp4pc-spec-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  min-width: 110px;
  padding-top: 2px;
}

.gp4pc-spec-right {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
  flex: 1;
}

.gp4pc-spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.gp4pc-spec-explain {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Copy button ── */
.gp4pc-copy-section {
  text-align: center;
  margin-top: 16px;
}

.gp4pc-copy-btn {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(14,165,233,0.1);
  border: 1px solid var(--blue);
  border-radius: 12px;
  color: var(--blue);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  direction: rtl;
}
.gp4pc-copy-btn:hover {
  background: rgba(14,165,233,0.2);
  color: #fff;
}

/* ── Store buttons ── */
.gp4pc-stores-section {
  margin-top: 20px;
  animation: gp4pc-up 0.5s ease both;
  animation-delay: 0.15s;
}

.gp4pc-stores-title {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 12px;
  text-align: center;
}

.gp4pc-store-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gp4pc-store-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--blue);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}
.gp4pc-store-btn:hover {
  background: rgba(14,165,233,0.12);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14,165,233,0.2);
}

/* ── Restart button ── */
.gp4pc-restart-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s;
}
.gp4pc-restart-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

@media (max-width: 480px) {
  .gp4pc-q-title { font-size: 1.1rem; }
  .gp4pc-opt     { font-size: 0.9rem; padding: 12px 14px; }
}
