/* JobLiftr app styles. Mobile first. Arial/Helvetica only. */
:root {
  --jl-brand: #f26b1d;
  --jl-brand-dark: #d55a12;
  --jl-ink: #1a1a1a;
  --jl-muted: #6b7280;
  --jl-border: #e5e7eb;
  --jl-bg: #ffffff;
  --jl-soft: #f6f6f4;
  --jl-ok: #1f8a4c;
  --jl-danger: #b42318;
  --jl-warn-bg: #fff7cc;
  --jl-radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--jl-soft); color: var(--jl-ink);
  font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5;
  -webkit-text-size-adjust: 100%; }
a { color: var(--jl-brand-dark); }
h1, h2, h3 { margin: 0 0 10px; line-height: 1.25; }
h1 { font-size: 24px; } h2 { font-size: 19px; } h3 { font-size: 16px; }
p { margin: 0 0 10px; }
.muted { color: var(--jl-muted); font-size: 14px; }
.hidden { display: none !important; }

/* top bar */
.topbar { background: var(--jl-ink); color: #fff; padding: 12px 16px; display: flex;
  align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.topbar a { color: #fff; text-decoration: none; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo span { color: var(--jl-brand); }
.topbar nav a { margin-left: 16px; font-size: 14px; opacity: .85; }

.wrap { max-width: 680px; margin: 0 auto; padding: 16px; }
.card { background: #fff; border: 1px solid var(--jl-border); border-radius: var(--jl-radius);
  padding: 16px; margin-bottom: 14px; }

/* forms */
label { display: block; font-weight: 700; font-size: 14px; margin: 12px 0 4px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=tel], textarea, select {
  width: 100%; padding: 12px; font: inherit; border: 1px solid #cfd3d8; border-radius: 10px; background: #fff; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--jl-brand); border-color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px;
  font: inherit; font-weight: 700; border-radius: 10px; border: 1px solid var(--jl-border);
  background: #fff; color: var(--jl-ink); cursor: pointer; text-decoration: none; min-height: 46px; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary { background: var(--jl-brand); border-color: var(--jl-brand); color: #fff; }
.btn-primary:hover { background: var(--jl-brand-dark); }
.btn-dark { background: var(--jl-ink); border-color: var(--jl-ink); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 12px; min-height: 38px; font-size: 14px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.btn-row .btn { flex: 1 1 0; }

.notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.notice-warn { background: var(--jl-warn-bg); border: 1px solid #e0b800; }
.notice-err { background: #fdecea; border: 1px solid #f5c2bd; color: var(--jl-danger); }
.notice-ok { background: #e8f6ee; border: 1px solid #b7e2c7; color: #145c33; }

/* mic */
.mic { width: 96px; height: 96px; border-radius: 50%; border: none; background: var(--jl-brand); color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer; display: block; margin: 6px auto 8px;
  box-shadow: 0 6px 18px rgba(242,107,29,.35); }
.mic.listening { background: var(--jl-danger); animation: pulse 1.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(180,35,24,.5)} 100%{box-shadow:0 0 0 18px rgba(180,35,24,0)} }
.mic-hint { text-align: center; }

/* photos */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-slot { border: 2px dashed #cfd3d8; border-radius: 10px; aspect-ratio: 1; display: flex;
  flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: pointer;
  background: #fafafa; overflow: hidden; position: relative; font-weight: 700; color: var(--jl-muted); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-slot .tag { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.7); color: #fff;
  padding: 2px 8px; border-radius: 6px; font-size: 12px; z-index: 2; }
.photo-slot input { display: none; }

/* steps / progress */
.spinner { width: 34px; height: 34px; border: 4px solid #eee; border-top-color: var(--jl-brand);
  border-radius: 50%; animation: spin 0.9s linear infinite; margin: 8px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.center { text-align: center; }

/* job list */
.job-item { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.job-thumb { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #eee; flex: none; }
.job-meta { flex: 1; min-width: 0; }
.job-meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #eee; }
.pill-ok { background: #e8f6ee; color: #145c33; }

/* platform cards */
.pcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pcard-head h3 { margin: 0; }
.pcard img.preview { width: 100%; border-radius: 8px; background: #eee; display: block; margin-bottom: 10px; }
.pcard .caption { white-space: pre-wrap; background: var(--jl-soft); border-radius: 8px; padding: 12px;
  font-size: 15px; max-height: 260px; overflow: auto; }
.pcard .size { font-size: 12px; color: var(--jl-muted); }
.posted .pcard-head h3::after { content: " \2713 Posted"; color: var(--jl-ok); font-size: 14px; }
.ig-score { font-size: 28px; font-weight: 700; color: var(--jl-brand-dark); }
.web-html { background: var(--jl-soft); border-radius: 8px; padding: 12px; font-size: 15px; }
.web-html h2 { font-size: 17px; }
details summary { cursor: pointer; font-weight: 700; padding: 6px 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--jl-ink);
  color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 50; opacity: 0;
  transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }

/* pricing */
.price { font-size: 40px; font-weight: 700; }
.price small { font-size: 16px; color: var(--jl-muted); font-weight: 400; }
ul.checks { padding-left: 0; list-style: none; }
ul.checks li { padding: 4px 0 4px 24px; position: relative; }
ul.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--jl-ok); font-weight: 700; }
