/* Contezy Job Post Styles (with CTA button) */

:root {
  --bg-1: #0f172a;
  --bg-2: #071033;
  --card: #0b1220;
  --accent: #7c3aed;
  --accent-hover: #8b5cf6;
  --muted: #9aa4b2;
  --text: #e6eef8;
  --glass: rgba(255,255,255,0.04);
  --radius-lg: 14px;
  --radius-md: 10px;
  --line-height: 1.65;
  --container-width: 900px;
}

/* Light mode overrides */
html[data-theme='light'] {
  --bg-1: #f8fafc;
  --bg-2: #f1f5f9;
  --card: #ffffff;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --muted: #475569;
  --text: #0f172a;
  --glass: rgba(0,0,0,0.03);
}

/* Base */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  padding: 36px 18px;
  line-height: var(--line-height);
}

/* Wrapper & card */
.wrap { max-width: var(--container-width); margin: 0 auto; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 10px 36px rgba(2,6,23,0.55);
}
html[data-theme='light'] .card {
  background: var(--card);
  border-color: rgba(0,0,0,0.06);
  box-shadow: 0 6px 26px rgba(0,0,0,0.06);
}

/* Header */
.job-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
}
.brand-logo { width: 76px; height: auto; border-radius: var(--radius-md); }
.job-title { margin: 0 0 6px; font-size: 22px; line-height: 1.2; }
.lead { margin: 0; color: var(--muted); font-size: 15px; max-width: 70ch; }
.meta { display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }
.pill {
  background: var(--glass);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.03);
}

/* Accent divider */
.accent-line {
  height: 5px;
  border-radius: 999px;
  margin: 18px 0;
  background: linear-gradient(90deg, var(--accent), #06b6d4);
}

/* Section text */
.section { margin-top: 18px; }
.section h2 { margin: 0 0 10px; font-size: 16px; }
.section p, .section ul {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.section ul { margin: 10px 0 0 20px; }
.section ul li { margin: 8px 0; }

/* CTA section */
.cta-section {
  margin-top: 36px;
  text-align: center;
}
.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}
.apply-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(124, 58, 237, 0.45);
}

/* Footer */
.job-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:24px;
  color: var(--muted);
  font-size: 14px;
}
.small { font-size:13px; color:var(--muted); }

/* Theme toggle */
.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 1200;
  box-shadow: 0 8px 22px rgba(2,6,23,0.4);
}
.theme-toggle:hover { background: var(--accent-hover); }

/* Responsive */
@media (max-width: 860px) {
  .job-header { flex-direction: column; text-align: center; gap: 12px; }
  .brand-logo { width: 90px; }
  .job-footer { flex-direction: column; gap: 8px; text-align: center; }
  .apply-btn { padding: 12px 26px; font-size: 15px; }
}

