/* ============================================================
   RemoteViet — design system
   Spacing scale: 4 8 12 16 20 24 32 48 64
   ============================================================ */
:root {
  --brand: #2563eb;
  --brand-600: #1d4ed8;
  --brand-700: #1e40af;
  --brand-soft: #eff4ff;
  --accent: #0ea5e9;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --border: #e6e8f0;
  --text-1: #0f1426;
  --text-2: #5a6075;
  --text-3: #9aa0b4;
  --success: #16a34a;
  --warn: #f59e0b;

  --shadow-sm: 0 1px 2px rgba(16,20,40,.06), 0 1px 3px rgba(16,20,40,.04);
  --shadow-md: 0 4px 16px rgba(16,20,40,.08);
  --shadow-lg: 0 16px 48px rgba(16,20,40,.16);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
[data-theme="dark"] {
  --brand: #5b8def;
  --brand-600: #6d9bff;
  --brand-700: #82a9ff;
  --brand-soft: #18203a;
  --bg: #0c0f1a;
  --surface: #141826;
  --surface-2: #1b2032;
  --border: #262c40;
  --text-1: #f2f4fb;
  --text-2: #a4abc4;
  --text-3: #6e7693;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 20px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 56px rgba(0,0,0,.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
i[data-lucide] { width: 18px; height: 18px; stroke-width: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .08s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap; min-height: 44px;
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: 9px 16px; min-height: 40px; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-600); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: #f0f4ff; }
.btn-ghost-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.24); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--border); color: var(--text-2); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text-1); }
.link-btn { background: none; border: none; color: var(--brand); font-weight: 600; cursor: pointer; font-size: 14px; font-family: var(--font); }
.link-btn:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 800;
}
.brand-name b { color: var(--brand); }
.main-nav { display: flex; gap: 6px; margin-left: 12px; }
.main-nav a { padding: 8px 14px; border-radius: 8px; font-weight: 500; color: var(--text-2); font-size: 15px; }
.main-nav a:hover { background: var(--surface-2); color: var(--text-1); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: transparent;
  color: var(--text-1); font-weight: 600; cursor: pointer; font-family: var(--font); font-size: 14px;
}
.lang-toggle:hover { background: var(--surface-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 420px at 50% -160px, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    var(--bg);
  padding: 64px 0 48px;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  color: var(--text-2); font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 999px;
}
.hero-badge i { color: var(--warn); width: 16px; height: 16px; }
.hero-title {
  font-size: clamp(30px, 5vw, 52px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  margin: 20px 0 14px; max-width: 760px; white-space: pre-line;
}
.hero-subtitle { font-size: clamp(15px, 2vw, 18px); color: var(--text-2); max-width: 580px; }

.hero-search {
  display: flex; align-items: center; gap: 8px; width: min(640px, 100%);
  margin: 28px 0 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px 8px 8px 16px; position: relative;
}
.hero-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-md); }
.hero-search-icon { color: var(--text-3); flex-shrink: 0; }
.hero-search input {
  flex: 1; border: none; outline: none; background: transparent; font-family: var(--font);
  font-size: 16px; color: var(--text-1); min-width: 0;
}
.hero-search input::placeholder { color: var(--text-3); }

