/* Rookoot Earn & Jobs — shared look for earn*.html, post-request.html and request.html.
   Same colours and fonts as the homepage. */
:root {
  --ink: #1A1A1A; --paper: #FAFAF8; --accent: #C4622D; --accent-dark: #9A4A20; --accent-soft: #FDF3ED;
  --accent2: #0F9D8A; --accent2-dark: #0B7A6B; --gold: #B7791F; --gold-light: #F5D98A;
  --line: #E8E4DD; --muted: #6B6560; --deep: #2B1A12;
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 8px 24px rgba(43,26,18,0.08); --shadow-lg: 0 24px 50px rgba(43,26,18,0.22);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--body); background: var(--paper); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }

header.top { position: sticky; top: 0; z-index: 40; background: rgba(250,250,248,0.94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -0.5px; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.logo em { font-style: normal; color: var(--accent); }
.head-links { display: flex; gap: 8px; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 14px var(--body); text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; padding: 11px 18px; transition: transform .15s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(196,98,45,0.28); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border: 1.5px solid var(--accent); color: var(--accent); background: transparent; }
.btn-soft { background: var(--accent-soft); color: var(--accent-dark); }
.btn-white { background: #fff; color: var(--accent-dark); }
.btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-danger { background: transparent; color: #B42318; border: 1.5px solid #F1B8B2; }
.btn-sm { padding: 8px 13px; font-size: 13px; }
.btn-block { width: 100%; }

.hero { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 90% 0%, rgba(245,217,138,0.35), transparent 60%), linear-gradient(150deg, #C4622D 0%, #9A4A20 55%, #5E2B12 100%); color: #fff; padding: 44px 0 56px; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(to bottom, #000, transparent); -webkit-mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 52px); line-height: 1.04; letter-spacing: -1.3px; margin: 16px 0 12px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.sub { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,0.88); max-width: 600px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.1; letter-spacing: -0.7px; margin-top: 6px; }
.lead { color: var(--muted); font-size: 15px; margin-top: 6px; }

.tabs { display: inline-flex; background: #F1EEE9; border-radius: 999px; padding: 4px; gap: 4px; margin-top: 26px; }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(43,26,18,0.1); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.filters input, .filters select { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 13px; font-size: 14.5px; min-width: 0; }
.filters input { flex: 1 1 220px; }
.filters select { flex: 0 1 200px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13px; padding: 8px 13px; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 8px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; text-align: left; }
button.card { cursor: pointer; transition: transform .15s; }
button.card:hover { transform: translateY(-3px); }
.person { display: flex; gap: 12px; align-items: center; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 84px; height: 84px; border-radius: 22px; font-size: 32px; }
.person b { display: block; font-size: 16px; line-height: 1.25; }
.person small { display: block; color: var(--muted); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); }
.tag.green { background: #E3F4F1; color: var(--accent2-dark); }
.tag.grey { background: #F1EEE9; color: var(--muted); }
.tag.gold { background: #FFF4D6; color: #8A5A0E; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.stars { color: var(--gold); font-weight: 700; }
.job h3 { font-size: 16.5px; line-height: 1.3; }
.job p { color: var(--muted); font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.job .foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: 18px; padding: 28px 20px; text-align: center; color: var(--muted); margin-top: 10px; }
.empty a { color: var(--accent); font-weight: 700; }

.booboot { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #16213E, #2B1A3A 60%, #E94560); color: #fff; border-radius: 20px; padding: 16px 18px; margin-top: 30px; text-decoration: none; }
.booboot .ico { flex: none; width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,0.14); display: grid; place-items: center; font-size: 22px; }
.booboot b { display: block; font-size: 15px; }
.booboot span { font-size: 13px; opacity: .85; }
.booboot .go { margin-left: auto; font-weight: 800; white-space: nowrap; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); margin-top: 22px; }
.panel h2 { font-family: var(--display); font-size: 21px; font-weight: 800; }
.field { display: block; margin-top: 16px; }
.field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field > small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #DCD5CB; background: #fff; border-radius: 12px; padding: 12px 13px; font-size: 15px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; font-size: 14px; font-weight: 600; cursor: pointer; background: #fff; }
.checks input { accent-color: var(--accent); }
.checks label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-pick { display: flex; gap: 14px; align-items: center; }
.note { background: #FFF8EC; border: 1px solid #F5DDB0; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: #7A5214; margin-top: 16px; }
.msg { font-size: 14px; font-weight: 600; margin-top: 12px; min-height: 1px; }
.msg.err { color: #B42318; }
.msg.ok { color: var(--accent2-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.sheet { position: fixed; inset: 0; z-index: 200; background: rgba(43,26,18,0.55); display: none; align-items: flex-end; justify-content: center; padding: 12px; }
.sheet.show { display: flex; }
@media (min-width: 600px) { .sheet { align-items: center; } }
.sheet-card { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 24px; box-shadow: 0 20px 50px rgba(43,26,18,0.25); padding: 22px 20px; }
.sheet-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: none; background: #F1EEE9; font-size: 18px; cursor: pointer; }
.review { border-top: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.review small { color: var(--muted); }

footer.foot { margin-top: 60px; border-top: 1px solid var(--line); padding: 30px 0 60px; color: var(--muted); font-size: 13.5px; }
footer.foot .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
footer.foot a { text-decoration: none; font-weight: 600; color: var(--ink); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .head-links .hide-sm { display: none; }
  .hero { padding: 34px 0 44px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .row2 { grid-template-columns: 1fr; }
  .filters select { flex: 1 1 100%; }
  .panel { padding: 18px 16px; }
  .booboot { flex-wrap: wrap; }
  .booboot .go { margin-left: 58px; }
}
