/* ── Shifra Grow Form ─────────────────────────────────────── */
#sgf-wrap {
  max-width: 620px;
  margin: 0 auto;
  font-family: 'Heebo', 'Assistant', sans-serif;
  direction: rtl;
  color: #222;
}

/* Progress */
.sgf-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.sgf-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ddd;
  transition: background .3s;
}
.sgf-dot.active { background: #22a5ba; }

/* Steps */
.sgf-step { display: none; }
.sgf-step.active { display: block; }

/* Titles */
.sgf-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
  color: #1a1a2e;
}
.sgf-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 24px;
  font-size: 15px;
}
.sgf-section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 12px;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}

/* Amount buttons */
.sgf-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.sgf-amt-btn {
  padding: 14px 10px;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  transition: all .2s;
  text-align: center;
}
.sgf-amt-btn:hover { border-color: #22a5ba; color: #22a5ba; }
.sgf-amt-btn.selected {
  border-color: #22a5ba;
  background: #22a5ba;
  color: #fff;
}
.sgf-amt-btn.other { grid-column: span 1; }

/* Custom amount */
#sgf-custom-wrap { margin-bottom: 14px; }

/* Tax note */
.sgf-tax-note {
  text-align: center;
  color: #888;
  font-size: 13px;
  margin: 10px 0 20px;
}

/* Amount display */
.sgf-amount-display {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #22a5ba;
  margin-bottom: 20px;
}
.sgf-currency { font-size: 22px; margin-right: 4px; }

/* Fields */
.sgf-field { margin-bottom: 14px; flex: 1; }
.sgf-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; color: #444; }
.sgf-input, .sgf-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color .2s;
  font-family: inherit;
}
.sgf-input:focus, .sgf-select:focus {
  outline: none;
  border-color: #22a5ba;
}
.sgf-input.error { border-color: #e53935; }
.sgf-select-wrap { position: relative; }
.sgf-select { appearance: none; padding-left: 30px; }

.sgf-row { display: flex; gap: 14px; }
.sgf-row .sgf-field { flex: 1; }

/* Radio */
.sgf-radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}

/* Consent */
.sgf-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #666;
  margin: 16px 0;
  cursor: pointer;
}

/* Buttons */
.sgf-btn-primary {
  width: 100%;
  padding: 14px;
  background: #22a5ba;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
  margin-top: 8px;
}
.sgf-btn-primary:hover { background: #1a8fa2; }
.sgf-btn-primary:disabled { background: #aaa; cursor: not-allowed; }

.sgf-btn-back {
  background: none;
  border: none;
  color: #22a5ba;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.sgf-btn-back:hover { text-decoration: underline; }

.sgf-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

/* Error */
.sgf-error-msg {
  color: #e53935;
  font-size: 12px;
  display: block;
  margin-top: 3px;
}

/* Messages */
.sgf-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 12px;
}
.sgf-msg.error { background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; }
.sgf-msg.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }

/* Loading / iframe */
.sgf-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: #555;
  font-size: 15px;
}
.sgf-spinner {
  display: inline-block;
  width: 24px; height: 24px;
  border: 3px solid #ddd;
  border-top-color: #22a5ba;
  border-radius: 50%;
  animation: sgf-spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes sgf-spin { to { transform: rotate(360deg); } }

#sgf-iframe {
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
  border-radius: 10px;
}

/* Success */
.sgf-success {
  text-align: center;
  padding: 40px 20px;
}
.sgf-success-icon {
  font-size: 60px;
  color: #22a5ba;
  margin-bottom: 16px;
}
.sgf-success h2 { font-size: 28px; color: #1a1a2e; margin-bottom: 10px; }
.sgf-success p { color: #666; font-size: 16px; }

/* Mobile */
@media (max-width: 480px) {
  .sgf-amounts { grid-template-columns: repeat(2, 1fr); }
  .sgf-row { flex-direction: column; gap: 0; }
  .sgf-amount-display { font-size: 28px; }
}

.sgf-monthly-label {
  display: block;
  font-size: 14px;
  color: #888;
  font-weight: 400;
  margin-top: -4px;
  text-align: center;
}

.sgf-required { color: #e53935; }
