/* ReeliChat Careers */
:root { --blue: #1a56c4; --blue-dark: #123f94; --navy: #0b2558; --gold: #ffcc33; --text: #1f2633; --muted: #667085; --line: #e4e9f2; --bg-soft: #f5f8fd; --green: #1f9d55; --red: #d43c2f; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Quicksand", "Segoe UI", Arial, sans-serif; font-weight: 500; color: var(--text); background: #fff; line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; margin: 0 0 .5em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.inline { display: inline; margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 11px 20px; font: 700 1rem "Quicksand", Arial, sans-serif;
  cursor: pointer; box-shadow: 0 3px 0 var(--blue-dark); transition: transform .1s, box-shadow .1s, filter .1s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 0 var(--blue-dark); filter: brightness(1.05); color: #fff; }
.btn-small { padding: 7px 14px; font-size: .92rem; border-radius: 8px; }
.btn-gold { background: var(--gold); color: #1b1b1b; box-shadow: 0 3px 0 #c99a12; }
.btn-gold:hover { color: #1b1b1b; box-shadow: 0 4px 0 #c99a12; }
.btn-big { padding: 14px 28px; font-size: 1.1rem; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linkish:hover { text-decoration: underline; }
.linkish.danger { color: var(--red); font-size: .9rem; }

/* top bar */
.topbar { background: linear-gradient(90deg, #143f86, var(--navy)); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-weight: 700; font-size: 1.15rem; padding-left: 10px; border-left: 2px solid rgba(255,255,255,.35); }
.topnav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.topnav a, .topnav .linkish { color: #e6eefc; }
.topnav .btn { color: #fff; }
.topnav .me { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.topnav .me img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* flash */
.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.flash-success { background: #e7f7ee; color: #17643a; border: 1px solid #b6e4c8; }
.flash-error { background: #fdeceb; color: #8e231a; border: 1px solid #f0b1ab; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 80px 0 90px;
  background: radial-gradient(rgba(255,255,255,.09) 2px, transparent 2.5px) 0 0 / 26px 26px, linear-gradient(135deg, #1a56c4 0%, #0f2f6b 55%, #0b2558 100%); }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: rgba(255, 204, 51, .14); }
.hero-inner { position: relative; z-index: 1; max-width: 1120px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: .85rem; opacity: .9; margin: 0 0 12px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: 1.2rem; max-width: 620px; opacity: .95; margin: 0 0 26px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-count { font-weight: 700; background: rgba(255,255,255,.14); padding: 6px 14px; border-radius: 20px; }

/* perks & steps */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: -40px; position: relative; z-index: 2; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 10px 30px rgba(15, 47, 107, .08); }
.perk i { font-size: 1.6rem; color: var(--blue); background: #e8f0fd; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.perk h3 { font-size: 1.1rem; margin-bottom: 6px; }
.perk p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps-wrap { margin-top: 60px; }
.steps-wrap h2, .roles h2 { font-size: 1.9rem; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li { display: flex; gap: 14px; background: var(--bg-soft); border-radius: 14px; padding: 18px; }
.steps li > span { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

/* roles */
.roles { margin: 60px auto 70px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 20px; }
.chip { border: 1px solid var(--line); border-radius: 20px; padding: 6px 14px; color: var(--text); font-weight: 600; font-size: .92rem; background: #fff; }
.chip:hover { border-color: var(--blue); text-decoration: none; }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.dept { font-size: 1.15rem; color: var(--navy); margin: 30px 0 12px; display: flex; align-items: center; gap: 10px; }
.dept i { color: var(--blue); }
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-card { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.job-card:hover { text-decoration: none; border-color: var(--blue); box-shadow: 0 8px 24px rgba(26, 86, 196, .12); transform: translateY(-1px); }
.job-main { flex: 1; min-width: 0; }
.job-card h4 { font-size: 1.2rem; margin-bottom: 4px; }
.job-card p { margin: 0 0 10px; color: var(--muted); }
.job-go { flex-shrink: 0; font-weight: 700; color: var(--blue); white-space: nowrap; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { background: var(--bg-soft); border-radius: 8px; padding: 3px 10px; font-size: .85rem; font-weight: 600; color: #3c475a; }
.tags.light span { background: rgba(255,255,255,.15); color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.empty i { font-size: 2.5rem; opacity: .5; }

/* job page */
.job-hero { color: #fff; padding: 40px 0 46px; background: radial-gradient(rgba(255,255,255,.08) 2px, transparent 2.5px) 0 0 / 26px 26px, linear-gradient(135deg, #1a56c4, #0b2558); }
.job-hero .back { color: #dbe6fb; font-weight: 600; display: inline-block; margin-bottom: 18px; }
.job-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.job-hero .tags { margin: 6px 0 22px; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-top: 36px; padding-bottom: 60px; }
.job-summary { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-top: 0; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.4rem; margin: 1.6em 0 .5em; color: var(--navy); }
.prose h3 { font-size: 1.15rem; margin: 1.3em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose strong { font-weight: 700; }
.prose code { background: #eef2f8; border-radius: 4px; padding: 1px 6px; font-size: .92em; }
.prose blockquote { margin: 1em 0; padding: .7em 1em; border-left: 4px solid var(--gold); background: #fff8e1; border-radius: 0 8px 8px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0; }
.job-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--bg-soft); position: sticky; top: 84px; }
.side-card + .side-card { position: static; }
.side-card h3 { font-size: 1.05rem; }
.get-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.get-list i { color: var(--blue); width: 20px; text-align: center; margin-right: 4px; }

/* apply */
.apply-box { grid-column: 1 / -1; border: 2px solid var(--line); border-radius: 18px; padding: 28px; scroll-margin-top: 90px; }
.apply-box h2 { font-size: 1.6rem; }
.apply-box h2 i { color: var(--blue); }
.signin-box { text-align: center; padding: 10px 0; }
.signin-box p { max-width: 560px; margin: 0 auto 16px; }
.notice { background: #e8f0fd; color: #173f86; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.applying-as { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); padding: 6px 14px 6px 6px; border-radius: 30px; margin-bottom: 18px; }
.applying-as img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.apply-form { display: flex; flex-direction: column; gap: 16px; }
.apply-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.apply-form input[type=text], .apply-form input[type=email], .apply-form select, .apply-form textarea {
  font: 500 1rem "Quicksand", Arial, sans-serif; color: var(--text); border: 1.5px solid #cfd8e6; border-radius: 10px; padding: 10px 12px; background: #fff; width: 100%; }
.apply-form textarea { resize: vertical; line-height: 1.5; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 86, 196, .15); }
.apply-form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.apply-form .check input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; }
.apply-form .btn-big { align-self: flex-start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dob { display: flex; gap: 10px; }
.field-error { color: var(--red); font-weight: 600; font-size: .9rem; }

/* my applications */
.page { padding-top: 34px; padding-bottom: 60px; }
.page h1 { font-size: 2rem; }
.page h1 i { color: var(--blue); }
.app-card { border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; }
.status-border-pending { border-left-color: #f3a913; }
.status-border-accepted { border-left-color: var(--green); }
.status-border-rejected { border-left-color: var(--red); }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.app-card h3 { font-size: 1.2rem; margin: 0 0 2px; }
.app-card p { margin: 12px 0 6px; }
.good { color: #17643a; font-weight: 600; }
.team-note { background: var(--bg-soft); border-radius: 8px; padding: 10px 14px; font-size: .95rem; margin-top: 8px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.status-pending { background: #fff4dc; color: #7a5200; }
.status-accepted { background: #e7f7ee; color: #17643a; }
.status-rejected { background: #fdeceb; color: #8e231a; }
.status-withdrawn { background: #eef1f5; color: #4a5263; }

.center-page { text-align: center; padding: 80px 20px; }
.big-icon { font-size: 3rem; color: var(--blue); margin-bottom: 10px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); padding: 22px 0; font-size: .92rem; }
.footer-inner { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-inner span { margin-right: auto; }
.footer a { color: var(--muted); }

@media (max-width: 900px) {
  .job-layout { grid-template-columns: 1fr; gap: 24px; }
  .side-card { position: static; }
}
@media (max-width: 640px) {
  .topnav { gap: 12px; font-size: .92rem; }
  .topnav .me { display: none; }
  .brand img { height: 28px; }
  .hero { padding: 56px 0 70px; }
  .job-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .grid-2 { grid-template-columns: 1fr; }
  .apply-box { padding: 20px 16px; }
  .dob select { min-width: 0; }
}
