/* Freelance Reviews Hub — Frontend Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --rbo-green: #1dbf73;
  --rbo-dark-green: #14a800;
  --rbo-ink: #0a1a10;
  --rbo-muted: #4d7a5e;
  --rbo-surface: #f0fdf4;
  --rbo-border: #bbf7d0;
  --rbo-card: #ffffff;
  --rbo-navy: #081510;
  --rbo-radius: 12px;
}

/* ── Base ─────────────────────────────────────────── */
.rbo-order-wrapper, .rbo-dashboard, .rbo-auth-gate {
  font-family: 'Poppins', sans-serif;
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  color: var(--rbo-ink);
}

/* ── Buttons ──────────────────────────────────────── */
.rbo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: 8px; font-family: 'Poppins',sans-serif;
  font-size: 0.88rem; font-weight: 700; cursor: pointer; border: 2px solid transparent;
  transition: all 0.22s; text-decoration: none; white-space: nowrap;
}
.rbo-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.rbo-btn-primary  { background: var(--rbo-green); color: #fff; border-color: var(--rbo-green); }
.rbo-btn-primary:hover  { background: var(--rbo-ink); border-color: var(--rbo-ink); transform: translateY(-1px); }
.rbo-btn-success  { background: #166534; color: #fff; border-color: #166534; }
.rbo-btn-success:hover  { background: #14532d; transform: translateY(-1px); }
.rbo-btn-ghost    { background: transparent; color: var(--rbo-muted); border-color: var(--rbo-border); }
.rbo-btn-ghost:hover    { border-color: var(--rbo-muted); color: var(--rbo-ink); }
.rbo-btn-block    { width: 100%; }
.rbo-btn-xl       { padding: 15px 28px; font-size: 1rem; border-radius: 10px; }

/* ── Inputs ───────────────────────────────────────── */
.rbo-input, .rbo-select, .rbo-textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid var(--rbo-border); font-family: 'Poppins',sans-serif;
  font-size: 0.9rem; color: var(--rbo-ink); background: #fff;
  transition: border-color 0.2s; outline: none; box-sizing: border-box;
  margin-bottom: 12px; display: block;
}
.rbo-input:focus, .rbo-select:focus, .rbo-textarea:focus { border-color: var(--rbo-green); box-shadow: 0 0 0 3px rgba(29,191,115,0.12); }
.rbo-label { font-size: 0.82rem; font-weight: 600; color: var(--rbo-ink); display: block; margin-bottom: 5px; }
.rbo-hint   { font-weight: 400; color: var(--rbo-muted); font-size: 0.78rem; }
.rbo-required { color: #dc2626; }

/* ── Messages ─────────────────────────────────────── */
.rbo-msg { display: none; padding: 10px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 500; margin-bottom: 10px; }
.rbo-msg.success { display: block; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.rbo-msg.error   { display: block; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.rbo-info-banner { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 12px 16px; border-radius: 8px; font-size: 0.85rem; }
.rbo-success-banner { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; padding: 12px 16px; border-radius: 8px; font-size: 0.85rem; }

/* ── Auth gate ────────────────────────────────────── */
.rbo-auth-gate { display: flex; justify-content: center; padding: 40px 16px; }
.rbo-auth-card { background: #fff; border: 1px solid var(--rbo-border); border-radius: 16px; padding: 36px 32px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 8px 40px rgba(0,0,0,0.06); }
.rbo-auth-icon { font-size: 2.5rem; margin-bottom: 12px; }
.rbo-auth-card h2 { font-family: 'Montserrat',sans-serif; font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; }
.rbo-auth-card p { color: var(--rbo-muted); font-size: 0.88rem; margin-bottom: 20px; }
.rbo-auth-tabs { display: flex; border: 1.5px solid var(--rbo-border); border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.rbo-auth-tab { flex: 1; padding: 10px; background: none; border: none; font-family: 'Poppins',sans-serif; font-size: 0.85rem; font-weight: 600; cursor: pointer; color: var(--rbo-muted); transition: all 0.2s; }
.rbo-auth-tab.active { background: var(--rbo-green); color: #fff; }
.rbo-auth-form { display: none; text-align: left; }
.rbo-auth-form.active { display: block; }

/* ── Order form ───────────────────────────────────── */
.rbo-order-form-wrap { max-width: 620px; margin: 0 auto; }
.rbo-order-summary-card { background: var(--rbo-navy); border-radius: 16px; padding: 28px; margin-bottom: 24px; position: relative; overflow: hidden; }
.rbo-order-summary-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--rbo-dark-green), var(--rbo-green)); }
.rbo-os-header { margin-bottom: 20px; }
.rbo-os-header h2 { color: #fff; font-family: 'Montserrat',sans-serif; font-size: 1.3rem; font-weight: 800; margin-top: 10px; }
.rbo-os-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.rbo-os-row:last-child { border-bottom: none; }
.rbo-os-total { font-size: 1.05rem; color: #fff; font-weight: 700; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 6px; padding-top: 12px; }
.rbo-os-total strong { color: var(--rbo-green); font-size: 1.3rem; }
.rbo-place-order-section { background: var(--rbo-surface); border: 1px solid var(--rbo-border); border-radius: 12px; padding: 24px; }
.rbo-order-note { font-size: 0.78rem; color: var(--rbo-muted); text-align: center; margin-top: 10px; }
.rbo-order-auth-prompt { background: #fff; border: 1px solid var(--rbo-border); border-radius: 12px; padding: 24px; }
.rbo-order-auth-prompt h3 { font-family: 'Montserrat',sans-serif; font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.rbo-order-auth-prompt p { font-size: 0.85rem; color: var(--rbo-muted); margin-bottom: 16px; }

/* ── Order success / bank card ─────────────────────── */
.rbo-order-success { text-align: center; }
.rbo-success-icon  { font-size: 3rem; margin-bottom: 12px; }
.rbo-order-success h2 { font-family:'Montserrat',sans-serif; font-size:1.6rem; font-weight:900; margin-bottom:6px; }
.rbo-bank-card { background: var(--rbo-navy); border-radius: 12px; padding: 24px; margin: 20px 0; text-align: left; }
.rbo-bank-header { color: var(--rbo-green); font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.rbo-bank-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.rbo-bank-row:last-child { border-bottom: none; }
.rbo-bank-row strong { color: #fff; }
.rbo-bank-amount strong { color: var(--rbo-green); font-size: 1.1rem; }
.rbo-acct-num { font-size: 1.15rem; letter-spacing: 0.08em; }
.rbo-bank-note { font-size: 0.82rem; color: var(--rbo-muted); text-align: center; }

/* ── Dashboard header ─────────────────────────────── */
.rbo-dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.rbo-dash-welcome { display: flex; align-items: center; gap: 14px; }
.rbo-dash-avatar  { width: 48px; height: 48px; background: var(--rbo-green); color: #fff; border-radius: 10px; display: grid; place-items: center; font-family:'Montserrat',sans-serif; font-size: 1.3rem; font-weight: 900; flex-shrink: 0; }
.rbo-dash-welcome h2 { font-family:'Montserrat',sans-serif; font-size: 1.3rem; font-weight: 900; margin-bottom: 2px; }
.rbo-dash-welcome p { font-size: 0.82rem; color: var(--rbo-muted); }

/* ── Dashboard stats ──────────────────────────────── */
.rbo-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.rbo-stat-card { background: var(--rbo-navy); border-radius: 12px; padding: 20px; text-align: center; position: relative; overflow: hidden; }
.rbo-stat-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background: var(--rbo-green); }
.rbo-stat-icon  { font-size: 1.4rem; display: block; margin-bottom: 6px; }
.rbo-stat-num   { font-family:'Montserrat',sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--rbo-green); display: block; line-height: 1; }
.rbo-stat-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-top: 4px; display: block; }

/* ── Order cards ──────────────────────────────────── */
.rbo-section-heading { font-family:'Montserrat',sans-serif; font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; color: var(--rbo-ink); }
.rbo-order-card { background: var(--rbo-card); border: 1px solid var(--rbo-border); border-radius: 14px; margin-bottom: 16px; overflow: hidden; transition: box-shadow 0.2s; }
.rbo-order-card:hover { box-shadow: 0 4px 24px rgba(29,191,115,0.12); }
.rbo-order-card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--rbo-border); background: var(--rbo-surface); }
.rbo-order-ref-block { display: flex; align-items: center; gap: 10px; }
.rbo-order-ref { font-family:'Montserrat',sans-serif; font-weight: 800; font-size: 0.95rem; }
.rbo-order-card-body { padding: 18px 20px; }
.rbo-order-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.rbo-order-meta div span { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rbo-muted); margin-bottom: 3px; }
.rbo-order-meta div strong { font-size: 0.95rem; }
.rbo-order-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ── Platform badge ───────────────────────────────── */
.rbo-platform-badge { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 20px; }
.rbo-platform-badge.fiverr { background: rgba(29,191,115,0.12); color: #0d7a4a; border: 1px solid rgba(29,191,115,0.3); }
.rbo-platform-badge.upwork { background: rgba(20,168,0,0.12); color: #166534; border: 1px solid rgba(20,168,0,0.3); }

/* ── Status pills ─────────────────────────────────── */
.rbo-status-pill { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 20px; }
.rbo-status-pill.pending_payment { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.rbo-status-pill.payment_review  { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.rbo-status-pill.in_progress     { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.rbo-status-pill.completed       { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.rbo-status-pill.cancelled       { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* ── Progress track ───────────────────────────────── */
.rbo-progress-track { display: flex; align-items: flex-start; gap: 0; margin: 14px 0; overflow-x: auto; }
.rbo-progress-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; min-width: 60px; }
.rbo-progress-step:not(:last-child)::after { content:''; position:absolute; top:12px; left:50%; right:-50%; width:100%; height:2px; background: var(--rbo-border); z-index:0; }
.rbo-progress-step.done::after { background: var(--rbo-green); }
.rbo-progress-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--rbo-border); color: var(--rbo-muted); display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; z-index: 1; position: relative; flex-shrink: 0; }
.rbo-progress-step.done   .rbo-progress-dot { background: var(--rbo-green); color: #fff; }
.rbo-progress-step.active .rbo-progress-dot { background: var(--rbo-ink); color: #fff; box-shadow: 0 0 0 3px rgba(29,191,115,0.3); }
.rbo-progress-label { font-size: 0.62rem; text-align: center; color: var(--rbo-muted); margin-top: 5px; max-width: 70px; line-height: 1.3; }
.rbo-progress-step.done .rbo-progress-label, .rbo-progress-step.active .rbo-progress-label { color: var(--rbo-ink); font-weight: 600; }

/* ── Logs ─────────────────────────────────────────── */
.rbo-logs-panel { background: var(--rbo-surface); border-top: 1px solid var(--rbo-border); padding: 16px 20px; }
.rbo-log-entry { padding: 10px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--rbo-border); margin-bottom: 8px; }
.rbo-log-entry:last-child { margin-bottom: 0; }
.rbo-log-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.rbo-log-type-badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: var(--rbo-green); color: #fff; padding: 2px 8px; border-radius: 4px; }
.rbo-log-entry.rbo-log-note .rbo-log-type-badge { background: #6b7280; }
.rbo-log-entry.rbo-log-status_change .rbo-log-type-badge { background: #1e40af; }
.rbo-log-date { font-size: 0.72rem; color: var(--rbo-muted); }
.rbo-log-text { font-size: 0.85rem; color: var(--rbo-ink); line-height: 1.6; }
.rbo-no-logs  { font-size: 0.85rem; color: var(--rbo-muted); text-align: center; padding: 12px; }

/* ── File upload ──────────────────────────────────── */
.rbo-file-drop { border: 2px dashed var(--rbo-border); border-radius: 10px; padding: 28px; text-align: center; cursor: pointer; transition: all 0.2s; margin-bottom: 14px; background: var(--rbo-surface); }
.rbo-file-drop:hover { border-color: var(--rbo-green); background: rgba(29,191,115,0.05); }
.rbo-file-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.rbo-file-drop p { font-size: 0.88rem; font-weight: 600; color: var(--rbo-ink); margin-bottom: 4px; }
.rbo-file-drop small { color: var(--rbo-muted); font-size: 0.78rem; }

/* ── Modal ────────────────────────────────────────── */
.rbo-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.rbo-modal { background: #fff; border-radius: 16px; max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,0.3); }
.rbo-modal-wide { max-width: 720px; }
.rbo-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: #6b7280; z-index: 1; }
.rbo-modal-close:hover { color: #111; }
.rbo-modal-inner { padding: 28px; }
.rbo-modal-inner h3 { font-family:'Montserrat',sans-serif; font-size: 1.2rem; font-weight: 900; margin-bottom: 8px; }
.rbo-modal-inner > p { font-size: 0.88rem; color: var(--rbo-muted); margin-bottom: 18px; }
.rbo-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rbo-radio-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.rbo-radio-label { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; cursor: pointer; padding: 10px 12px; border: 1.5px solid var(--rbo-border); border-radius: 8px; transition: all 0.2s; }
.rbo-radio-label:has(input:checked) { border-color: var(--rbo-green); background: rgba(29,191,115,0.06); }

/* ── Empty state ──────────────────────────────────── */
.rbo-empty-state { text-align: center; padding: 48px 24px; background: var(--rbo-surface); border-radius: 14px; border: 1px dashed var(--rbo-border); }
.rbo-empty-icon  { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.rbo-empty-state h4 { font-family:'Montserrat',sans-serif; font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }
.rbo-empty-state p  { color: var(--rbo-muted); font-size: 0.88rem; margin-bottom: 16px; }

/* ── Error / loading states ───────────────────────── */
.rbo-loading-state { text-align: center; padding: 60px; color: var(--rbo-muted); }
.rbo-spinner { width: 28px; height: 28px; border: 3px solid var(--rbo-border); border-top-color: var(--rbo-green); border-radius: 50%; animation: rbo-spin 0.8s linear infinite; margin: 0 auto 14px; }
@keyframes rbo-spin { to { transform: rotate(360deg); } }
.rbo-error-state { padding: 40px; text-align: center; color: #dc2626; background: #fef2f2; border-radius: 12px; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 600px) {
  .rbo-dash-stats   { grid-template-columns: 1fr 1fr; }
  .rbo-order-meta   { grid-template-columns: 1fr 1fr; }
  .rbo-form-grid    { grid-template-columns: 1fr; }
  .rbo-progress-track { gap: 0; }
  .rbo-modal { border-radius: 12px 12px 0 0; align-self: flex-end; max-height: 85vh; }
  .rbo-modal-overlay { align-items: flex-end; }
}

/* ══════════════════════════════════════════════════════
   ORDER PAGE — 4-STEP FLOW
══════════════════════════════════════════════════════ */
.frh-order { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; font-family: 'Poppins', sans-serif; }

/* Step wrapper */
.frh-step { animation: frhFadeIn 0.35s ease both; }
@keyframes frhFadeIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
.frh-step-header { margin-bottom: 28px; }
.frh-step-badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--rbo-green); color: #fff; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.frh-step-header h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 900; letter-spacing: -.5px; margin-bottom: 8px; }
.frh-step-header p { font-size: .9rem; color: var(--rbo-muted); }

/* Platform choice buttons */
.frh-platform-choice { display: flex; flex-direction: column; gap: 14px; }
.frh-platform-btn { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border: 2px solid var(--rbo-border); border-radius: 14px; cursor: pointer; transition: all .22s; text-align: left; width: 100%; }
.frh-platform-btn:hover { border-color: var(--rbo-green); transform: translateX(4px); box-shadow: 0 6px 24px rgba(29,191,115,.12); }
.frh-pb-icon { font-size: 2rem; flex-shrink: 0; }
.frh-pb-info { flex: 1; }
.frh-pb-info strong { display: block; font-size: 1.1rem; font-weight: 800; font-family: 'Montserrat', sans-serif; color: var(--rbo-ink); margin-bottom: 3px; }
.frh-pb-info span { font-size: .85rem; color: var(--rbo-muted); }
.frh-pb-arrow { font-size: 1.3rem; color: var(--rbo-green); flex-shrink: 0; transition: transform .2s; }
.frh-platform-btn:hover .frh-pb-arrow { transform: translateX(4px); }

/* Process card */
.frh-process-card { background: var(--rbo-surface); border: 1px solid var(--rbo-border); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.frh-process-step { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rbo-border); align-items: flex-start; }
.frh-process-step:last-child { border-bottom: none; padding-bottom: 0; }
.frh-ps-num { width: 28px; height: 28px; border-radius: 50%; background: var(--rbo-green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex-shrink: 0; margin-top: 2px; }
.frh-ps-body strong { display: block; font-size: .9rem; font-weight: 700; color: var(--rbo-ink); margin-bottom: 3px; }
.frh-ps-body p { font-size: .82rem; color: var(--rbo-muted); line-height: 1.55; margin: 0; }

/* Calculator inside order page */
.frh-calc-wrap { background: #0a0a0a; border-radius: 12px; padding: 20px; margin-bottom: 24px; border: 1px solid rgba(29,191,115,.2); }
.frh-calc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.frh-calc-title { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #fff; font-size: 1rem; }
.frh-calc-rate-note { font-size: .75rem; color: rgba(255,255,255,.45); }
.frh-calc-disclaimer { background: rgba(245,166,35,.08); border: 1px solid rgba(245,166,35,.2); border-left: 3px solid #f5a623; border-radius: 0 8px 8px 0; padding: 10px 14px; font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 16px; }
.frh-calc-disclaimer strong { color: rgba(255,255,255,.9); }
.frh-calc-input-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 14px; }
.frh-calc-input-wrap { display: flex; flex: 1; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); border-radius: 9px; overflow: hidden; transition: border-color .2s; }
.frh-calc-input-wrap:focus-within { border-color: var(--rbo-green); }
.frh-calc-symbol { padding: 0 12px; font-size: 1.3rem; font-weight: 700; color: var(--rbo-green); background: rgba(29,191,115,.1); display: flex; align-items: center; }
.frh-calc-input { flex: 1; background: none; border: none; outline: none; color: #fff; font-family: 'Montserrat', sans-serif; font-size: 1.7rem; font-weight: 900; padding: 10px 12px; min-width: 0; letter-spacing: -1px; }
.frh-calc-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.frh-calc-rate-pill { background: rgba(29,191,115,.1); border: 1px solid rgba(29,191,115,.25); border-radius: 8px; padding: 10px 14px; font-size: .72rem; color: rgba(255,255,255,.5); text-align: center; white-space: nowrap; display: flex; align-items: center; }
.frh-calc-empty { text-align: center; padding: 16px; }
.frh-calc-empty p { font-size: .82rem; color: rgba(255,255,255,.35); }
.frh-calc-result { border-top: 1px solid rgba(255,255,255,.07); padding-top: 14px; }
.frh-calc-rows { display: flex; flex-direction: column; gap: 0; }
.frh-calc-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .85rem; color: rgba(255,255,255,.6); }
.frh-calc-row:last-child { border-bottom: none; }
.frh-calc-row strong { font-family: 'Poppins', sans-serif; color: #fff; text-align: right; }
.frh-calc-total-row { background: rgba(29,191,115,.08); border-radius: 8px; padding: 12px 10px; margin-top: 6px; border: 1px solid rgba(29,191,115,.2); }
.frh-calc-total-row span { font-weight: 700; color: rgba(255,255,255,.9); }
#frh-val-total-ngn { color: var(--rbo-green) !important; font-size: 1.2rem !important; }

/* Order summary on step 3 */
.frh-order-summary { background: #0a0a0a; border: 1px solid rgba(29,191,115,.2); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.frh-os-platform { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #fff; font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.frh-os-rows { display: flex; flex-direction: column; gap: 0; }
.frh-os-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .85rem; color: rgba(255,255,255,.55); }
.frh-os-row:last-child { border-bottom: none; }
.frh-os-row strong { color: #fff; }
.frh-os-total { font-weight: 700; color: var(--rbo-green) !important; }
.frh-os-total strong { color: var(--rbo-green) !important; font-size: 1.05rem; }

/* Auth panel */
.frh-auth-panel { background: #fff; border: 1px solid var(--rbo-border); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.frh-auth-tabs { display: flex; gap: 0; border: 1.5px solid var(--rbo-border); border-radius: 9px; overflow: hidden; margin-bottom: 20px; }
.frh-auth-tab { flex: 1; padding: 11px; background: none; border: none; font-family: 'Poppins', sans-serif; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--rbo-muted); transition: all .2s; }
.frh-auth-tab.active { background: var(--rbo-green); color: #fff; }
.frh-auth-form { display: none; }
.frh-auth-form.active { display: block; }
.frh-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.frh-field { margin-bottom: 14px; }
.frh-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--rbo-ink); margin-bottom: 5px; }
.frh-field-hint { font-size: .75rem; color: var(--rbo-muted); margin-top: 5px; line-height: 1.5; }
.frh-hint { font-weight: 400; color: var(--rbo-muted); font-size: .78rem; }
.frh-req { color: #dc2626; }
.frh-input, .frh-select, .frh-textarea {
  width: 100%; padding: 11px 13px; border-radius: 8px; border: 1.5px solid var(--rbo-border);
  font-family: 'Poppins', sans-serif; font-size: .88rem; color: var(--rbo-ink);
  background: #fff; outline: none; transition: border-color .2s; box-sizing: border-box; display: block;
}
.frh-input:focus, .frh-select:focus, .frh-textarea:focus { border-color: var(--rbo-green); box-shadow: 0 0 0 3px rgba(29,191,115,.1); }
.frh-textarea { resize: vertical; line-height: 1.6; }

/* Logged-in banner */
.frh-logged-in-order { margin-bottom: 20px; }
.frh-logged-banner { background: var(--rbo-surface); border: 1px solid var(--rbo-border); border-radius: 8px; padding: 12px 16px; font-size: .88rem; color: var(--rbo-ink); margin-bottom: 14px; }

/* Payment section */
.frh-payment-section { background: #fff; border: 1px solid var(--rbo-border); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.frh-payment-ref { background: #0a0a0a; border-radius: 10px; padding: 18px 20px; margin-bottom: 18px; text-align: center; border: 1px solid rgba(29,191,115,.2); }
.frh-payment-ref span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.frh-ref-code { display: block; font-family: 'Montserrat', sans-serif; font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 900; color: var(--rbo-green); letter-spacing: .08em; }
.frh-payment-ref small { display: block; font-size: .72rem; color: rgba(255,255,255,.35); margin-top: 6px; }
.frh-bank-card { background: #0a0a0a; border-radius: 10px; padding: 18px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.08); }
.frh-bank-card-header { font-size: .8rem; font-weight: 700; color: var(--rbo-green); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.frh-bank-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .88rem; color: rgba(255,255,255,.6); gap: 8px; }
.frh-bank-row:last-child { border-bottom: none; }
.frh-bank-row strong { color: #fff; }
.frh-bank-total strong { color: var(--rbo-green); font-size: 1.05rem; }
.frh-acct-num { font-size: 1.15rem; letter-spacing: .08em; }
.frh-copy-btn { background: rgba(29,191,115,.15); border: 1px solid rgba(29,191,115,.3); color: var(--rbo-green); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 5px; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.frh-copy-btn:hover { background: var(--rbo-green); color: #fff; }
.frh-instructions-box { background: var(--rbo-surface); border: 1px solid var(--rbo-border); border-left: 3px solid var(--rbo-green); border-radius: 0 8px 8px 0; padding: 14px 16px; font-size: .85rem; color: var(--rbo-ink); line-height: 1.7; margin-bottom: 18px; }

/* Receipt upload in payment section */
.frh-receipt-upload { margin-top: 20px; }
.frh-receipt-upload h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .95rem; margin-bottom: 5px; }
.frh-receipt-upload > p { font-size: .82rem; color: var(--rbo-muted); margin-bottom: 12px; }
.frh-file-drop { border: 2px dashed var(--rbo-border); border-radius: 10px; padding: 24px; text-align: center; cursor: pointer; transition: all .2s; background: var(--rbo-surface); margin-bottom: 12px; }
.frh-file-drop:hover { border-color: var(--rbo-green); background: rgba(29,191,115,.04); }
.frh-file-icon { font-size: 1.8rem; display: block; margin-bottom: 7px; }
.frh-file-drop p { font-size: .88rem; font-weight: 600; margin-bottom: 3px; }
.frh-file-drop small { color: var(--rbo-muted); font-size: .76rem; }

/* Step 4 */
.frh-order-ref-display { background: var(--rbo-surface); border: 1px solid var(--rbo-border); border-radius: 8px; padding: 10px 16px; margin-bottom: 20px; font-size: .85rem; color: var(--rbo-muted); }
.frh-order-ref-display strong { color: var(--rbo-ink); font-family: 'Montserrat', sans-serif; font-size: 1rem; }

/* Buttons */
.frh-btn { display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;border-radius:8px;font-family:'Poppins',sans-serif;font-size:.88rem;font-weight:700;cursor:pointer;border:2px solid transparent;transition:all .22s;white-space:nowrap; }
.frh-btn:disabled { opacity:.55; cursor:not-allowed; }
.frh-btn-primary { background:var(--rbo-green);color:#fff;border-color:var(--rbo-green); }
.frh-btn-primary:hover { background:#15803d;border-color:#15803d;transform:translateY(-1px); }
.frh-btn-outline { background:transparent;color:var(--rbo-muted);border-color:var(--rbo-border); }
.frh-btn-outline:hover { border-color:var(--rbo-ink);color:var(--rbo-ink); }
.frh-btn-block { width:100%; }
.frh-btn-xl { padding:14px 26px;font-size:.95rem; }
.frh-step-actions { display:flex;gap:10px;margin-top:24px;flex-wrap:wrap; }

/* Messages */
.frh-msg { display:none;padding:10px 14px;border-radius:8px;font-size:.85rem;font-weight:500;margin-bottom:12px; }
.frh-msg.success { display:block;background:#f0fdf4;color:#166534;border:1px solid #bbf7d0; }
.frh-msg.error   { display:block;background:#fef2f2;color:#dc2626;border:1px solid #fecaca; }

/* Success step */
.frh-success-wrap { text-align:center;padding:40px 20px; }
.frh-success-icon { font-size:3.5rem;margin-bottom:14px;display:block; }
.frh-success-wrap h2 { font-family:'Montserrat',sans-serif;font-size:1.8rem;font-weight:900;margin-bottom:8px; }
.frh-success-wrap p { color:var(--rbo-muted);margin-bottom:20px;font-size:.92rem;line-height:1.7; }
.frh-success-ref { background:var(--rbo-surface);border:1px solid var(--rbo-border);border-radius:8px;padding:12px 20px;font-size:.9rem;color:var(--rbo-muted);display:inline-block; }
.frh-success-ref strong { color:var(--rbo-ink);font-size:1.1rem;font-family:'Montserrat',sans-serif; }

@media(max-width:600px) {
  .frh-field-grid { grid-template-columns: 1fr; }
  .frh-step-actions { flex-direction:column; }
  .frh-btn { width:100%; }
}

/* ── Buy Review simple page ──────────────────────────── */
.frh-buy { max-width: 600px; margin: 0 auto; padding: 32px 16px 64px; font-family: 'Poppins', sans-serif; }
.frh-buy-header { text-align: center; margin-bottom: 24px; }
.frh-buy-header h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.5rem,4vw,2.2rem); font-weight: 900; letter-spacing: -.5px; margin-bottom: 6px; }
.frh-buy-header p { color: var(--rbo-muted); font-size: .9rem; }
.frh-buy-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.frh-buy-tab { flex: 1; padding: 12px; border: 1.5px solid var(--rbo-border); border-radius: 9px; background: #fff; font-family: 'Poppins', sans-serif; font-size: .9rem; font-weight: 700; cursor: pointer; color: var(--rbo-muted); transition: all .2s; }
.frh-buy-tab.active { border-color: var(--rbo-green); background: var(--rbo-surface); color: var(--rbo-ink); }

/* ── Dashboard nav buttons ───────────────────────────── */
.rbo-logout-btn { font-size: .82rem !important; }
.rbo-dash-nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 24px; }
.rbo-nav-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; background: #fff; border: 1.5px solid var(--rbo-border); border-radius: 12px; text-decoration: none; color: var(--rbo-ink); font-size: .82rem; font-weight: 600; transition: all .2s; text-align: center; }
.rbo-nav-btn:hover { border-color: var(--rbo-green); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(29,191,115,.12); }
.rbo-nav-icon { font-size: 1.5rem; }
.rbo-nav-testimonial { background: linear-gradient(135deg, #fffbeb, #fff); border-color: #fde68a; }
.rbo-nav-testimonial:hover { border-color: #f5a623; }
@media(max-width:600px){ .rbo-dash-nav { grid-template-columns: 1fr 1fr; } }

/* ── Testimonial page ────────────────────────────────── */
.frh-test { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; font-family: 'Poppins', sans-serif; }
.frh-test-header { text-align: center; margin-bottom: 28px; }
.frh-test-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fffbeb; color: #b45309; border: 1px solid #fde68a; padding: 5px 14px; border-radius: 20px; margin-bottom: 12px; }
.frh-test-header h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 900; letter-spacing: -.5px; margin-bottom: 8px; }
.frh-test-header p { color: var(--rbo-muted); font-size: .92rem; }
.frh-test-steps { background: var(--rbo-surface); border: 1px solid var(--rbo-border); border-radius: 14px; padding: 22px 24px; margin-bottom: 28px; }
.frh-test-steps h3 { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 800; margin-bottom: 12px; }
.frh-test-steps ol { margin: 0 0 12px; padding-left: 20px; }
.frh-test-steps li { font-size: .88rem; color: var(--rbo-ink); line-height: 1.9; }
.frh-test-note { font-size: .82rem; color: var(--rbo-muted); background: #fff; border-radius: 8px; padding: 12px 14px; line-height: 1.6; }
.frh-test-section { margin-bottom: 24px; }
.frh-test-section h3 { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 800; margin-bottom: 12px; }
.frh-test-hint { font-weight: 400; font-size: .82rem; color: var(--rbo-muted); }
.frh-test-empty { color: var(--rbo-muted); font-size: .88rem; padding: 20px; background: var(--rbo-surface); border-radius: 10px; text-align: center; }
.frh-company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.frh-company-card { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border: 1.5px solid var(--rbo-border); border-radius: 12px; cursor: pointer; transition: all .2s; position: relative; background: #fff; }
.frh-company-card:hover { border-color: var(--rbo-green); }
.frh-company-card.selected { border-color: var(--rbo-green); background: var(--rbo-surface); }
.frh-company-check { position: absolute; opacity: 0; }
.frh-company-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.frh-company-info strong { font-size: .92rem; color: var(--rbo-ink); }
.frh-company-ceo { font-size: .8rem; color: var(--rbo-muted); }
.frh-company-meta { font-size: .72rem; color: var(--rbo-muted); }
.frh-company-tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rbo-border); display: grid; place-items: center; font-size: .72rem; color: #fff; flex-shrink: 0; transition: all .2s; }
.frh-company-card.selected .frh-company-tick { background: var(--rbo-green); border-color: var(--rbo-green); }
.frh-test-summary { background: #0a0a0a; border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
.frh-test-summary-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .88rem; color: rgba(255,255,255,.6); }
.frh-test-summary-row:last-child { border-bottom: none; }
.frh-test-summary-row strong { color: #fff; }
.frh-test-total strong { color: var(--rbo-green); font-size: 1.2rem; }
.frh-test-gate { text-align: center; padding: 30px; background: var(--rbo-surface); border-radius: 12px; }
.frh-test-gate a { color: var(--rbo-green); font-weight: 700; }
.frh-test-success { text-align: center; padding: 40px 20px; }
.frh-test-success h2 { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; }
.frh-test-success p { color: var(--rbo-muted); }
@media(max-width:600px){ .frh-company-grid { grid-template-columns: 1fr; } }