.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; }
.hero-chips-label { color: var(--text-3); font-size: 14px; font-weight: 500; }
.chip {
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: var(--font); transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.hero-stats { display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat b { font-size: 26px; font-weight: 800; color: var(--text-1); }
.stat span { font-size: 13px; color: var(--text-3); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ---------- Main grid ---------- */
.main-grid { display: grid; grid-template-columns: 264px 1fr; gap: 28px; padding-top: 40px; padding-bottom: 56px; align-items: start; }

/* ---------- Filters ---------- */
.filters {
  position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head h2 { font-size: 17px; font-weight: 700; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--border); }
.filter-group:first-of-type { border-top: none; }
.filter-group h3 { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .04em; }
.filter-group h3 b { color: var(--brand); }
.filter-options { display: flex; flex-direction: column; gap: 4px; }
.f-opt {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px;
  cursor: pointer; font-size: 14px; color: var(--text-1); transition: background .12s;
}
.f-opt:hover { background: var(--surface-2); }
.f-opt input { accent-color: var(--brand); width: 16px; height: 16px; cursor: pointer; }
.f-opt i { width: 15px; height: 15px; color: var(--text-3); }
input[type="range"] { width: 100%; accent-color: var(--brand); cursor: pointer; }

.switch { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch-track { width: 38px; height: 22px; border-radius: 999px; background: var(--border); position: relative; transition: background .18s; flex-shrink: 0; }
.switch-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s; }
.switch input:checked + .switch-track { background: var(--brand); }
.switch input:checked + .switch-track::after { transform: translateX(16px); }

/* ---------- List toolbar ---------- */
.list-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.list-count { font-weight: 700; font-size: 16px; }
.sort-label { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.sort-label select {
  font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--text-1);
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; cursor: pointer;
}
.filters-mobile-btn { display: none; }

/* ---------- Job cards ---------- */
.job-list { display: flex; flex-direction: column; gap: 14px; }
.job-card {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.job-logo { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; }
.job-main { min-width: 0; }
.job-titleline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.job-title { font-size: 17px; font-weight: 700; }
.job-verified { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); padding: 2px 7px; border-radius: 999px; }
.job-verified i { width: 12px; height: 12px; }
.job-company { color: var(--text-2); font-size: 14px; margin: 2px 0 10px; font-weight: 500; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--text-2); background: var(--surface-2); padding: 4px 10px; border-radius: 7px; }
.tag i { width: 13px; height: 13px; }
.tag.skill { color: var(--brand); background: var(--brand-soft); }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.job-salary { font-weight: 800; font-size: 16px; color: var(--text-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.job-salary small { font-weight: 500; font-size: 12px; color: var(--text-3); }
.job-posted { font-size: 12px; color: var(--text-3); }
.save-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 8px; cursor: pointer; font-family: var(--font);
  transition: all .15s; min-height: 36px;
}
.save-btn:hover { border-color: var(--brand); color: var(--brand); }
.save-btn.is-saved { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.save-btn i { width: 15px; height: 15px; }
.save-btn.is-saved i { fill: currentColor; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 64px 24px; }
.empty-illo { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 20px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-3); }
.empty-illo i { width: 34px; height: 34px; }
.empty-state h3 { font-size: 19px; margin-bottom: 8px; }
.empty-state p { color: var(--text-2); margin-bottom: 20px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--brand-700), var(--brand)); color: #fff; }
.cta-inner { display: flex; align-items: center; gap: 32px; padding: 48px 20px; flex-wrap: wrap; }
.cta-text h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,.86); max-width: 520px; font-size: 16px; }
.cta-actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--text-2); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-2); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 20px; color: var(--text-3); font-size: 13px; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(8,10,20,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: fade .2s ease; }
.modal { position: relative; background: var(--surface); border-radius: var(--radius-lg); width: min(640px, 100%); max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: pop .22s cubic-bezier(.2,.9,.3,1.2); }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--surface); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.m-head { padding: 28px 28px 20px; border-bottom: 1px solid var(--border); display: flex; gap: 16px; align-items: flex-start; }
.m-logo { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 26px; flex-shrink: 0; }
.m-title { font-size: 22px; font-weight: 800; line-height: 1.2; }
.m-company { color: var(--text-2); font-weight: 600; margin-top: 4px; }
.m-meta { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 28px; }
.m-meta .tag { font-size: 13px; padding: 6px 12px; }
.m-salary { padding: 0 28px 8px; font-size: 22px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.m-section { padding: 16px 28px; }
.m-section h4 { font-size: 15px; margin-bottom: 10px; }
.m-section p { color: var(--text-2); }
.m-section ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.m-section li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.m-section li i { color: var(--success); flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; }
.m-actions { position: sticky; bottom: 0; display: flex; gap: 12px; padding: 18px 28px; background: var(--surface); border-top: 1px solid var(--border); }
.m-actions .btn { flex: 1; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text-1); color: var(--bg); font-weight: 600; font-size: 14px;
  padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 200; opacity: 0;
  transition: opacity .25s, transform .25s; display: flex; align-items: center; gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Mobile ---------- */
.filters-backdrop { display: none; }
@media (max-width: 920px) {
  .main-grid { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); border-radius: 0; z-index: 90;
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  .filters.open { transform: translateX(0); }
  .filters-mobile-btn { display: inline-flex; }
  .filters-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 89; }
  .filters-backdrop.show { display: block; }
}
@media (max-width: 680px) {
  .main-nav { display: none; }
  .header-inner { gap: 12px; height: 60px; }
  .header-actions .btn { display: none; }
  .job-card { grid-template-columns: 44px 1fr; }
  .job-logo { width: 44px; height: 44px; font-size: 18px; }
  .job-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--border); }
  .cta-actions { margin-left: 0; }
  .hero-stats { gap: 16px; }
  .stat b { font-size: 22px; }
}

