:root {
  --jp-primary: #0f5a8a;
  --jp-primary-dark: #0b4569;
  --jp-accent: #f59e0b;
  --jp-bg: #f5f7fa;
}

body { background: var(--jp-bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

.navbar-brand { font-weight: 700; letter-spacing: -.3px; }
.navbar-brand .bi { color: var(--jp-accent); }
.bg-jp { background: var(--jp-primary) !important; }
.btn-primary { --bs-btn-bg: var(--jp-primary); --bs-btn-border-color: var(--jp-primary);
  --bs-btn-hover-bg: var(--jp-primary-dark); --bs-btn-hover-border-color: var(--jp-primary-dark);
  --bs-btn-active-bg: var(--jp-primary-dark); }
.btn-outline-primary { --bs-btn-color: var(--jp-primary); --bs-btn-border-color: var(--jp-primary);
  --bs-btn-hover-bg: var(--jp-primary); --bs-btn-hover-border-color: var(--jp-primary); }
a { color: var(--jp-primary); }

.hero { background: linear-gradient(135deg, var(--jp-primary) 0%, #1b7fbd 100%); color: #fff; }
.hero .card { border: 0; }

.card { border: 1px solid #e5e9f0; border-radius: .75rem; }
.card-header { background: #fff; font-weight: 600; border-bottom: 1px solid #eef1f5; }
.stat-card .stat-value { font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.stat-card .stat-label { color: #6b7280; font-size: .85rem; }
.stat-card .bi { font-size: 1.6rem; opacity: .8; }

.job-card { transition: box-shadow .15s, transform .15s; }
.job-card:hover { box-shadow: 0 6px 18px rgba(15, 90, 138, .12); transform: translateY(-1px); }
.job-card .job-title { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.job-meta { color: #6b7280; font-size: .875rem; }
.job-meta .bi { margin-right: .25rem; }

.company-logo { width: 52px; height: 52px; object-fit: contain; border-radius: .5rem; background: #fff;
  border: 1px solid #e5e9f0; }
.company-logo-lg { width: 88px; height: 88px; }
.logo-placeholder { width: 52px; height: 52px; border-radius: .5rem; background: #e8f1f8; color: var(--jp-primary);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; }
.avatar { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.avatar-sm { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }

.badge.text-bg-purple { background: #7c3aed; color: #fff; }
.sidebar .list-group-item.active { background: var(--jp-primary); border-color: var(--jp-primary); }

.section-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; font-weight: 600; }
.prewrap { white-space: pre-line; }
.form-label { font-weight: 500; }
.errorlist { color: #dc3545; list-style: none; padding: 0; margin: .25rem 0 0; font-size: .875rem; }
.role-option { cursor: pointer; }
.role-option input { display: none; }
.role-option .card { transition: border-color .15s, background .15s; }
.role-option input:checked + .card { border-color: var(--jp-primary); background: #eef6fb; box-shadow: 0 0 0 2px var(--jp-primary); }

/* CV preview / print */
.cv-sheet { background: #fff; max-width: 860px; margin: 0 auto; padding: 2.5rem; border-radius: .5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.cv-sheet h2.cv-section { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--jp-primary);
  border-bottom: 2px solid var(--jp-primary); padding-bottom: .25rem; margin-top: 1.75rem; }
@media print {
  body { background: #fff; }
  .no-print, nav, footer, .alert { display: none !important; }
  .cv-sheet { box-shadow: none; padding: 0; max-width: none; }
  main { padding: 0 !important; }
}

footer { background: #0b2537; color: #9fb3c4; }
footer a { color: #cfe0ec; text-decoration: none; }
