/* =========================================================
   Resume Builder v4 - one stylesheet, plain CSS variables.
   Bootstrap 5 provides the grid/components; this file sets the theme.
   ========================================================= */
:root {
  --rb-primary: #1E3A8A;          /* navy */
  --rb-primary-hover: #1E40AF;
  --rb-accent: #0D9488;           /* teal: icons, badges, borders */
  --rb-accent-dark: #0F766E;      /* teal for text + button fills (white on #0D9488 is only 3.7:1) */
  --rb-highlight: #F59E0B;        /* amber: Apply, Featured, Urgent */
  --rb-highlight-hover: #D98A06;
  --rb-bg: #F8FAFC;
  --rb-card: #FFFFFF;
  --rb-border: #E2E8F0;
  --rb-text: #0F172A;
  --rb-muted: #64748B;
  --rb-radius: 12px;
  --rb-shadow: 0 1px 2px rgba(15,23,42,.05), 0 4px 16px -4px rgba(15,23,42,.08);
  --rb-shadow-lg: 0 20px 40px -12px rgba(30,58,138,.25);
  --rb-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* map the theme onto Bootstrap's variables */
  --bs-body-font-family: var(--rb-font);
  --bs-body-bg: var(--rb-bg);
  --bs-body-color: var(--rb-text);
  --bs-secondary-color: var(--rb-muted);
  --bs-primary: var(--rb-primary);
  --bs-primary-rgb: 30, 58, 138;
  --bs-link-color: var(--rb-accent-dark);
  --bs-link-hover-color: #115E59;
  --bs-border-color: var(--rb-border);
  --bs-border-radius: 10px;
  --bs-border-radius-lg: var(--rb-radius);
}
body.lang-hi { --rb-font: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif; --bs-body-font-family: var(--rb-font); line-height: 1.7; }
body { background: var(--rb-bg); color: var(--rb-text); font-family: var(--rb-font); -webkit-font-smoothing: antialiased; }
.text-muted { color: var(--rb-muted) !important; }
.text-accent { color: var(--rb-accent) !important; }
.text-primary-brand { color: var(--rb-primary); }
h1, h2, h3, h4, h5 { letter-spacing: -.01em; }
.min-w-0 { min-width: 0; }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible { outline: 3px solid rgba(13,148,136,.55); outline-offset: 2px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--rb-primary); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; transition: background .15s, border-color .15s, box-shadow .2s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { --bs-btn-bg: var(--rb-primary); --bs-btn-border-color: var(--rb-primary); --bs-btn-hover-bg: var(--rb-primary-hover); --bs-btn-hover-border-color: var(--rb-primary-hover); --bs-btn-active-bg: #1E3A8A; --bs-btn-active-border-color: #1E3A8A; --bs-btn-disabled-bg: var(--rb-primary); --bs-btn-disabled-border-color: var(--rb-primary); }
.btn-outline-primary { --bs-btn-color: var(--rb-primary); --bs-btn-border-color: var(--rb-primary); --bs-btn-hover-bg: var(--rb-primary); --bs-btn-hover-border-color: var(--rb-primary); --bs-btn-active-bg: var(--rb-primary-hover); --bs-btn-active-border-color: var(--rb-primary-hover); }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--rb-accent-dark); --bs-btn-border-color: var(--rb-accent-dark); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #115E59; --bs-btn-hover-border-color: #115E59; --bs-btn-active-bg: #134E4A; }
.btn-cta { --bs-btn-color: #0F172A; --bs-btn-bg: var(--rb-highlight); --bs-btn-border-color: var(--rb-highlight); --bs-btn-hover-color: #0F172A; --bs-btn-hover-bg: var(--rb-highlight-hover); --bs-btn-hover-border-color: var(--rb-highlight-hover); --bs-btn-active-bg: #B87305; box-shadow: 0 6px 16px -6px rgba(245,158,11,.7); }
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: rb-spin .7s linear infinite; }
@keyframes rb-spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */
.form-label { font-weight: 600; font-size: .9rem; }
.form-control, .form-select { border-radius: 10px; padding: .65rem .85rem; border-color: #CBD5E1; }
.form-control:focus, .form-select:focus { border-color: var(--rb-accent); box-shadow: 0 0 0 .25rem rgba(13,148,136,.2); }
.form-control.is-invalid { border-color: #DC2626; background-image: none; }
.invalid-feedback { font-weight: 500; }
.form-text { color: var(--rb-muted); }

/* ---------- cards ---------- */
.rb-card { background: var(--rb-card); border: 1px solid var(--rb-border); border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); }
.rb-alert { border-radius: var(--rb-radius); font-weight: 500; }

/* ---------- header ---------- */
.rb-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--rb-border); z-index: 1030; }
.rb-header .navbar { padding-top: .6rem; padding-bottom: .6rem; }
.navbar-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--rb-primary); letter-spacing: -.02em; }
.navbar-brand:hover { color: var(--rb-primary-hover); }
.rb-header .nav-link { color: #334155; font-weight: 600; padding: .5rem .85rem; border-radius: 8px; }
.rb-header .nav-link:hover { color: var(--rb-primary); background: #EEF2FF; }
.rb-header .nav-link.active { color: var(--rb-primary); background: #E0E7FF; }
.navbar-toggler { border: 0; padding: .25rem .4rem; }
/* language toggle: English | हिंदी, the thumb slides to the active side */
.lang-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; border: 1px solid var(--rb-border); border-radius: 999px; padding: 3px; background: #fff; text-decoration: none; cursor: pointer; user-select: none; }
.lang-toggle .lt-opt { position: relative; z-index: 1; padding: 3px 14px; text-align: center; font-weight: 600; font-size: .85rem; line-height: 1.4; color: #334155; transition: color .2s; white-space: nowrap; }
.lang-toggle .lt-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--rb-primary); transition: transform .25s ease; }
.lang-toggle.is-hi .lt-thumb { transform: translateX(100%); }
.lang-toggle:not(.is-hi) .lt-opt:nth-child(2), .lang-toggle.is-hi .lt-opt:nth-child(3) { color: #fff; }
.lang-toggle:focus-visible { outline: 2px solid var(--rb-primary); outline-offset: 2px; }
.user-btn { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--rb-border); background: #fff; border-radius: 999px; padding: 3px 12px 3px 3px; font-weight: 600; }
.user-btn::after { margin-left: .2rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--rb-primary); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.3rem; }
.dropdown-menu { border-radius: var(--rb-radius); border-color: var(--rb-border); }
.dropdown-item { font-weight: 500; }
.dropdown-item:active { background: var(--rb-primary); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(900px 400px at 100% -10%, rgba(13,148,136,.14), transparent 60%), radial-gradient(700px 400px at 0% 0%, rgba(30,58,138,.10), transparent 60%), var(--rb-bg); padding: 72px 0 88px; }
.hero-pill { display: inline-flex; align-items: center; background: #CCFBF1; color: #115E59; font-weight: 600; font-size: .85rem; border-radius: 999px; padding: .35rem .85rem; }
.hero-title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--rb-primary); margin: 1.2rem 0 1rem; }
body.lang-hi .hero-title { line-height: 1.3; letter-spacing: 0; }
.hero-sub { font-size: 1.15rem; color: #475569; max-width: 540px; margin-bottom: 1.6rem; }
.hero-points li { display: flex; align-items: center; gap: .4rem; font-weight: 600; color: #334155; font-size: .92rem; }
.hero-points i { color: var(--rb-accent); }
.resume-mock { background: #fff; border: 1px solid var(--rb-border); border-radius: 16px; padding: 28px; box-shadow: var(--rb-shadow-lg); max-width: 400px; margin-left: auto; transform: rotate(2deg); display: grid; gap: 10px; }
.rm-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.rm-head > div { flex: 1; display: grid; gap: 8px; }
.rm-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--rb-primary); }
.rm-line { display: block; height: 9px; border-radius: 5px; background: #CBD5E1; } .rm-line.light { background: #E2E8F0; }
.rm-title { display: block; height: 11px; width: 38%; border-radius: 5px; background: var(--rb-accent); margin-top: 8px; }
.w-40 { width: 40%; } .w-60 { width: 60%; } .w-80 { width: 80%; }
.rm-tags { display: flex; gap: 8px; } .rm-tags span { height: 22px; width: 64px; border-radius: 99px; background: #CCFBF1; }

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 460px; padding: 34px; }
.role-options { display: flex; gap: 8px; flex-wrap: wrap; } .role-options .btn { flex: 1; }
.role-options .btn-check:checked + .btn { background: var(--rb-primary); color: #fff; }
fieldset { border: 0; padding: 0; margin: 0; }

/* ---------- empty / coming soon ---------- */
.empty-page { text-align: center; padding: 80px 16px; max-width: 640px; }
.empty-ico { width: 76px; height: 76px; border-radius: 22px; background: #E0E7FF; color: var(--rb-primary); display: inline-grid; place-items: center; font-size: 2rem; margin-bottom: 1rem; }

/* ---------- app shell (dashboard + admin) ---------- */
.app-shell { display: flex; min-height: 100vh; }
.app-sidebar { width: 264px; background: var(--rb-primary); color: #fff; flex: none; padding: 18px 14px; }
.admin-sidebar { background: #0F172A; }
.app-sidebar .navbar-brand { color: #fff; font-size: 1.05rem; }
.app-sidebar-head { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 18px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #CBD5E1; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.side-link i { font-size: 1.1rem; }
.side-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.side-link.active { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 3px 0 0 var(--rb-highlight); }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-topbar { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rb-border); }
.app-title { font-size: 1.15rem; font-weight: 700; margin: 0; }
.app-content { padding: 24px; max-width: 1200px; width: 100%; }
.welcome-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; background: linear-gradient(135deg, #fff, #EFF6FF); }
.stat-card { display: flex; align-items: center; gap: 14px; padding: 18px; height: 100%; }
.stat-ico { width: 46px; height: 46px; border-radius: 12px; background: #CCFBF1; color: var(--rb-accent-dark); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.stat-label { font-size: .8rem; color: var(--rb-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-size: 1.15rem; font-weight: 700; }
@media (max-width: 991.98px) {
  .app-sidebar { width: 280px; }
  .offcanvas-lg.app-sidebar { --bs-offcanvas-width: 280px; background: var(--rb-primary); }
  .admin-sidebar.offcanvas-lg { background: #0F172A; }
  .app-topbar { padding: 10px 14px; } .app-content { padding: 16px; }
}
/* Bootstrap's offcanvas-lg resets background/width/height with !important from 992px up, so re-assert the sidebar look there */
@media (min-width: 992px) {
  .app-sidebar.offcanvas-lg { position: sticky; top: 0; overflow-y: auto; width: 264px !important; height: 100vh !important; background-color: var(--rb-primary) !important; color: #fff; padding: 18px 14px !important; }
  .app-sidebar.admin-sidebar.offcanvas-lg { background-color: #0F172A !important; }
}

/* ---------- footer ---------- */
.rb-footer { background: #0F172A; color: #CBD5E1; padding: 56px 0 24px; margin-top: 0; }
.footer-title { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.footer-text { color: #94A3B8; max-width: 380px; }
.footer-links li { margin-bottom: 8px; color: #94A3B8; }
.footer-links a { color: #CBD5E1; text-decoration: none; } .footer-links a:hover { color: #fff; text-decoration: underline; }
.social { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background .15s; }
.social:hover { background: var(--rb-accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #94A3B8; }

@media (max-width: 575.98px) { .auth-card { padding: 24px 20px; } .hero { padding: 44px 0 56px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.rb-header .nav-link { white-space: nowrap; }

/* =========================================================
   Phase 2: landing sections, job cards, listing, detail, tracking
   ========================================================= */
.bg-accent-dark { background-color: var(--rb-accent-dark) !important; }
.section { padding: 64px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--rb-border); border-bottom: 1px solid var(--rb-border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; color: var(--rb-primary); margin-bottom: .4rem; }
.section-head p { color: var(--rb-muted); margin: 0; font-size: 1.05rem; }
.page-banner { background: linear-gradient(135deg, var(--rb-primary), #1E40AF); color: #fff; padding: 36px 0; }
.page-banner h1 { font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 .25rem; }
.page-banner p { margin: 0; color: #CBD5E1; }
.page-banner-sm { padding: 18px 0; }
.back-link { color: #fff; font-weight: 600; text-decoration: none; }
.back-link:hover { color: #fff; text-decoration: underline; }

/* hero search */
.hero-search { padding: 12px; border-radius: 14px; box-shadow: var(--rb-shadow-lg); }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--rb-muted); }
.input-icon .form-control { padding-left: 40px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: var(--rb-muted); }
.tag { display: inline-block; padding: 3px 12px; border: 1px solid var(--rb-border); border-radius: 999px; background: #fff; color: #334155; font-weight: 500; text-decoration: none; transition: all .15s; }
.tag:hover { border-color: var(--rb-accent); color: var(--rb-accent-dark); background: #F0FDFA; }
.select2-container--bootstrap-5 .select2-selection { border-radius: 10px; }
.hero .select2-container--bootstrap-5 .select2-selection, .alert-box .select2-container--bootstrap-5 .select2-selection { min-height: calc(1.5em + 1.3rem + 2px); }

/* stats */
.stats-strip { background: var(--rb-primary); color: #fff; padding: 34px 0; }
.stat-tile i { font-size: 1.5rem; color: #5EEAD4; }
.stat-num { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.15; }
.stat-cap { color: #CBD5E1; font-size: .9rem; font-weight: 500; }

/* categories */
.cat-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; height: 100%; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--rb-accent); box-shadow: var(--rb-shadow-lg); color: inherit; }
.cat-ico { width: 46px; height: 46px; border-radius: 12px; background: #CCFBF1; color: var(--rb-accent-dark); display: grid; place-items: center; font-size: 1.3rem; }
.cat-name { font-weight: 700; color: var(--rb-text); }
.cat-count { font-size: .85rem; color: var(--rb-muted); }

/* job card */
.co-logo { width: 48px; height: 48px; border-radius: 12px; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex: none; overflow: hidden; }
.co-logo img { width: 100%; height: 100%; object-fit: cover; }
.co-logo-lg { width: 64px; height: 64px; font-size: 1.6rem; border-radius: 14px; }
.job-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.job-card:hover { box-shadow: var(--rb-shadow-lg); border-color: #C7D2FE; transform: translateY(-2px); }
.job-title { font-size: 1.05rem; font-weight: 700; margin: 0; }
.job-title a { color: var(--rb-text); text-decoration: none; }
.job-title a:hover { color: var(--rb-primary); text-decoration: underline; }
.job-company { color: var(--rb-muted); font-weight: 500; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: .88rem; color: #475569; }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-meta i { color: var(--rb-accent); }
.job-meta-lg { font-size: .95rem; gap: 10px 22px; margin-bottom: 8px; }
.job-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rb-border); }
.job-time { font-size: .82rem; color: var(--rb-muted); }
.badge-cta, .badge-urgent { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge-cta { background: var(--rb-highlight); color: #0F172A; }
.badge-urgent { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.btn-save { border: 1px solid var(--rb-border); background: #fff; color: #475569; width: 36px; padding: 0; }
.btn-save:hover { color: #BE123C; border-color: #FDA4AF; }
.btn-save.is-saved { color: #BE123C; border-color: #FDA4AF; background: #FFF1F2; }
.job-card .btn-sm { font-size: .85rem; }

/* sliders */
.job-swiper, .testi-swiper { position: relative; padding-bottom: 38px; }
.swiper-pagination-bullet-active { background: var(--rb-primary); }
.swiper-btn { position: absolute; top: 40%; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rb-border); background: #fff; color: var(--rb-primary); box-shadow: var(--rb-shadow); display: none; place-items: center; }
.swiper-btn:hover { background: var(--rb-primary); color: #fff; }
.swiper-prev { left: -14px; }
.swiper-next { right: -14px; }
@media (min-width: 992px) { .swiper-btn { display: grid; } }
.job-swiper .swiper-slide { height: auto; }

/* resume promo */
.promo-steps { display: grid; gap: 18px; margin-bottom: 20px; }
.promo-steps li { display: flex; gap: 16px; align-items: flex-start; }
.promo-steps h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 2px; }
.promo-steps p { margin: 0; color: var(--rb-muted); }
.step-no { width: 38px; height: 38px; border-radius: 50%; background: var(--rb-primary); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.tpl-thumb { margin: 0; text-align: center; }
.tpl-thumb img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--rb-border); box-shadow: var(--rb-shadow-lg); background: #fff; }
.tpl-thumb figcaption { margin-top: 10px; font-weight: 600; color: #334155; }
.tpl-swiper { position: relative; padding: 10px 0 40px; }

/* tips + videos + testimonials */
.tip-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; transition: transform .2s, box-shadow .2s; }
.tip-card:hover { transform: translateY(-3px); box-shadow: var(--rb-shadow-lg); }
.tip-ico { width: 44px; height: 44px; border-radius: 12px; background: #E0E7FF; color: var(--rb-primary); display: grid; place-items: center; font-size: 1.25rem; }
.tip-cat { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rb-accent-dark); }
.tip-title { font-size: 1.08rem; font-weight: 700; margin: 0; }
.tip-sum { color: var(--rb-muted); margin: 0; flex-grow: 1; }
.tip-more { font-weight: 600; text-decoration: none; }
.tip-more:hover { text-decoration: underline; }
.video-card { display: block; text-decoration: none; color: inherit; }
.video-thumb { position: relative; display: block; border-radius: var(--rb-radius); overflow: hidden; aspect-ratio: 16/9; background: var(--rb-primary); box-shadow: var(--rb-shadow); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--rb-primary); display: grid; place-items: center; font-size: 1.8rem; }
.video-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(15,23,42,.85); color: #fff; font-size: .78rem; padding: 2px 8px; border-radius: 6px; }
.video-title { display: block; margin-top: 10px; font-weight: 600; color: var(--rb-text); }
.testi { margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.testi blockquote { margin: 0; color: #334155; flex-grow: 1; }
.stars { color: var(--rb-highlight); }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption small { display: block; color: var(--rb-muted); }

/* alert box */
.alert-box { background: linear-gradient(135deg, var(--rb-primary), #1E40AF); color: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--rb-shadow-lg); }
.alert-box h2 { font-size: 1.5rem; font-weight: 800; }
.alert-box p { color: #CBD5E1; }
.alert-box .invalid-feedback { color: #FECACA; }

/* footer extras */
.footer-lists { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 24px; }
.footer-chips li { margin: 0 4px 8px 0 !important; }
.footer-chips a { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: #CBD5E1; text-decoration: none; font-size: .85rem; }
.footer-chips a:hover { background: var(--rb-accent); color: #fff; }

/* listing + detail */
.filter-panel { padding: 20px; }
.filter-heading { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.job-detail .detail-h { font-size: 1.1rem; font-weight: 700; color: var(--rb-primary); margin: 26px 0 8px; }
.detail-text { color: #334155; line-height: 1.75; }
.detail-list { padding-left: 1.2rem; color: #334155; }
.detail-list li { margin-bottom: 6px; }
.apply-box { top: 90px; }
.job-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--rb-muted); margin-top: 10px; }
.job-facts dd { margin: 0; font-weight: 600; }
.stat-link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .2s; }
.stat-link:hover { transform: translateY(-2px); box-shadow: var(--rb-shadow-lg); color: inherit; }
.app-mini li { padding: 14px 18px; border-bottom: 1px solid var(--rb-border); }
.app-mini li:last-child { border-bottom: 0; }
.-mt-2 { margin-top: -.5rem; }

/* application tracking */
.status-pill { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #E0E7FF; color: #3730A3; }
.status-viewed { background: #E0F2FE; color: #075985; }
.status-shortlisted { background: #FEF3C7; color: #92400E; }
.status-interview { background: #EDE9FE; color: #5B21B6; }
.status-hired { background: #DCFCE7; color: #166534; }
.status-rejected { background: #FEE2E2; color: #991B1B; }
.timeline { list-style: none; display: flex; padding: 0; margin: 18px 0 14px; }
.timeline li { flex: 1; position: relative; text-align: center; font-size: .75rem; color: var(--rb-muted); }
.timeline li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: var(--rb-border); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--rb-border); margin: 0 auto 6px; font-size: .7rem; color: #fff; }
.timeline li.done .dot { background: var(--rb-accent-dark); border-color: var(--rb-accent-dark); }
.timeline li.done::before, .timeline li.current::before { background: var(--rb-accent-dark); }
.timeline li.current .dot { border-color: var(--rb-accent-dark); box-shadow: 0 0 0 4px rgba(15,118,110,.2); }
.timeline li.current, .timeline li.done { color: #0F172A; font-weight: 600; }
.timeline.is-rejected li:not(:first-child)::before { background: var(--rb-border); }
@media (max-width: 575.98px) { .timeline li { font-size: .62rem; } .section { padding: 44px 0; } .alert-box { padding: 24px; } .job-foot { flex-wrap: wrap; } }
.select2-container { z-index: 1; }
.swal2-container { z-index: 2000; }

/* =========================================================
   Phase 3: resume builder pages (list, thumbnails, template pickers)
   ========================================================= */
.tpl-frame { position: relative; width: 100%; aspect-ratio: 794 / 1123; overflow: hidden; background: #fff; border: 1px solid var(--rb-border); border-radius: 6px; box-shadow: 0 4px 14px -6px rgba(15,23,42,.25); }
.tpl-frame iframe { position: absolute; left: 0; top: 0; width: 794px; height: 1123px; border: 0; transform-origin: 0 0; pointer-events: none; background: #fff; }
.tpl-card { text-align: center; transition: transform .2s; } .tpl-card:hover { transform: translateY(-4px); }
.tpl-card figcaption { margin-top: 10px; font-weight: 600; color: #334155; }
.feat-card { padding: 20px; } .feat-card h2 { font-size: 1.05rem; font-weight: 700; margin: 12px 0 4px; } .feat-card p { margin: 0; color: var(--rb-muted); font-size: .92rem; }
.tpl-opt { width: 100%; border: 2px solid transparent; background: #fff; border-radius: 12px; padding: 6px; cursor: pointer; text-align: center; transition: all .15s; display: block; }
.tpl-opt:hover { border-color: #C7D2FE; }
.tpl-opt.on, .btn-check:checked + .tpl-opt { border-color: var(--rb-primary); box-shadow: 0 0 0 3px rgba(30,58,138,.15); }
.tpl-opt span { display: block; font-size: .8rem; font-weight: 600; margin-top: 6px; color: var(--rb-text); }
.resume-card { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.resume-card:hover { box-shadow: var(--rb-shadow-lg); transform: translateY(-2px); }
.resume-thumb { display: block; padding: 14px 40px 0; background: linear-gradient(180deg, #EEF2FF, #E2E8F0); text-decoration: none; }
.resume-thumb .tpl-frame { border-radius: 4px 4px 0 0; border-bottom: 0; max-height: 300px; aspect-ratio: 794 / 560; }
.resume-body { padding: 16px 18px 18px; }
.resume-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; }
.resume-title a { color: var(--rb-text); text-decoration: none; } .resume-title a:hover { color: var(--rb-primary); text-decoration: underline; }
.resume-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .85rem; color: #475569; }
.tpl-picker .tpl-opt .tpl-frame { box-shadow: none; }

.tpl-thumb-box .tpl-frame { border-radius: 10px; box-shadow: var(--rb-shadow-lg); }

/* ---- Phase 4: tips, bookmarks, videos ---- */
.btn-bookmark { border: 0; background: transparent; color: var(--rb-muted); font-size: 1.25rem; line-height: 1; padding: 6px; border-radius: 8px; }
.btn-bookmark:hover, .btn-bookmark.is-on { color: var(--rb-primary); background: #E0E7FF; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 12px; text-decoration: none; color: var(--rb-text); height: 100%; transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--rb-shadow-lg); color: var(--rb-text); }
.tip-body { font-size: 1.05rem; line-height: 1.75; }
.tip-body h2, .tip-body h3, .tip-body h4 { font-weight: 700; margin: 1.4em 0 .5em; font-size: 1.2rem; }
.tip-body ul, .tip-body ol { padding-left: 1.4rem; }
.tip-body li { margin-bottom: .4em; }
.tip-body blockquote { border-left: 4px solid var(--rb-primary); background: #EEF2FF; margin: 1em 0; padding: .6em 1em; border-radius: 0 8px 8px 0; }
.related-tip { color: var(--rb-text); transition: box-shadow .2s; }
.related-tip:hover { box-shadow: var(--rb-shadow-lg); color: var(--rb-text); }
.breadcrumb-light .breadcrumb-item a { color: #CBD5E1; }
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before, .breadcrumb-light .breadcrumb-item.active { color: #94A3B8; }
.admin-table th { white-space: nowrap; }
.admin-form .note-editor { border-radius: 8px; }

/* ---- Phase 5: admin ---- */
.cell-clip { display: inline-block; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.chart-box { position: relative; height: 280px; }
.chart-box-sm { height: 220px; }
.admin-feed li { position: relative; padding: 9px 44px 9px 0; border-bottom: 1px solid var(--rb-border); }
.admin-feed li:last-child { border-bottom: 0; }
.admin-feed li a { font-weight: 600; text-decoration: none; }
.admin-feed .badge { position: absolute; right: 0; top: 12px; }

/* =====================================================================
   Phase 6 - photographic design layer
   Photos live in assets/img/bg (<name>.jpg desktop, <name>-sm.jpg mobile).
   Every text-over-photo block has its own dark overlay so text stays readable.
   ===================================================================== */
:root { --rb-ink: #0B1220; --rb-glass: rgba(255,255,255,.12); }

/* photo blocks that load when scrolled near (data-lazy-bg set by app.js) */
.bg-photo { position: relative; isolation: isolate; background-color: #0F1B3D; background-size: cover; background-position: center; }
.bg-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(11,18,32,.88), rgba(30,58,138,.80)); }
.bg-photo > * { position: relative; }

/* ---------- hero (full screen) ---------- */
.hero.hero-photo { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: flex; align-items: center; padding: 80px 0 96px; background: var(--rb-ink); color: #fff; }
.hero-photo .container { width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; transform-origin: 60% 40%; animation: heroZoom 26s ease-in-out infinite alternate; will-change: transform; }
.hero.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8,14,32,.94) 0%, rgba(14,26,66,.86) 42%, rgba(30,58,138,.55) 100%), linear-gradient(0deg, rgba(8,14,32,.55), transparent 35%); }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-photo .hero-pill { background: var(--rb-glass); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.hero-photo .hero-title { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-photo .hero-sub { color: #E2E8F0; }
.hero-photo .popular { color: #CBD5E1; }
.hero-photo .tag { background: var(--rb-glass); border-color: rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(4px); }
.hero-photo .tag:hover { background: rgba(255,255,255,.24); color: #fff; border-color: #fff; }
.hero-photo .hero-search { background: rgba(255,255,255,.97); box-shadow: 0 24px 60px -18px rgba(0,0,0,.55); }
.hero-photo .resume-mock { animation: floaty 7s ease-in-out infinite; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(1.5deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 1.4rem; text-decoration: none; animation: nudge 2s ease-in-out infinite; }
.hero-scroll:hover { color: #fff; }
@keyframes nudge { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
@media (max-width: 767.98px) { .hero-bg { background-image: var(--bg-sm); } .hero.hero-photo { padding: 56px 0 72px; } }

/* ---------- stats band + dark photo section ---------- */
.stats-strip.bg-photo { padding: 56px 0; }
.stats-strip.bg-photo::before { background: linear-gradient(135deg, rgba(10,25,70,.90), rgba(13,110,120,.78)); }
.section-photo { color: #fff; }
.section-photo::before { background: linear-gradient(180deg, rgba(8,14,32,.92), rgba(18,33,84,.88)); }
.section-photo .section-head h2 { color: #fff; }
.section-photo .section-head p { color: #CBD5E1; }
.section-photo .tip-card { background: rgba(255,255,255,.98); }

/* ---------- inner page banners ---------- */
.page-banner.photo-banner { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 60px; background: var(--bg) center / cover no-repeat, var(--rb-ink); }
.page-banner.photo-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,14,32,.90) 0%, rgba(20,38,98,.80) 55%, rgba(30,58,138,.55) 100%); }
.page-banner.photo-banner h1 { text-shadow: 0 2px 18px rgba(0,0,0,.35); font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; }
.page-banner.photo-banner p { color: #E2E8F0; max-width: 720px; font-size: 1.05rem; }
.page-banner.photo-banner .banner-sub { color: #E2E8F0; }
.page-banner.photo-banner.page-banner-sm { padding: 40px 0 24px; }
.breadcrumb-light { font-size: .88rem; }
.breadcrumb-light .breadcrumb-item a { color: #CBD5E1; text-decoration: none; }
.breadcrumb-light .breadcrumb-item a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before { color: #94A3B8; }
.breadcrumb-light .breadcrumb-item.active { color: #fff; font-weight: 600; max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 767.98px) { .page-banner.photo-banner { background-image: var(--bg-sm), none; padding: 48px 0 40px; } .page-banner.photo-banner.page-banner-sm { padding: 30px 0 18px; } }

/* ---------- alert (newsletter) box ---------- */
.alert-box.bg-photo { background-color: #14234F; border-radius: 20px; overflow: hidden; padding: 44px; }
.alert-box.bg-photo::before { border-radius: 20px; background: linear-gradient(110deg, rgba(8,14,32,.92), rgba(30,58,138,.82)); }
@media (max-width: 575.98px) { .alert-box.bg-photo { padding: 26px 20px; } }

/* ---------- auth pages: full-bleed photo behind the form ---------- */
.auth-wrap.auth-photo { position: relative; isolation: isolate; background: var(--bg) center / cover no-repeat, var(--rb-ink); }
.auth-wrap.auth-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(8,14,32,.78), rgba(30,58,138,.55)); }
.auth-photo .auth-card { background: rgba(255,255,255,.97); box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); border: 0; backdrop-filter: blur(8px); }
@media (max-width: 767.98px) { .auth-wrap.auth-photo { background-image: var(--bg-sm), none; } }

/* ---------- dashboard welcome ---------- */
.welcome-card.welcome-photo { position: relative; isolation: isolate; overflow: hidden; color: #fff; border: 0; background: var(--bg) center / cover no-repeat, var(--rb-ink); padding: 34px 28px; }
.welcome-card.welcome-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,14,32,.88), rgba(30,58,138,.70)); }
.welcome-photo h2 { color: #fff; }
.welcome-photo .welcome-sub { color: #CBD5E1; }
@media (max-width: 767.98px) { .welcome-card.welcome-photo { background-image: var(--bg-sm), none; } }

/* ---------- parallax (desktop pointers only; off for reduced motion) ---------- */
@media (hover: hover) and (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .page-banner.photo-banner, .stats-strip.bg-photo, .section-photo, .auth-wrap.auth-photo { background-attachment: fixed; }
}

/* ---------- scroll reveal + hover polish ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-delay, 0ms); }
.rv.rv-in { opacity: 1; transform: none; }
.tpl-card { transition: transform .25s ease; } .tpl-card:hover { transform: translateY(-6px); }
.rb-card.feat-card { transition: transform .25s, box-shadow .25s; } .rb-card.feat-card:hover { transform: translateY(-4px); box-shadow: var(--rb-shadow-lg); }
.job-card { transition: transform .2s, box-shadow .2s; } .job-card:hover { transform: translateY(-2px); box-shadow: var(--rb-shadow-lg); }
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-photo .resume-mock, .hero-scroll { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}
.section-photo .rb-card { color: var(--rb-text); }
.section-photo .tip-title { color: var(--rb-text); }

/* =====================================================================
   Phase 7 - module shell polish (sidebar, content area, illustrations)
   ===================================================================== */
:root { --rb-slate-900: #0B1329; --rb-slate-800: #111C3A; --rb-app-bg: #F1F5FB; --rb-teal-glow: #2DD4BF; }

/* dark slate-navy sidebar with clear hover / active states (candidate + admin) */
.app-sidebar, .offcanvas-lg.app-sidebar { background: linear-gradient(180deg, var(--rb-slate-800) 0%, var(--rb-slate-900) 100%); color: #fff; border-right: 1px solid rgba(255,255,255,.06); }
.admin-sidebar, .admin-sidebar.offcanvas-lg { background: linear-gradient(180deg, #0F172A 0%, #070C1B 100%); }
@media (min-width: 992px) {
  .app-sidebar.offcanvas-lg { background: linear-gradient(180deg, var(--rb-slate-800) 0%, var(--rb-slate-900) 100%) !important; background-color: var(--rb-slate-900) !important; }
  .app-sidebar.admin-sidebar.offcanvas-lg { background: linear-gradient(180deg, #0F172A 0%, #070C1B 100%) !important; }
}
.app-sidebar-head { border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; padding-bottom: 16px; }
.app-sidebar .navbar-brand { font-weight: 800; letter-spacing: -.01em; }
.side-nav { gap: 4px; }
.side-link { position: relative; color: #AAB6CC; font-weight: 600; font-size: .95rem; padding: 11px 14px; border-radius: 10px; }
.side-link i { color: #7C8BA8; width: 22px; text-align: center; transition: color .15s; }
.side-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.side-link:hover i { color: var(--rb-teal-glow); }
.side-link:focus-visible { outline: 2px solid var(--rb-teal-glow); outline-offset: 2px; }
.side-link.active { background: linear-gradient(90deg, rgba(45,212,191,.20), rgba(45,212,191,.05)); color: #fff; box-shadow: none; }
.side-link.active::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--rb-teal-glow); }
.side-link.active i { color: var(--rb-teal-glow); }

/* soft, consistent content area */
body.app-body { background: var(--rb-app-bg); }
.app-topbar { background: rgba(255,255,255,.9); box-shadow: 0 1px 0 var(--rb-border); }
.app-title { color: var(--rb-primary); letter-spacing: -.01em; }
.app-content { padding: 26px 28px 48px; }
.app-content .rb-card { border-color: #E3E9F4; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 6px 20px -10px rgba(30,58,138,.14); }
.app-content h2.h4, .app-content h2.h5, .app-content h2.h6 { color: #12214F; }
.app-content .table > thead th { background: #F4F7FD; color: #334155; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--rb-border); }
.app-content .section-head-soft { background: #EAF0FB; border-radius: 10px; padding: 10px 14px; }
@media (max-width: 991.98px) { .app-content { padding: 16px 14px 40px; } }

/* public pages shown inside the dashboard shell (Jobs, Interview prep, Videos...) */
.app-content .container { max-width: none; padding-left: 0; padding-right: 0; }
.app-content .page-banner { border-radius: 16px; margin-bottom: 4px; }
.app-content .page-banner.photo-banner { padding: 40px 0 34px; background-attachment: scroll; }
.app-content .page-banner.photo-banner > .container { padding: 0 28px; }
.app-content .page-banner.page-banner-sm { padding: 26px 0 18px; }
.app-content .page-banner.page-banner-sm > .container { padding: 0 24px; }
.app-content .filter-panel { top: 76px; }
@media (max-width: 575.98px) { .app-content .page-banner.photo-banner > .container { padding: 0 18px; } }

/* illustrations */
.page-banner .banner-art { position: absolute; right: 4%; bottom: -6px; width: min(340px, 30vw); height: auto; z-index: 0; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.page-banner.photo-banner > .container { position: relative; z-index: 1; }
.page-banner .banner-art ~ .container, .page-banner.photo-banner:has(.banner-art) > .container { padding-right: min(380px, 34vw); }
@media (max-width: 991.98px) { .page-banner .banner-art { display: none; } .page-banner.photo-banner:has(.banner-art) > .container { padding-right: 12px; } }
.empty-art { display: block; width: min(220px, 60%); height: auto; margin: 0 auto 1rem; }

/* hero portrait (replaces the resume mock-up) */
.hero-portrait { position: relative; max-width: 460px; margin-left: auto; animation: floaty2 8s ease-in-out infinite; }
.hero-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 780; object-fit: cover; object-position: 38% 50%; border-radius: 28px; border: 6px solid rgba(255,255,255,.22); box-shadow: 0 40px 80px -24px rgba(0,0,0,.65); }
.hero-portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border-radius: 28px; background: linear-gradient(135deg, rgba(13,148,136,.55), rgba(245,158,11,.35)); filter: blur(.5px); }
.hp-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--rb-text); font-weight: 700; font-size: .9rem; box-shadow: 0 16px 36px -12px rgba(0,0,0,.45); white-space: nowrap; }
.hp-chip i { color: var(--rb-accent-dark); font-size: 1.15rem; }
.hp-chip-1 { left: -34px; bottom: 56px; } .hp-chip-2 { right: -14px; top: 40px; }
.hp-chip-2 i { color: var(--rb-primary); }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-portrait { animation: none; } }

/* ---------- profile page ---------- */
.avatar-img { object-fit: cover; }
.profile-hero { display: grid; grid-template-columns: auto 1fr minmax(240px, 320px); gap: 24px; align-items: center; padding: 24px; }
.ph-photo { position: relative; width: 104px; height: 104px; }
.ph-photo > img, .ph-initial { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 8px 24px -8px rgba(30,58,138,.4); display: grid; place-items: center; }
.ph-initial { background: linear-gradient(135deg, var(--rb-primary), #2F54C4); color: #fff; font-size: 2.4rem; font-weight: 800; }
.ph-cam { position: absolute; right: -2px; bottom: -2px; margin: 0; }
.ph-cam-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--rb-accent-dark); color: #fff; display: grid; place-items: center; cursor: pointer; border: 3px solid #fff; transition: transform .15s, background .15s; }
.ph-cam-btn:hover { background: #115E59; transform: scale(1.08); }
.profile-hero.is-uploading { opacity: .6; pointer-events: none; }
.ph-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 12px !important; }
.ph-checks a { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--rb-muted); text-decoration: none; font-weight: 600; }
.ph-checks i { color: #CBD5E1; } .ph-checks .done a { color: var(--rb-text); } .ph-checks .done i { color: var(--rb-accent-dark); }
.ph-checks a:hover { color: var(--rb-primary); }
@media (max-width: 991.98px) { .profile-hero { grid-template-columns: auto 1fr; } .ph-meter { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .profile-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; } .ph-info .d-flex { justify-content: center; } .ph-meter { width: 100%; text-align: left; } }

/* ---------- separate admin sign-in ---------- */
body.admin-login-body { background: radial-gradient(900px 500px at 85% -10%, rgba(45,212,191,.16), transparent 60%), linear-gradient(160deg, #0B1329 0%, #111C3A 60%, #0B1329 100%); min-height: 100vh; }
.admin-login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.admin-login-card { width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 34px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.al-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--rb-primary); margin-bottom: 22px; }
.al-ico { width: 40px; height: 40px; border-radius: 12px; background: #0B1329; color: #2DD4BF; display: grid; place-items: center; font-size: 1.2rem; }
body.admin-login-body .container { max-width: 420px; margin-left: auto; margin-right: auto; position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
@media (max-width: 575.98px) { .admin-login-card { padding: 26px 20px; } }

/* admin sign-in: city-at-dusk photo under a navy overlay */
.admin-login-wrap { position: relative; isolation: isolate; background: var(--bg) center / cover no-repeat, #0B1329; }
.admin-login-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(7,12,30,.92) 0%, rgba(11,19,41,.80) 45%, rgba(17,28,58,.62) 100%); }
.admin-login-card { background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35); }
@media (max-width: 767.98px) { .admin-login-wrap { background-image: var(--bg-sm), none; } }
@media (max-width: 575.98px) { .lang-toggle .lt-opt { padding: 2px 9px; font-size: .78rem; } }

/* dashboard: job location question */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 16px; max-height: 220px; overflow-y: auto; padding: 10px 12px; border: 1px solid var(--rb-border); border-radius: 10px; background: #F8FAFC; }

/* My resume page: hero card + improvement tips + interview guide */
.resume-hero { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); overflow: hidden; }
.resume-hero-thumb { display: block; padding: 22px 28px 0; background: linear-gradient(160deg, #E0E7FF, #F1F5F9); text-decoration: none; align-self: stretch; }
.resume-hero-thumb .tpl-frame { border-radius: 6px 6px 0 0; border-bottom: 0; box-shadow: 0 10px 28px -10px rgba(15,23,42,.35); transition: transform .2s; }
.resume-hero-thumb:hover .tpl-frame { transform: translateY(-3px); }
.resume-hero-body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.resume-hero .resume-title { font-size: 1.5rem; font-weight: 800; margin: 2px 0 6px; } .resume-hero .resume-title a { color: var(--rb-text); text-decoration: none; }
.resume-meter { margin: 14px 0 6px; }
.resume-cheer { margin: 4px 0 14px; padding: 8px 12px; background: #ECFDF5; color: #065F46; border-radius: 10px; font-size: .9rem; }
.tip-checks li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--rb-border); }
.tip-checks li:last-child { border-bottom: 0; }
.tip-checks .bi { font-size: 1.15rem; margin-top: 1px; flex: none; }
.tip-checks .is-done .bi { color: #16A34A; } .tip-checks .is-todo .bi { color: #F59E0B; }
.iv-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.iv-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--rb-primary); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.iv-points { display: flex; flex-wrap: wrap; gap: 8px; }
.iv-chip { background: #EEF2FF; color: var(--rb-primary); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 600; }
.iv-note { background: #FFFBEB; color: #92400E; border-radius: 10px; padding: 10px 14px; font-size: .92rem; }
@media (max-width: 767.98px) { .resume-hero { grid-template-columns: 1fr; } .resume-hero-thumb { padding: 18px 40px 0; } .resume-hero-body { padding: 20px; } }

/* Interview prep: "Tell me about yourself" */
.ty-feature { display: flex; align-items: center; gap: 16px; padding: 18px 22px; text-decoration: none; color: inherit; border-left: 5px solid var(--rb-primary); transition: box-shadow .2s, transform .2s; flex-wrap: wrap; }
.ty-feature:hover { box-shadow: var(--rb-shadow-lg); transform: translateY(-2px); color: inherit; }
.ty-feature-ico { width: 52px; height: 52px; border-radius: 14px; background: #E0E7FF; color: var(--rb-primary); display: grid; place-items: center; font-size: 1.5rem; flex: none; }
.ty-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--rb-primary); color: #fff; font-size: .75rem; font-weight: 700; margin-right: 4px; }
.ty-cues li { padding: 12px 14px; margin-bottom: 8px; background: #F8FAFC; border: 1px solid var(--rb-border); border-radius: 10px; font-weight: 600; }
.ty-timer { font-size: 2.6rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ty-timer.ok { color: #16A34A; } .ty-timer.over { color: #DC2626; }
.ty-say { padding: 0 6px; font-size: 1.1rem; vertical-align: baseline; text-decoration: none; }
.ty-part.ty-reading { background: #FFFBEB; border-color: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,.25); }

/* Check Resume % Matching */
.mt-top { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.mt-percent { font-size: 3.2rem; font-weight: 800; line-height: 1; min-width: 110px; font-variant-numeric: tabular-nums; }
.mt-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 18px; margin-bottom: 16px; }
.mt-chip { display: inline-block; margin: 0 6px 6px 0; padding: 3px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; border: 1px solid transparent; }
.mt-chip.ok { background: #DCFCE7; color: #166534; }
.mt-chip.add { background: #FFF7ED; color: #9A3412; border-color: #FDBA74; cursor: pointer; }
.mt-chip.add:hover:not(:disabled) { background: #FFEDD5; }
.mt-chip.add.done { background: #DCFCE7; color: #166534; border-color: #86EFAC; cursor: default; }
.mt-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--rb-border); }
.mt-steps li:last-child { border-bottom: 0; }
.mt-gain { flex: none; min-width: 52px; text-align: center; padding: 2px 8px; border-radius: 8px; background: #DBEAFE; color: #1E40AF; font-weight: 700; font-size: .85rem; }
.mt-chips { margin-top: 8px; }
.mt-summary { background: #F8FAFC; border: 1px solid var(--rb-border); border-radius: 8px; padding: 8px 12px; font-size: .9rem; }

/* Viva questions (under the % match): a bordered table */
.viva-wrap { border: 1px solid var(--rb-border); border-radius: 12px; overflow: hidden; background: #fff; }
.viva-table { margin: 0; }
.viva-table thead th { background: #F1F5F9; color: #334155; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: 10px 14px; border-bottom: 2px solid var(--rb-border); }
.viva-table td { padding: 12px 14px; vertical-align: top; border-color: var(--rb-border); }
.viva-table tbody tr:nth-child(even) { background: #F8FAFC; }
.viva-table tbody tr:hover { background: #EFF6FF; }
.viva-col-no { width: 52px; text-align: center; }
.viva-col-ans { width: 46%; }
.viva-no { text-align: center; font-weight: 700; color: #1E40AF; font-variant-numeric: tabular-nums; }
.viva-qtext { font-weight: 600; color: #0F172A; }
.viva-text { font-size: .92rem; color: #166534; background: #F0FDF4; border-left: 3px solid #22C55E; border-radius: 4px; padding: 6px 10px; margin-top: 8px; }
@media (max-width: 767px) { .viva-col-ans { width: 52%; } .viva-table td, .viva-table thead th { padding: 9px 10px; } }

/* The two big tabs under the form: "% Match of Resume" | "Interview Questions" - large cards, the selected one is solid blue with a tick */
.mt-tabs-hint { font-weight: 600; color: #475569; margin-bottom: 8px; }
.mt-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mt-tab { position: relative; display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; padding: 14px 16px; border-radius: 14px; cursor: pointer; background: #fff; color: #1E293B; border: 2px dashed #94A3B8; transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; }
.mt-tab:hover { transform: translateY(-2px); border-color: #2563EB; border-style: solid; background: #EFF6FF; box-shadow: 0 6px 16px rgba(37,99,235,.18); }
.mt-tab-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: #DBEAFE; color: #1D4ED8; }
.mt-tab-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.mt-tab-text b { font-size: 1.05rem; }
.mt-tab-text small { font-size: .8rem; opacity: .8; }
.mt-tab-state { flex: none; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #FEF3C7; color: #92400E; white-space: nowrap; }
.mt-tab-state::before { content: '\2192  '; }
.mt-tab.active { background: linear-gradient(135deg, #1D4ED8, #3B82F6); color: #fff; border: 2px solid #1D4ED8; box-shadow: 0 8px 20px rgba(37,99,235,.4); transform: none; }
.mt-tab.active .mt-tab-icon { background: rgba(255,255,255,.22); color: #fff; }
.mt-tab.active .mt-tab-state { background: #fff; color: #166534; }
.mt-tab.active .mt-tab-state::before { content: '\2713  '; }
.mt-tab.active::after { content: ''; position: absolute; left: 50%; bottom: -11px; margin-left: -10px; border: 10px solid transparent; border-bottom: 0; border-top-color: #1D4ED8; }
.mt-tab:not(.active) .mt-tab-state { animation: mtPulse 1.8s infinite; }
@keyframes mtPulse { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.7); } 70% { box-shadow: 0 0 0 8px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
@media (max-width: 575px) { .mt-tabs { gap: 8px; } .mt-tab { flex-wrap: wrap; padding: 10px; gap: 8px; } .mt-tab-icon { width: 36px; height: 36px; font-size: 1.1rem; } .mt-tab-text b { font-size: .9rem; } .mt-tab-state { order: 3; width: 100%; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .mt-tab:not(.active) .mt-tab-state { animation: none; } .mt-tab:hover { transform: none; } }

/* Home page slider (Admin > Home slides) */
.hs { position: relative; background: #0F172A; }
.hs-slide { position: relative; min-height: 440px; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 45%, #000)); background-size: cover; background-position: center; }
.hs-slide::before { content: ''; position: absolute; right: -90px; top: -90px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hs-slide::after { content: ''; position: absolute; right: 12%; bottom: -130px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hs-slide.has-img::before, .hs-slide.has-img::after { display: none; }
.hs-slide.has-img > .container { position: relative; z-index: 1; }
.hs-slide.has-img { background-color: var(--c); }
.hs-slide.has-img::before { display: block; inset: 0; right: auto; top: 0; width: 100%; height: 100%; border-radius: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.2) 70%, transparent); }
.hs-body { position: relative; z-index: 1; max-width: 640px; padding: 48px 56px 64px 0; }
.hs-count { display: inline-block; margin-bottom: 14px; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: .8rem; font-weight: 700; letter-spacing: .06em; }
.hs-title { font-size: clamp(1.7rem, 4.2vw, 2.9rem); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.hs-text { font-size: 1.1rem; opacity: .92; margin-bottom: 24px; }
.hs-nav { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #1E3A8A; font-size: 1.2rem; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .15s, background .15s; }
.hs-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hs-prev { left: 16px; } .hs-next { right: 16px; }
.hs-dots.swiper-pagination { bottom: 16px; }
.hs-dots .swiper-pagination-bullet { width: 11px; height: 11px; background: #fff; opacity: .55; transition: width .2s, opacity .2s; }
.hs-dots .swiper-pagination-bullet-active { width: 32px; border-radius: 6px; opacity: 1; }
@media (max-width: 767px) { .hs-slide { min-height: 400px; } .hs-body { padding: 36px 20px 64px 20px; } .hs-nav { display: none; } .hs-text { font-size: 1rem; } }

/* Landing-page popup (Admin > Popups) */
.promo { border: 0; border-radius: 18px; overflow: hidden; }
.promo-x { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; padding: 0; border-radius: 50%; background-color: #fff; opacity: 1; box-shadow: 0 2px 8px rgba(0,0,0,.3); background-size: 12px; }
.promo-img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.promo-color { height: 150px; display: grid; place-items: center; font-size: 3.5rem; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 45%, #000)); }
.promo-body { padding: 22px 24px 20px; }

/* ---- super admin analytics table ---- */
.sa-table-card .sa-table thead th { white-space: nowrap; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: #475569; background: #F1F5F9; border-bottom: 2px solid #CBD5E1; }
.sa-table-card .sa-table tbody tr:nth-child(even) { background: rgba(241, 245, 249, .5); }
.sa-table-card .sa-table td, .sa-table-card .sa-table th { padding: .6rem .75rem; }
.sa-table-card .sa-table tfoot td { border-top: 2px solid #CBD5E1; background: #F1F5F9; }
.sa-table-card a.sa-num { font-weight: 600; text-decoration: none; border-bottom: 1px dashed currentColor; }
.sa-table-card a.sa-num:hover { border-bottom-style: solid; }
.sa-table-card .sa-pct { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; min-width: 150px; }
.sa-table-card .sa-pct .progress { flex: 1 1 90px; height: 8px; max-width: 110px; }
.sa-table-card .sa-pct span { min-width: 2.6rem; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* =====================================================================
   Phase 8 - vibrant palette: royal blue + sunrise orange on soft
   lavender/peach tints (same family as the Bihar Career site, richer).
   Tokens first (everything above reads them), then targeted overrides.
   ===================================================================== */
:root {
  --rb-primary: #2342B8;  --rb-primary-hover: #1B3597;
  --rb-accent: #F26B0F;   --rb-accent-dark: #C2410C;
  --rb-highlight: #FF8A1F; --rb-highlight-hover: #F26B0F;
  --rb-bg: #F6F7FF; --rb-border: #E3E7F7; --rb-text: #1B2147; --rb-muted: #5F6788;
  --rb-ink: #0E1546; --rb-slate-900: #0C1250; --rb-slate-800: #17227A; --rb-app-bg: #F3F5FF; --rb-teal-glow: #FFB066;
  --rb-grad: linear-gradient(135deg, #2342B8 0%, #5B3FD4 55%, #F26B0F 130%);
  --rb-grad-warm: linear-gradient(135deg, #FF8A1F, #F43F5E);
  --rb-shadow: 0 1px 2px rgba(35,66,184,.06), 0 6px 18px -6px rgba(35,66,184,.14);
  --rb-shadow-lg: 0 22px 44px -14px rgba(35,66,184,.30);
  --bs-primary-rgb: 35, 66, 184;
  --bs-link-color: #2342B8; --bs-link-hover-color: #C2410C;
}
h1, h2, h3, h4, h5, .navbar-brand, .btn, .section-head h2, .stat-num, .hero-title { font-family: 'Poppins', var(--rb-font); }
body.lang-hi h1, body.lang-hi h2, body.lang-hi h3, body.lang-hi h4, body.lang-hi h5, body.lang-hi .btn, body.lang-hi .navbar-brand { font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible { outline-color: rgba(242,107,15,.6); }
.form-control:focus, .form-select:focus { border-color: var(--rb-primary); box-shadow: 0 0 0 .25rem rgba(35,66,184,.18); }
body { background: var(--rb-bg); }

/* buttons */
.btn-primary { --bs-btn-active-bg: #172E80; --bs-btn-active-border-color: #172E80; box-shadow: 0 6px 16px -6px rgba(35,66,184,.55); }
.btn-accent { --bs-btn-bg: var(--rb-accent-dark); --bs-btn-border-color: var(--rb-accent-dark); --bs-btn-hover-bg: #9A3412; --bs-btn-hover-border-color: #9A3412; --bs-btn-active-bg: #7C2D12; }
.btn-cta { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-bg: #F26B0F; --bs-btn-border-color: transparent; --bs-btn-hover-bg: #D85A05; --bs-btn-hover-border-color: transparent; --bs-btn-active-bg: #BF4D04; --bs-btn-active-color: #fff;
  background-image: var(--rb-grad-warm); box-shadow: 0 8px 20px -8px rgba(244,63,94,.65); }
.btn-cta:hover { background-image: linear-gradient(135deg, #F26B0F, #E11D48); transform: translateY(-1px); }
.badge-cta { background: var(--rb-grad-warm); color: #fff; }
.badge-urgent { background: #FFF1E6; color: #9A3412; border-color: #FDBA74; }

/* header */
.rb-header { border-bottom: 0; box-shadow: 0 2px 14px rgba(35,66,184,.08); position: relative; }
.rb-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #2342B8, #7C5CF0 45%, #FF8A1F); }
.rb-header .nav-link:hover { background: #EEF1FF; }
.rb-header .nav-link.active { background: var(--rb-grad); color: #fff; }
.lang-toggle .lt-thumb, .avatar, .step-no { background: var(--rb-grad); }

/* hero: blue -> violet -> a warm orange glow, instead of near-black */
.hero { background: radial-gradient(900px 420px at 100% -10%, rgba(242,107,15,.16), transparent 60%), radial-gradient(700px 420px at 0% 0%, rgba(124,92,240,.14), transparent 60%), var(--rb-bg); }
.hero-pill { background: #FFEDD5; color: #9A3412; }
.hero-points i, .job-meta i { color: var(--rb-accent); }
.hero.hero-photo { background: var(--rb-ink); }
.hero.hero-photo::before { background: linear-gradient(100deg, rgba(14,21,70,.92) 0%, rgba(35,66,184,.80) 46%, rgba(124,60,200,.55) 78%, rgba(242,107,15,.42) 100%), linear-gradient(0deg, rgba(14,21,70,.5), transparent 35%); }
.hero-photo .hero-pill { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.hero-photo .hero-title { text-shadow: 0 2px 24px rgba(10,16,60,.45); }
.hero-photo .hero-sub { color: #E8ECFF; }
.hero-photo .hero-search { box-shadow: 0 26px 60px -18px rgba(10,16,60,.6), 0 0 0 4px rgba(255,255,255,.18); }
.hero-photo .tag:hover { background: rgba(255,138,31,.4); }
.hero-portrait::before { background: linear-gradient(135deg, rgba(255,138,31,.65), rgba(124,92,240,.5)); }
.hp-chip i { color: var(--rb-accent); }
.rm-title { background: var(--rb-accent); } .rm-tags span { background: #FFEDD5; } .rm-avatar { background: var(--rb-grad); }

/* photo overlays */
.bg-photo { background-color: #14206B; }
.bg-photo::before { background: linear-gradient(135deg, rgba(14,21,70,.88), rgba(35,66,184,.80)); }
.stats-strip.bg-photo::before { background: linear-gradient(120deg, rgba(20,32,120,.92), rgba(91,63,212,.82) 55%, rgba(242,107,15,.72)); }
.stat-tile i { color: #FFD3A3; }
.stat-cap { color: #E3E8FF; }
.section-photo::before { background: linear-gradient(180deg, rgba(14,21,70,.93), rgba(35,50,150,.88)); }
.section-photo .section-head p { color: #D6DCFF; }
.page-banner { background: var(--rb-grad); }
.page-banner.photo-banner::before { background: linear-gradient(100deg, rgba(14,21,70,.90) 0%, rgba(35,66,184,.80) 55%, rgba(242,107,15,.40) 100%); }
.alert-box { background: var(--rb-grad); }
.alert-box.bg-photo { background-color: #14206B; }
.alert-box.bg-photo::before { background: linear-gradient(110deg, rgba(14,21,70,.90), rgba(35,66,184,.80) 60%, rgba(242,107,15,.55)); }
.auth-wrap.auth-photo::before { background: linear-gradient(120deg, rgba(14,21,70,.80), rgba(35,66,184,.58) 65%, rgba(242,107,15,.30)); }
.welcome-card.welcome-photo::before { background: linear-gradient(100deg, rgba(14,21,70,.88), rgba(35,66,184,.72) 65%, rgba(242,107,15,.40)); }
.welcome-card { background: linear-gradient(135deg, #fff, #EEF1FF 60%, #FFF3E6); }
.breadcrumb-light .breadcrumb-item a, .page-banner p, .page-banner.photo-banner p { color: #E3E8FF; }

/* sections + headings */
.section-alt { background: linear-gradient(180deg, #FFFFFF, #F8F9FF); border-color: #E8ECFA; }
.section-head h2 { color: var(--rb-primary); position: relative; padding-bottom: 14px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 64px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, #2342B8, #FF8A1F); }
.section-photo .section-head h2 { color: #fff; }

/* cards: tinted, with an orange top edge on hover */
.rb-card { border-color: var(--rb-border); }
.cat-card, .cat-tile, .tip-card, .feat-card { background: linear-gradient(160deg, #EEF1FF 0%, #fff 62%); border-top: 4px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card:hover, .cat-tile:hover, .tip-card:hover, .feat-card:hover { border-top-color: var(--rb-accent); border-color: #F9C79A; }
.cat-ico, .stat-ico { background: linear-gradient(145deg, #FFEDD5, #FFD9B0); color: #C2410C; }
.tip-ico, .empty-ico { background: linear-gradient(145deg, #E4E9FF, #D2DAFF); color: var(--rb-primary); }
.tip-cat { color: var(--rb-accent-dark); }
.job-card:hover { border-color: #F9C79A; }
.job-card { border-left: 4px solid transparent; } .job-card:hover { border-left-color: var(--rb-accent); }
.tag:hover { border-color: var(--rb-accent); color: var(--rb-accent-dark); background: #FFF7ED; }
.stars { color: #FF9F1C; }
.btn-bookmark:hover, .btn-bookmark.is-on { background: #E4E9FF; }
.resume-thumb { background: linear-gradient(180deg, #E8ECFF, #FFF1E3); }
.tip-body blockquote { background: #EEF1FF; border-left-color: var(--rb-accent); }
.swiper-pagination-bullet-active { background: var(--rb-accent); }
.rb-header .nav-link:hover { color: var(--rb-primary); }

/* app shell sidebars + footer */
.app-sidebar, .offcanvas-lg.app-sidebar { background: linear-gradient(180deg, #1B2A9C 0%, #0C1250 100%); }
.admin-sidebar, .admin-sidebar.offcanvas-lg { background: linear-gradient(180deg, #151D5E 0%, #0A0F3A 100%); }
.side-link.active { box-shadow: inset 3px 0 0 var(--rb-highlight); background: linear-gradient(90deg, rgba(255,138,31,.22), rgba(255,255,255,.08)); }
.al-ico { background: #0C1250; color: #FFB066; }
.rb-footer { background: linear-gradient(180deg, #151D5E, #0A0F3A); position: relative; }
.rb-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #2342B8, #7C5CF0 45%, #FF8A1F); }
.footer-text, .footer-links li, .footer-bottom { color: #A9B2E6; }
.footer-links a, .footer-chips a { color: #D6DCFF; }
.social:hover, .footer-chips a:hover { background: var(--rb-accent); }
.timeline li.done .dot { background: var(--rb-primary); border-color: var(--rb-primary); }
.timeline li.done::before, .timeline li.current::before { background: var(--rb-primary); }
.timeline li.current .dot { border-color: var(--rb-primary); box-shadow: 0 0 0 4px rgba(35,66,184,.2); }

/* Wide table pages (admin recruiter tables): drop the 1200px limit so every column fits */
.page-wide .app-content { max-width: none; }

/* ---- External "Bihar Career" menu link ---- */
.rb-header .nav-link-ext { display: inline-flex; align-items: center; gap: .35rem; }
.rb-header .nav-link-ext .bi { font-size: .72em; opacity: .7; }

/* ---- Builder landing: feature highlights ---- */
.feat-band { position: relative; overflow: hidden; background: radial-gradient(600px 280px at 8% 10%, rgba(91,63,212,.10), transparent 70%), radial-gradient(520px 260px at 95% 90%, rgba(242,107,15,.10), transparent 70%), linear-gradient(180deg, #F6F7FF 0%, #EEF1FF 100%); }
.feat-kicker { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .85rem; margin-bottom: .75rem; border-radius: 999px; background: #fff; border: 1px solid #E3E7F7; color: var(--rb-accent-dark, #C2410C); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 2px 8px -4px rgba(35,66,184,.2); }
.feat-card2 { --fc: #2342B8; --fc2: #5B3FD4; --fc-soft: #EEF1FF;
  position: relative; overflow: hidden; padding: 28px 24px 26px; border-radius: 18px; background: #fff; border: 1px solid #E3E7F7;
  box-shadow: 0 1px 2px rgba(35,66,184,.05), 0 10px 30px -14px rgba(35,66,184,.25); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.feat-card2::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--fc), var(--fc2)); transform: scaleX(.18); transform-origin: left; transition: transform .35s ease; }
.feat-card2::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--fc-soft); opacity: .7; transition: transform .4s ease; z-index: 0; }
.feat-card2 > * { position: relative; z-index: 1; }
.feat-card2:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 2px 4px rgba(35,66,184,.06), 0 22px 44px -18px color-mix(in srgb, var(--fc) 55%, transparent); }
.feat-card2:hover::before { transform: scaleX(1); }
.feat-card2:hover::after { transform: scale(1.35); }
.feat-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--fc), var(--fc2)); box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--fc) 70%, transparent); transition: transform .3s ease; }
.feat-card2:hover .feat-ico { transform: rotate(-6deg) scale(1.06); }
.feat-num { position: absolute; top: 16px; right: 20px; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--fc); opacity: .1; }
.feat-card2 h3 { font-size: 1.1rem; font-weight: 700; color: var(--rb-text); margin: 18px 0 6px; }
.feat-card2 p { margin: 0; color: var(--rb-muted); font-size: .93rem; line-height: 1.6; }
.feat-c1 { --fc: #2342B8; --fc2: #4F7BFF; --fc-soft: #EEF1FF; }
.feat-c2 { --fc: #5B3FD4; --fc2: #A06BFF; --fc-soft: #F3EEFF; }
.feat-c3 { --fc: #F26B0F; --fc2: #FFA24C; --fc-soft: #FFF3E8; }
.feat-c4 { --fc: #0D9488; --fc2: #34D3B4; --fc-soft: #E8FBF6; }
@media (prefers-reduced-motion: reduce) { .feat-card2, .feat-card2::before, .feat-card2::after, .feat-ico { transition: none; } .feat-card2:hover { transform: none; } }