/* ============================================================
   Job detail page + employer form (server-rendered pages)
   ============================================================ */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); padding: 20px 0 4px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb i { width: 14px; height: 14px; }

.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 20px 0 56px; align-items: start; }
.detail-main { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.detail-head { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.detail-head .m-logo { width: 64px; height: 64px; border-radius: 16px; }
.detail-title { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; line-height: 1.18; letter-spacing: -.01em; }
.detail-company { color: var(--text-2); font-weight: 600; margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.detail-section { padding: 22px 0; border-bottom: 1px solid var(--border); }
.detail-section:last-child { border-bottom: none; }
.detail-section h2 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.detail-section p { color: var(--text-2); line-height: 1.7; }
.detail-section ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.detail-section li { display: flex; gap: 10px; color: var(--text-2); }
.detail-section li i { color: var(--success); flex-shrink: 0; margin-top: 4px; width: 16px; height: 16px; }

.detail-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.side-salary { font-size: 24px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.side-salary small { font-size: 13px; color: var(--text-3); font-weight: 500; display: block; margin-top: 2px; }
.side-facts { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.side-fact { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.side-fact i { color: var(--text-3); width: 17px; height: 17px; }
.side-fact b { color: var(--text-1); font-weight: 600; }
.side-actions { display: flex; flex-direction: column; gap: 10px; }
.side-actions .btn { width: 100%; }
.share-row { display: flex; gap: 8px; margin-top: 14px; }
.share-row button { flex: 1; }

.related-card { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.related-card:first-of-type { border-top: none; }
.related-card .job-logo { width: 40px; height: 40px; font-size: 17px; border-radius: 10px; }
.related-card .rc-title { font-weight: 600; font-size: 14px; line-height: 1.3; }
.related-card .rc-meta { font-size: 12px; color: var(--text-3); }

/* Employer form */
.form-page { max-width: 720px; margin: 0 auto; padding: 32px 0 64px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.form-card > p.lead { color: var(--text-2); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field label .req { color: #ef4444; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--text-1);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--text-3); margin-top: 5px; }
.field-error { color: #ef4444; font-size: 13px; margin-top: 5px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ef4444; }
.field.has-error .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-box { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: var(--radius); padding: 16px; margin: 8px 0 22px; cursor: pointer; }
.feature-box input { width: 18px; height: 18px; accent-color: var(--brand); margin-top: 2px; }
.feature-box .fb-title { font-weight: 700; }
.feature-box .fb-desc { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.feature-box .fb-price { margin-left: auto; font-weight: 800; color: var(--brand); white-space: nowrap; }

/* QR payment modal */
.qr-wrap { text-align: center; padding: 28px; }
.qr-wrap img, .qr-wrap canvas { width: 220px; height: 220px; border-radius: 12px; border: 1px solid var(--border); }
.qr-wrap h3 { margin: 16px 0 6px; }
.qr-wrap p { color: var(--text-2); font-size: 14px; }
.qr-amount { font-size: 26px; font-weight: 800; color: var(--brand); margin: 10px 0; }

@media (max-width: 920px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 680px) {
  .field-row { grid-template-columns: 1fr; }
  .detail-main { padding: 22px; }
}

/* ---------- Job alert band ---------- */
.alert-band { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.alert-inner { display: flex; align-items: center; gap: 32px; padding: 36px 20px; flex-wrap: wrap; }
.alert-text h2 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.alert-text h2 i { color: var(--brand); width: 22px; height: 22px; }
.alert-text p { color: var(--text-2); margin-top: 6px; max-width: 460px; }
.alert-form { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.alert-form input { font-family: var(--font); font-size: 15px; color: var(--text-1); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; min-width: 240px; min-height: 44px; }
.alert-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
@media (max-width: 680px) { .alert-form { margin-left: 0; width: 100%; } .alert-form input { flex: 1; min-width: 0; } }
