@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f4f8fc;
  --ink: #10243d;
  --muted: #5f738a;
  --primary: #0369be;
  --primary-dark: #02579d;
  --accent: #f8b400;
  --surface: #ffffff;
  --border: #d9e2ec;
  --error: #fce8e8;
  --success: #e8f9ef;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(16, 36, 61, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(3, 105, 190, 0.12), transparent 30%),
    radial-gradient(circle at 100% 15%, rgba(248, 180, 0, 0.08), transparent 32%),
    var(--bg);
}

.landing-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, #bdd5f8 0%, #d9e8ff 100%);
}

.landing-wrap {
  width: min(760px, 100%);
}

.role-card {
  background: #fff;
  border: 1px solid #d8e2f1;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 36, 61, 0.12);
  text-align: center;
  padding: 26px 22px;
}

.role-card h1 {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
}

.role-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
}

.role-box {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9fbff;
  padding: 16px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.role-box:hover {
  transform: translateY(-2px);
  border-color: #7ea6de;
  box-shadow: 0 8px 20px rgba(34, 86, 155, 0.15);
}

.role-box small {
  color: var(--muted);
}

.role-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ebf2ff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.role-box-active {
  border-color: #7ea6de;
  background: #eef4ff;
}

a { color: inherit; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-wrap {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--primary-dark);
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-role-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid #d8e4f1;
  border-radius: 11px;
  background: #fff;
  color: #284864;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-mobile-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-mobile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(260px, 88vw);
  border: 1px solid #d8e4f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 38px rgba(16, 36, 61, 0.16);
  display: none;
  gap: 2px;
  padding: 8px;
  z-index: 210;
}

.nav-mobile-menu[hidden] {
  display: none !important;
}

.nav-mobile-menu.is-open {
  display: grid;
}

.nav-mobile-menu a {
  display: block;
  padding: 10px 11px;
  border-radius: 9px;
  text-decoration: none;
  color: #163650;
  font-size: 0.88rem;
}

.nav-mobile-menu a:hover {
  background: #edf4ff;
}

.notif-center {
  position: relative;
}

.notif-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #d8e4f1;
  border-radius: 11px;
  background: #fff;
  color: #284864;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 8px 18px rgba(16, 36, 61, 0.08);
}

.notif-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.notif-bubble {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #d7263d;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.notif-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(360px, 92vw);
  border: 1px solid #d8e4f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 38px rgba(16, 36, 61, 0.16);
  padding: 10px;
  z-index: 200;
}

.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.notif-mark-read {
  border: 0;
  background: transparent;
  color: #0a5da8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.notif-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.notif-tab {
  border: 1px solid #d7e5f4;
  background: #f7fbff;
  color: #294764;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.notif-tab.active {
  background: #0b69c5;
  color: #fff;
  border-color: #0b69c5;
}

.notif-browser-note {
  margin: 0 0 8px;
  font-size: 0.77rem;
}

.notif-browser-btn {
  width: 100%;
  margin-bottom: 8px;
}

.notif-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

.notif-item {
  border: 1px solid #e2eaf4;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fbfdff;
}

.notif-item.is-unread {
  border-color: #c9dff8;
  background: #f1f7ff;
}

.notif-item p {
  margin: 0 0 5px;
  color: #17344d;
  font-size: 0.84rem;
  line-height: 1.4;
}

.notif-item strong {
  display: block;
  margin: 0 0 4px;
  color: #0f2747;
  font-size: 0.74rem;
  line-height: 1.3;
}

.notif-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.notif-item small {
  color: #607890;
  font-size: 0.72rem;
}

.main-content {
  min-height: calc(100vh - 170px);
  padding: 28px 0;
}

.main-content > section + section,
.main-content > div + section,
.main-content > section + div {
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 0 12px;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(125deg, #01457d 0%, #02579d 52%, #0369be 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-column h4 {
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.73rem;
  font-weight: 700;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.87);
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-newsletter p {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer-newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-newsletter-form input {
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 8px;
  background: rgba(1, 41, 78, 0.22);
  color: #fff;
  padding: 0 11px;
  font-size: 0.78rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.footer-newsletter-form button {
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #0f2f52;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 14px;
  cursor: pointer;
}

.footer-social-wrap {
  display: grid;
  gap: 8px;
}

.footer-social-title {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.24);
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-bottom small,
.footer-bottom a {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.mobile-bottom-nav {
  display: none;
}

.mobile-bottom-link {
  text-decoration: none;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-newsletter-form {
    grid-template-columns: 1fr;
  }

  .footer-newsletter-form button {
    width: 100%;
  }

  .referral-copy-row {
    grid-template-columns: 1fr;
  }
}

.hero {
  background: linear-gradient(145deg, #0369be 0%, #02579d 60%, #01457d 100%);
  color: #fff;
  border-radius: 18px;
  padding: clamp(22px, 5vw, 44px);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.hero p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
}

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid #d5e2ef;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 32px rgba(16, 36, 61, 0.07);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(3, 105, 190, 0.32), rgba(248, 180, 0, 0.2));
  pointer-events: none;
}

.card h3, .card h2 {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(3, 105, 190, 0.2);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  border-color: var(--border);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(16, 36, 61, 0.06);
}

.btn-danger {
  background: #cb2431;
  color: #fff;
}

.form-row { margin-bottom: 12px; }
.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.referral-copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.password-field {
  position: relative;
}

.password-field .input {
  padding-right: 54px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #d8e2ef;
  background: #fff;
  color: #36516d;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  cursor: pointer;
}

.input:focus,
select:focus,
textarea:focus {
  border-color: #90b8de;
  box-shadow: 0 0 0 3px rgba(3, 105, 190, 0.14);
  outline: none;
}

textarea { min-height: 110px; resize: vertical; }

.alert {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid transparent;
}

.alert-error { background: var(--error); color: #8a1c1c; border-color: #f0caca; }
.alert-success { background: var(--success); color: #17613d; border-color: #bde6ce; }
.alert-warning { background: #fff7e6; color: #875a00; border-color: #f6ddad; }

.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #d8e4f0;
  border-radius: 12px;
  overflow: hidden;
}

.table th, .table td {
  padding: 12px;
  border-bottom: 1px solid #e5edf6;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.table th {
  background: #f6fafe;
  color: #284460;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #eef4fb;
}

.badge.success { background: #ddf5e7; color: #1a7d49; }
.badge.warning { background: #fff2d8; color: #9a6a00; }
.badge.danger { background: #fde2e2; color: #9d2525; }

.meta { color: var(--muted); font-size: 0.9rem; }

.verified-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
}

.verified-badge img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: block;
}

.verified-avatar-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-grid;
  flex-shrink: 0;
}

.verified-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d7e4f1;
  background: #f0f5fb;
}

.verified-avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: #46617d;
}

.verified-badge-avatar {
  position: absolute;
  bottom: -2px;
  right: -2px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #fff;
}

.badge-inline-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  margin-right: 4px;
  vertical-align: -2px;
}

.level-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.level-pill-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.job-card h3 { margin-bottom: 8px; }
.job-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.search-box {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 10px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  align-items: start;
  min-height: 100vh;
}

.admin-mobile-topbar,
.admin-mobile-overlay {
  display: none;
}

.admin-sidebar-stack {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 0 236px;
  gap: 0;
  transition: grid-template-columns 0.22s ease;
  min-height: 100vh;
}

.admin-rail,
.admin-panel {
  background: #ffffff;
  border-right: 1px solid #e1e7ed;
  border-radius: 0;
  box-shadow: none;
}

.admin-rail {
  padding: 10px 8px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.admin-rail-top {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.admin-rail-brand {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #0f6a4a;
  background: #e4f3ec;
  border: 1px solid #cde7d9;
}

.admin-rail-brand svg,
.admin-rail-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.admin-rail-brand img {
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.admin-rail-toggle {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #dce4ec;
  background: #f8fbff;
  color: #5f6f84;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.admin-rail-toggle svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.admin-rail-nav {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.admin-rail-marker {
  display: block;
  text-align: center;
  color: #a0acbb;
  font-size: 0.68rem;
  font-weight: 700;
  margin: 6px 0 2px;
}

.admin-rail-item {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #6d7f95;
  text-decoration: none;
  border: 1px solid transparent;
}

.admin-rail-item:hover {
  background: #edf5f2;
  color: #1c6a4e;
}

.admin-rail-item.active {
  background: #dff0e8;
  color: #0e6748;
  border-color: #c6e5d6;
}

.admin-rail-bottom {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.admin-rail-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f4f8;
  border: 1px solid #dce5ee;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #5f7086;
  font-size: 0.82rem;
}

.admin-panel {
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 901px) {
  .admin-sidebar-stack:not(.collapsed) .admin-rail {
    width: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    pointer-events: none;
  }
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 10px;
}

.admin-brand-wrap strong {
  display: block;
  color: #124f3b;
  font-size: 1.1rem;
}

.admin-brand-wrap small {
  color: #7f8fa3;
  font-size: 0.78rem;
}

.admin-sidebar-toggle {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid #dce4ec;
  background: #f8fbff;
  color: #5f6f84;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.admin-sidebar-toggle svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.admin-group-label {
  margin: 8px 6px 5px;
  color: #95a3b2;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
}

.admin-nav {
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #556980;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.88rem;
}

.admin-nav-item .icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.admin-nav-item:hover {
  background: #edf5f2;
  border-color: #d5e6dd;
  color: #1f644b;
}

.admin-nav-item.active {
  background: #def0e7;
  border-color: #c5e3d4;
  color: #0d6547;
}

.admin-panel-foot {
  margin-top: auto;
  border-top: 1px solid #ecf1f6;
  padding-top: 10px;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-profile .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eaf2f8;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #4f6278;
}

.admin-profile strong {
  display: block;
  font-size: 0.86rem;
}

.admin-profile small {
  color: #90a0b2;
  font-size: 0.74rem;
}

.admin-logout-link {
  margin-top: 8px;
  display: inline-block;
  color: #6b7e93;
  text-decoration: none;
  font-size: 0.86rem;
}

.admin-content {
  min-width: 0;
}

@media (min-width: 901px) {
  body.page-admin {
    height: 100vh;
    overflow: hidden;
  }

  .page-admin .main-content {
    height: 100vh;
    overflow: hidden;
  }

  .admin-shell {
    height: 100vh;
    overflow: hidden;
  }

  .admin-sidebar-stack,
  .admin-content {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
}

.admin-content-head {
  display: flex;
  justify-content: flex-end;
  padding: 10px 12px 0;
}

.notif-center-admin .notif-panel {
  right: 0;
}

@media (max-width: 760px) {
  body:not(.page-admin) .main-content {
    padding: 20px 0 calc(88px + env(safe-area-inset-bottom));
  }

  body:not(.page-admin) .grid-2,
  body:not(.page-admin) .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body:not(.page-admin) .card {
    padding: 14px;
    border-radius: 10px;
  }

  body:not(.page-admin) .card h1,
  body:not(.page-admin) .card h2 {
    font-size: 1.05rem;
  }

  body:not(.page-admin) .card h3 {
    font-size: 0.92rem;
  }

  body:not(.page-admin) .meta,
  body:not(.page-admin) p,
  body:not(.page-admin) label,
  body:not(.page-admin) .table th,
  body:not(.page-admin) .table td,
  body:not(.page-admin) .badge {
    font-size: 75%;
  }

  body:not(.page-admin) .btn {
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 75%;
    min-height: 34px;
  }

  body:not(.page-admin) .input,
  body:not(.page-admin) select,
  body:not(.page-admin) textarea {
    padding: 8px 9px;
    border-radius: 8px;
    font-size: 75%;
  }

  body:not(.page-admin) .table th,
  body:not(.page-admin) .table td {
    padding: 8px;
  }

  body:not(.page-admin) .badge {
    padding: 3px 7px;
  }

  .nav.nav-has-mobile {
    position: relative;
    gap: 8px;
  }
  .nav.nav-has-mobile .nav-role-links {
    display: none;
  }
  .nav.nav-has-mobile .nav-mobile-toggle {
    display: inline-flex;
  }
  .nav.nav-has-mobile .nav-mobile-menu.is-open {
    display: grid;
  }

  .notif-panel {
    position: fixed;
    left: 8px;
    right: 8px;
    top: 84px;
    width: auto;
    max-width: none;
    border-radius: 10px;
    padding: 8px;
    max-height: 72vh;
    overflow: hidden;
    z-index: 320;
  }

  .notif-head {
    margin-bottom: 6px;
  }

  .notif-head strong {
    font-size: 0.92rem;
  }

  .notif-mark-read {
    font-size: 0.72rem;
  }

  .notif-tab {
    font-size: 0.72rem;
    padding: 5px 7px;
    border-radius: 7px;
  }

  .notif-browser-note {
    font-size: 0.72rem;
    margin-bottom: 6px;
  }

  .notif-browser-btn.btn {
    min-height: 34px;
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  .notif-list {
    max-height: calc(72vh - 140px);
    gap: 6px;
  }

  .notif-item {
    padding: 7px 8px;
    border-radius: 8px;
  }

  .notif-item p {
    font-size: 0.78rem;
    margin-bottom: 4px;
  }

  .notif-item small {
    font-size: 0.68rem;
  }

  .nav-mobile-menu {
    width: min(220px, 74vw);
    border-radius: 10px;
    padding: 6px;
    gap: 1px;
  }

  .nav-mobile-menu a {
    padding: 8px 9px;
    border-radius: 8px;
    font-size: 0.82rem;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 130;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(190, 211, 238, 0.75);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(244, 250, 255, 0.95));
    box-shadow: 0 14px 30px rgba(7, 32, 64, 0.2);
    backdrop-filter: blur(10px);
  }

  .mobile-bottom-link {
    min-height: 58px;
    border-radius: 12px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    color: #305070;
    border: 1px solid transparent;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  }

  .mobile-bottom-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bottom-link span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .mobile-bottom-link.is-active {
    color: #02579d;
    background: rgba(220, 238, 255, 0.75);
    border-color: rgba(126, 178, 230, 0.8);
    transform: translateY(-1px);
  }

  .mobile-bottom-link:active {
    transform: scale(0.98);
  }
}

@media (min-width: 761px) {
  .nav.nav-has-mobile .nav-mobile-toggle {
    display: none !important;
  }
  .nav.nav-has-mobile .nav-mobile-menu {
    display: none !important;
  }
}

.admin-sidebar-stack.collapsed {
  grid-template-columns: 72px 0;
}

.admin-sidebar-stack.collapsed .admin-panel {
  width: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  pointer-events: none;
}

.admin-sidebar-stack.collapsed .admin-sidebar-toggle svg {
  transform: rotate(180deg);
}

.admin-sidebar-stack.collapsed .admin-rail-toggle svg {
  transform: rotate(180deg);
}

.page-admin .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.page-admin .site-header,
.page-admin .site-footer {
  display: none;
}

.page-admin .main-content {
  min-height: 100vh;
  padding: 0;
}

.page-admin .card {
  padding: 14px;
  border-radius: 12px;
}

.page-admin .grid {
  gap: 12px;
}

.page-admin .btn {
  padding: 8px 11px;
  font-size: 0.86rem;
}

.page-admin .table th,
.page-admin .table td {
  padding: 9px;
  font-size: 0.87rem;
}

.page-admin .meta {
  font-size: 0.84rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.settings-launch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.settings-launch-card {
  text-align: left;
  border: 1px solid #d5e2ef;
  cursor: pointer;
  background: #fff;
}

.settings-launch-card h3 {
  margin: 0 0 8px;
}

.settings-launch-card p {
  margin: 0;
}

.settings-card {
  margin: 0;
}

.settings-card h3 {
  margin: 0 0 10px;
}

.settings-card-wide {
  grid-column: span 4;
}

.settings-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.settings-mini-card {
  padding: 12px;
}

.settings-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.settings-panels {
  display: none;
}

.settings-panels.is-open {
  display: block;
}

.settings-panel {
  display: none;
}

.settings-panel.is-active {
  display: block;
}

.settings-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.settings-panel-head h3 {
  margin: 0;
}

.page-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.kpi-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.kpi-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  padding: 14px;
}

.kpi-card strong {
  display: block;
  font-size: 1.2rem;
  color: #0d2e4f;
}

.kpi-card span {
  color: #5b6f86;
  font-size: 0.8rem;
  font-weight: 600;
}

.users-admin-wrap {
  display: grid;
  gap: 14px;
}

.users-admin-head {
  background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
  border: 1px solid #d9e6f2;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(16, 36, 61, 0.08);
}

.users-admin-head h2 {
  margin: 0;
  font-size: 1.16rem;
}

.users-admin-head p {
  margin: 7px 0 0;
  font-size: 0.87rem;
  color: #5f738a;
}

.users-block {
  background: #fff;
  border: 1px solid #dce7f3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 35, 61, 0.05);
}

.users-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5edf6;
  background: #f8fbff;
}

.users-block-head h3 {
  margin: 0;
  font-size: 0.99rem;
}

.users-count {
  font-size: 0.75rem;
  color: #32506e;
  background: #eaf2fb;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
}

.users-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.users-actions form {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0;
}

.users-actions select {
  min-width: 114px;
}

.users-block .table th,
.users-block .table td {
  font-size: 0.8rem;
  padding: 8px;
}

.users-block .btn {
  padding: 6px 8px;
  font-size: 0.74rem;
  border-radius: 8px;
}

.users-block select,
.users-block .input,
.users-block textarea {
  font-size: 0.75rem;
  padding: 7px 8px;
}

.users-inline-pills .badge {
  font-size: 0.68rem;
  padding: 3px 8px;
}

.users-action-menu {
  border: 1px solid #d4e1ee;
  border-radius: 10px;
  background: #fbfdff;
  overflow: hidden;
}

.users-action-menu > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #145189;
  font-size: 0.75rem;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.users-action-menu > summary::-webkit-details-marker {
  display: none;
}

.users-action-menu > summary::after {
  content: "▾";
  font-size: 0.72rem;
  color: #4e6a86;
}

.users-action-menu[open] > summary::after {
  content: "▴";
}

.users-action-panel {
  border-top: 1px solid #e3edf7;
  padding: 8px;
  display: grid;
  gap: 6px;
  background: #fff;
}

.users-action-panel .users-actions {
  gap: 5px;
}

.users-plan-tag {
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eaf2fb;
  color: #0e4f86;
  font-weight: 700;
  display: inline-block;
}

.users-plan-tools details {
  margin-top: 8px;
}

.users-plan-tools summary {
  cursor: pointer;
  color: #0369be;
  font-size: 0.78rem;
  font-weight: 700;
}

.users-plan-grid {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.users-plan-grid .input,
.users-plan-grid textarea,
.users-plan-grid select {
  font-size: 0.8rem;
  padding: 8px 9px;
}

.users-plan-grid textarea {
  min-height: 84px;
}

.users-plan-grid .btn {
  font-size: 0.74rem;
  padding: 8px 10px;
}

.users-plan-note {
  margin-top: 8px;
  border: 1px dashed #c9dced;
  background: #f8fbff;
  border-radius: 10px;
  padding: 8px 10px;
}

.users-plan-note small {
  display: block;
  color: #4a647f;
  font-size: 0.75rem;
}

.users-plan-note strong {
  color: #0f2945;
}

.auth-screen {
  --auth-accent-1: #0369be;
  --auth-accent-2: #1d91e6;
  --auth-bg: #eaf2ff;
  min-height: 100vh;
  margin: 0;
  padding: 26px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.85), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.45), transparent 40%),
    var(--auth-bg);
}

.auth-screen.role-user {
  --auth-accent-1: #0369be;
  --auth-accent-2: #1d91e6;
  --auth-bg: #e8f1ff;
}

.auth-screen.role-recruiter {
  --auth-accent-1: #0369be;
  --auth-accent-2: #1d91e6;
  --auth-bg: #e8f1ff;
}

.auth-screen.role-admin {
  --auth-accent-1: #5e45e2;
  --auth-accent-2: #0ea5a2;
  --auth-bg: #eeeafd;
}

.auth-shell {
  width: min(1220px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 52px);
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 24px 60px rgba(15, 31, 57, 0.18);
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  overflow: hidden;
}

.auth-enter {
  animation: authFadeIn 0.65s ease both;
}

.auth-visual {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.auth-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.1), transparent 38%),
    linear-gradient(170deg, rgba(8, 12, 22, 0.66) 10%, rgba(8, 12, 22, 0.85) 85%);
  z-index: -1;
}

.auth-copy {
  height: 100%;
  padding: 48px 44px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-kicker {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.auth-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -1px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.auth-panel {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
}

.auth-brand {
  text-decoration: none;
  font-size: 1.4rem;
  color: #0f2137;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.role-badge {
  margin-top: 10px;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--auth-accent-1) 14%, white);
  color: color-mix(in srgb, var(--auth-accent-1) 80%, black);
}

.auth-panel h2 {
  margin: 22px 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.6px;
}

.auth-form {
  width: 100%;
  max-width: 470px;
}

.auth-form .input {
  border-radius: 999px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-form .input:focus {
  border-color: color-mix(in srgb, var(--auth-accent-1) 45%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--auth-accent-1) 18%, white);
  outline: none;
  transform: translateY(-1px);
}

.auth-sub-link {
  display: inline-block;
  margin: 4px 0 16px;
  text-decoration: none;
  color: color-mix(in srgb, var(--auth-accent-1) 85%, black);
  font-size: 0.92rem;
}

.auth-submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(120deg, var(--auth-accent-1), var(--auth-accent-2));
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--auth-accent-1) 35%, transparent);
  filter: saturate(1.08);
}

.auth-footnote {
  margin-top: 16px;
  color: #6b7d91;
  font-size: 0.92rem;
}

.auth-footnote a {
  color: color-mix(in srgb, var(--auth-accent-1) 85%, black);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.auth-tabs a {
  text-decoration: none;
  color: #4d6178;
  background: #f3f7fc;
  border: 1px solid #dce7f5;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.auth-tabs a.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--auth-accent-1), var(--auth-accent-2));
}

.register-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}

.register-form-grid .form-row {
  margin-bottom: 12px;
}

.register-form-grid .auth-submit {
  grid-column: 1 / -1;
  margin-top: 4px;
}

@keyframes authFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .search-box { grid-template-columns: 1fr 1fr; }
  .users-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .users-actions form {
    width: 100%;
  }
  .admin-shell {
    grid-template-columns: 1fr;
    position: relative;
  }
  .admin-mobile-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-bottom: 1px solid #e1e7ed;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 45;
  }
  .admin-mobile-toggle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #dbe4ef;
    background: #f8fbff;
    color: #4f6278;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .admin-mobile-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
  .admin-mobile-brand {
    text-decoration: none;
    color: #0f2137;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
  }
  .admin-mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 35, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 46;
  }
  .admin-sidebar-stack {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    max-width: 86vw;
    grid-template-columns: 1fr;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    z-index: 47;
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid #e1e7ed;
    box-shadow: 0 20px 40px rgba(15, 31, 57, 0.22);
  }
  .admin-shell.mobile-open .admin-sidebar-stack {
    transform: translateX(0);
  }
  .admin-shell.mobile-open .admin-mobile-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .admin-rail {
    display: none;
  }
  .admin-panel {
    min-height: 100vh;
    border-right: 0;
    width: 100%;
    opacity: 1;
    overflow-y: auto;
    pointer-events: auto;
  }
  .admin-sidebar-stack.collapsed {
    grid-template-columns: 1fr;
  }
  .admin-sidebar-stack.collapsed .admin-panel {
    width: 100%;
    opacity: 1;
    overflow-y: auto;
    padding: 10px;
    border: 0;
    pointer-events: auto;
  }
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .auth-visual {
    min-height: 260px;
  }
  .auth-copy {
    padding: 26px 22px;
  }
  .auth-copy h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .auth-panel {
    padding: 22px 18px 24px;
  }
  .register-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .search-box { grid-template-columns: 1fr; }
  .nav { justify-content: flex-end; }
  .role-grid { grid-template-columns: 1fr; }
  .role-box { min-height: 96px; }
  .auth-screen {
    padding: 12px;
  }
  .auth-shell {
    border-radius: 18px;
  }
  .page-admin .main-content {
    padding: 16px 0;
  }
  .page-admin .card {
    padding: 10px;
    border-radius: 10px;
  }
  .page-admin h2 {
    font-size: 1.2rem;
  }
  .page-admin h3 {
    font-size: 1rem;
  }
  .page-admin .table th,
  .page-admin .table td {
    padding: 7px;
    font-size: 0.78rem;
  }
  .page-admin .btn {
    padding: 6px 8px;
    font-size: 0.76rem;
    border-radius: 8px;
  }
  .page-admin .badge {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
  .page-admin .meta {
    font-size: 0.76rem;
  }
}

/* Marketing landing page (index.php) */
body.vacancy-landing-page {
  --vacancy-scroll-progress: 0;
  --vacancy-rugged: 0deg;
  --vacancy-hero-shift: 0px;
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", "Segoe UI", Tahoma, Arial, sans-serif;
  color: #f3f7ff;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 8%, rgba(18, 89, 190, 0.34), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(21, 130, 255, 0.2), transparent 36%),
    linear-gradient(180deg, #021530 0%, #031325 62%, #061422 100%);
}

body.vacancy-landing-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transform-origin: left center;
  transform: scaleX(var(--vacancy-scroll-progress));
  background: linear-gradient(90deg, #1b7eff 0%, #24b8ff 45%, #4af5ff 100%);
  box-shadow: 0 0 16px rgba(44, 166, 255, 0.8);
  z-index: 120;
  pointer-events: none;
}

body.vacancy-landing-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(215, 235, 255, 0.09) 0.5px, transparent 0.5px);
  background-size: 2px 2px;
  mix-blend-mode: soft-light;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.vacancy-landing {
  width: min(1280px, 100%);
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  overflow-x: clip;
}

.vacancy-landing::before,
.vacancy-landing::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  pointer-events: none;
  z-index: -1;
}

.vacancy-landing::before {
  width: clamp(130px, 22vw, 260px);
  height: clamp(130px, 22vw, 260px);
  right: -6%;
  top: 10%;
  background: radial-gradient(circle, rgba(32, 142, 255, 0.42), transparent 68%);
  animation: vacancyFloat 12s ease-in-out infinite;
}

.vacancy-landing::after {
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
  left: -5%;
  bottom: 14%;
  background: radial-gradient(circle, rgba(44, 188, 255, 0.28), transparent 66%);
  animation: vacancyFloatReverse 14s ease-in-out infinite;
}

.vacancy-hero-wrap {
  padding: 22px clamp(18px, 3vw, 30px) 0;
}

.vacancy-topnav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.vacancy-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f7faff;
  font-weight: 800;
  font-size: 1.7rem;
}

.vacancy-brand img {
  height: 42px;
  width: auto;
}

.vacancy-logo-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #1983ff;
}

.vacancy-drawer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: 1;
}

.vacancy-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.vacancy-menu a {
  color: rgba(235, 244, 255, 0.92);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.vacancy-menu a:hover {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(98, 178, 255, 0.7);
}

.vacancy-actions {
  display: inline-flex;
  gap: 10px;
}

.vacancy-hamburger,
.vacancy-mobile-backdrop {
  display: none;
}

.vacancy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  min-height: 50px;
  padding: 0 22px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.vacancy-btn:hover {
  transform: translateY(-1px);
}

.vacancy-btn-primary {
  background: linear-gradient(135deg, #1a84ff, #0766e8);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 96, 222, 0.35);
  position: relative;
  overflow: hidden;
}

.vacancy-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-20deg);
  animation: vacancyShine 7.5s ease-in-out infinite;
}

.vacancy-btn-muted {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f6f9ff;
}

.vacancy-btn-ghost {
  background: #ffffff;
  color: #0b1f3e;
}

.vacancy-hero-grid {
  margin-top: 24px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1.2fr 1.35fr;
  min-height: 620px;
  background: linear-gradient(100deg, rgba(4, 22, 45, 0.95) 32%, rgba(6, 30, 57, 0.6) 100%);
  transform: translateY(calc(var(--vacancy-hero-shift) * -0.25));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 28px 52px rgba(1, 9, 20, 0.24);
}

.vacancy-copy {
  padding: clamp(30px, 6vw, 64px) clamp(20px, 4vw, 44px);
  background: linear-gradient(110deg, rgba(3, 19, 42, 0.88), rgba(4, 26, 56, 0.72));
}

.vacancy-copy h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3.85vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #f7fbff;
  max-width: 560px;
}

.vacancy-copy h1 span {
  display: block;
  color: #1d8dff;
  animation: vacancyPulse 3.4s ease-in-out infinite;
}

.vacancy-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
  vertical-align: -3px;
  margin: 0 6px 0 4px;
  box-shadow: 0 4px 10px rgba(8, 24, 48, 0.35);
}

.vacancy-copy p {
  margin: 20px 0 0;
  color: rgba(231, 240, 255, 0.9);
  line-height: 1.65;
  font-size: clamp(0.98rem, 1.45vw, 1.35rem);
  max-width: 640px;
}

.vacancy-search-headline {
  margin: 18px 0 4px;
  color: #ffffff;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  font-weight: 700;
  line-height: 1.35;
}

.vacancy-search-subline {
  margin: 0;
  color: rgba(215, 229, 250, 0.95);
  font-size: clamp(0.86rem, 1.1vw, 1rem);
  font-weight: 500;
}

.vacancy-hero-search {
  margin-top: 18px;
  max-width: 620px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(193, 220, 255, 0.35);
  background: rgba(244, 249, 255, 0.96);
  box-shadow: 0 12px 22px rgba(6, 25, 49, 0.2);
}

.vacancy-hero-search input {
  width: 100%;
  border: none;
  background: transparent;
  color: #0f172a;
  font-size: 0.92rem;
  padding: 10px 8px 10px 10px;
  outline: none;
}

.vacancy-hero-search input::placeholder {
  color: #6b7280;
}

.vacancy-hero-search button {
  width: 44px;
  height: 40px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(120deg, #0369BE, #1D91E6);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 16px rgba(15, 81, 162, 0.32);
}

.vacancy-hero-search button:hover {
  transform: translateY(-1px);
}

.vacancy-hero-search button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.vacancy-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #ffffff;
  border: 1px solid #d8e5f6;
  border-radius: 12px;
  box-shadow: 0 20px 34px rgba(3, 19, 39, 0.22);
  overflow: hidden;
  display: none;
  z-index: 25;
}

.vacancy-search-suggest.is-open {
  display: block;
}

.vacancy-search-suggest button {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ecf2fb;
  background: #fff;
  padding: 9px 12px;
  text-align: left;
  color: #1f2937;
  font-size: 0.78rem;
  cursor: pointer;
}

.vacancy-search-suggest button:last-child {
  border-bottom: none;
}

.vacancy-search-suggest button:hover {
  background: #f3f8ff;
  color: #02579d;
}

.jobtype-typeahead {
  position: relative;
}

.jobtype-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #ffffff;
  border: 1px solid #d8e5f6;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(3, 19, 39, 0.2);
  overflow: hidden;
  display: none;
  z-index: 28;
  max-height: 280px;
  overflow-y: auto;
}

.jobtype-suggest.is-open {
  display: block;
}

.jobtype-suggest button {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ecf2fb;
  background: #fff;
  padding: 9px 12px;
  text-align: left;
  color: #1f2937;
  font-size: 0.8rem;
  cursor: pointer;
}

.jobtype-suggest button:last-child {
  border-bottom: none;
}

.jobtype-suggest button:hover,
.jobtype-suggest button.is-active {
  background: #f3f8ff;
  color: #02579d;
}

.vacancy-popular-searches {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.vacancy-popular-searches span {
  color: rgba(218, 231, 250, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
}

.vacancy-popular-searches button {
  border: 1px solid rgba(187, 213, 245, 0.45);
  background: rgba(11, 35, 67, 0.36);
  color: #eef6ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vacancy-popular-searches button:hover {
  background: rgba(29, 95, 170, 0.62);
  border-color: rgba(227, 239, 255, 0.8);
}

.vacancy-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vacancy-trust {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 640px;
}

.vacancy-trust strong {
  display: block;
  font-size: 0.94rem;
  color: #f6f9ff;
}

.vacancy-trust p {
  margin: 3px 0 0;
  font-size: 0.84rem;
  color: rgba(221, 233, 252, 0.9);
}

.vacancy-avatars {
  display: inline-flex;
}

.vacancy-avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #0d2343;
  margin-left: -8px;
  background-color: #1c3f6a;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 14px rgba(6, 27, 50, 0.42);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vacancy-avatars span:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 20px rgba(13, 51, 89, 0.52);
}

.vacancy-avatars span:first-child {
  margin-left: 0;
}

.vacancy-avatars span:nth-child(1) {
  background-image: url("../images/vacancy hero thumb-1.jpg");
}

.vacancy-avatars span:nth-child(2) {
  background-image: url("../images/vacancy hero thumb-2.jpg");
}

.vacancy-avatars span:nth-child(3) {
  background-image: url("../images/vacancy hero thumb-3.jpg");
}

.vacancy-avatars span:nth-child(4) {
  background-image: url("../images/vacancy hero thumb-4.jpg");
}

.job-salary-fit {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1.25;
}

.vacancy-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 100%;
}

.vacancy-panel {
  position: relative;
  padding: clamp(14px, 2vw, 18px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background-size: cover;
  background-position: center center;
  transition: filter 0.35s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.vacancy-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 19, 35, 0.32), rgba(2, 15, 30, 0.88));
}

.vacancy-panel > * {
  position: relative;
  z-index: 1;
}

.vacancy-panel:hover {
  filter: brightness(1.08);
}

.vacancy-panel:focus-visible {
  outline: 2px solid #7cc5ff;
  outline-offset: -4px;
}

.vacancy-panel h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.9rem);
  color: #ffffff;
}

.vacancy-panel p {
  margin: 6px 0 0;
  font-size: clamp(0.82rem, 1vw, 1.05rem);
  color: rgba(224, 235, 252, 0.9);
}

.vacancy-panel-badge {
  position: absolute;
  top: 20px;
  left: 12px;
  right: 12px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f3f8ff;
  background: rgba(8, 17, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(2px);
}

.vacancy-panel-student {
  background:
    linear-gradient(180deg, rgba(8, 30, 57, 0.18), rgba(6, 36, 84, 0.64)),
    url("../images/vacancy hero-1.jpg"),
    linear-gradient(180deg, rgba(14, 73, 146, 0.14), rgba(6, 36, 84, 0.6)),
    linear-gradient(140deg, #2d5776, #14314f);
}

.vacancy-panel-learn {
  background:
    linear-gradient(180deg, rgba(20, 16, 8, 0.25), rgba(43, 30, 12, 0.68)),
    url("../images/vacancy hero-2.jpg"),
    linear-gradient(180deg, rgba(119, 82, 23, 0.2), rgba(43, 30, 12, 0.62)),
    linear-gradient(140deg, #5b4737, #1e2835);
}

.vacancy-panel-hired {
  background:
    linear-gradient(180deg, rgba(12, 31, 44, 0.22), rgba(11, 31, 54, 0.7)),
    url("../images/vacancy hero-3.jpg"),
    linear-gradient(180deg, rgba(29, 85, 122, 0.16), rgba(11, 31, 54, 0.66)),
    linear-gradient(140deg, #315674, #1c2f45);
}

.vacancy-panel-growth {
  background:
    linear-gradient(180deg, rgba(14, 28, 47, 0.24), rgba(9, 25, 44, 0.74)),
    url("../images/vacancy hero-4.jpg"),
    linear-gradient(180deg, rgba(15, 57, 94, 0.2), rgba(9, 25, 44, 0.7)),
    linear-gradient(140deg, #36566f, #1b2d41);
}

.vacancy-stats {
  margin-top: 0;
  padding: 18px clamp(18px, 3vw, 30px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(120deg, rgba(4, 20, 42, 0.92), rgba(4, 18, 34, 0.95));
}

.vacancy-stats article {
  text-align: center;
  padding: 16px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.vacancy-stats article:hover {
  transform: translateY(-3px);
  background: rgba(23, 53, 84, 0.36);
}

.vacancy-stats article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.vacancy-stats h2 {
  margin: 0;
  color: #1688ff;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.vacancy-stats p {
  margin: 8px 0 0;
  color: rgba(223, 233, 251, 0.88);
  font-size: clamp(0.9rem, 1.2vw, 1.3rem);
}

.vacancy-discovery {
  padding: 20px clamp(18px, 3vw, 30px) 10px;
  background: #f7f9fc;
}

.vacancy-discovery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vacancy-discovery-head h2 {
  margin: 0;
  font-size: 1.22rem;
  color: #0f2747;
}

.vacancy-discovery-head a {
  color: #0369be;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.vacancy-discovery-head .browse-jobs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vacancy-discovery-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vacancy-discovery-card {
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.vacancy-discovery-card h3 {
  margin: 0;
  font-size: 0.92rem;
  color: #111827;
}

.vacancy-discovery-card p {
  margin: 6px 0 0;
  color: #607289;
  font-size: 0.75rem;
}

.vacancy-discovery-card a {
  margin-top: 10px;
  display: inline-flex;
  text-decoration: none;
  color: #0369be;
  font-size: 0.75rem;
  font-weight: 700;
}

.vacancy-taxonomy {
  padding: 0 clamp(18px, 3vw, 30px) 12px;
  background: #f7f9fc;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vacancy-taxonomy-block {
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.vacancy-taxonomy-block h3 {
  margin: 0;
  color: #0f2747;
  font-size: 0.95rem;
}

.vacancy-taxonomy-list {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vacancy-taxonomy-list a {
  border: 1px solid #d5e5f8;
  border-radius: 999px;
  text-decoration: none;
  color: #0f2747;
  background: #f8fbff;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.vacancy-taxonomy-list span {
  color: #0369be;
}

.vacancy-why {
  padding: 8px clamp(18px, 3vw, 30px) 18px;
  background: #f7f9fc;
}

.vacancy-why h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f2747;
}

.vacancy-why-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vacancy-why-grid article {
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
}

.vacancy-why-grid h3 {
  margin: 0;
  font-size: 0.9rem;
  color: #111827;
}

.vacancy-why-grid p {
  margin: 6px 0 0;
  color: #607289;
  font-size: 0.75rem;
}

.vacancy-partners {
  overflow: hidden;
  padding: 18px clamp(18px, 3vw, 30px) 24px;
  background: #f7f9fc;
  color: #1d304a;
}

.vacancy-partners-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.vacancy-partner-item {
  min-height: 72px;
  border-radius: 14px;
  border: 1px solid #e4eaf4;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: center;
  padding: 12px;
  font-weight: 700;
  font-size: clamp(0.84rem, 1vw, 1.03rem);
  box-shadow: 0 12px 26px rgba(18, 39, 77, 0.07);
  transition: transform 0.28s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vacancy-partner-item:hover {
  transform: translateY(-4px);
  border-color: #c8dcff;
  box-shadow: 0 20px 32px rgba(20, 54, 105, 0.18);
}

.vacancy-partner-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  padding: 3px;
  background: linear-gradient(140deg, #e9f2ff 0%, #d7e8ff 100%);
  border: 2px solid #2f8eff;
  box-shadow: 0 10px 20px rgba(22, 110, 226, 0.28);
  flex-shrink: 0;
}

.vacancy-partner-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vacancy-partner-item:hover .vacancy-partner-icon img {
  transform: scale(1.06);
}

.vacancy-partner-item span:last-child {
  text-align: left;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Landing-page safety: keep content visible even if reveal JS is blocked. */
body.vacancy-landing-page .scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
}

body.vacancy-landing-page .vacancy-landing {
  position: relative;
  z-index: 5;
}

[data-lazy-section] {
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

@keyframes vacancyPulse {
  0%, 100% { text-shadow: 0 0 0 rgba(39, 155, 255, 0.3); }
  50% { text-shadow: 0 0 28px rgba(39, 155, 255, 0.72); }
}

@keyframes vacancyFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-14px, 12px, 0); }
}

@keyframes vacancyFloatReverse {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(16px, -10px, 0); }
}

@keyframes vacancyShine {
  0%, 58% { left: -120%; }
  70% { left: 140%; }
  100% { left: 140%; }
}

@keyframes vacancyGrain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -2%); }
  60% { transform: translate(-1%, 3%); }
  80% { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

@media (max-width: 1160px) {
  .vacancy-topnav {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
  .vacancy-drawer {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  .vacancy-menu {
    flex-wrap: wrap;
  }
  .vacancy-actions {
    justify-content: center;
    width: 100%;
  }
  .vacancy-hero-grid {
    grid-template-columns: 1fr;
  }
  .vacancy-copy {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .vacancy-panels {
    min-height: 430px;
  }
}

@media (max-width: 900px) {
  .vacancy-landing::before,
  .vacancy-landing::after,
  body.vacancy-landing-page::after {
    animation: none;
  }
}

@media (max-width: 900px) {
  .vacancy-panels {
    grid-template-columns: repeat(2, 1fr);
  }
  .vacancy-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vacancy-stats article:nth-child(3),
  .vacancy-stats article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .vacancy-partners {
    overflow: visible;
  }
  .vacancy-partners-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vacancy-discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vacancy-taxonomy {
    grid-template-columns: 1fr;
  }
  .vacancy-why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .vacancy-hero-wrap {
    padding: 14px 12px 0;
    overflow-x: clip;
  }
  .vacancy-topnav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 40;
  }
  .vacancy-brand {
    font-size: 1.19rem;
  }
  .vacancy-brand img {
    height: 29px;
  }
  .vacancy-hamburger {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 10px;
    cursor: pointer;
  }
  .vacancy-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #eaf2ff;
  }
  .vacancy-drawer {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: min(82vw, 320px);
    max-width: 100vw;
    background: linear-gradient(180deg, #031225 0%, #07192f 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: -18px 0 36px rgba(1, 8, 18, 0.44);
    transform: translateX(100%);
    transition: transform 0.24s ease;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 72px 16px 20px;
    overflow-y: auto;
    overflow-x: hidden;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
  }
  .vacancy-topnav.is-open .vacancy-drawer {
    transform: translateX(0);
  }
  .vacancy-mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(3, 13, 24, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 50;
  }
  .vacancy-topnav.is-open .vacancy-mobile-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .vacancy-menu {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  .vacancy-menu a {
    font-size: 0.63rem;
  }
  .vacancy-actions {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .vacancy-btn {
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.63rem;
    max-width: 100%;
  }
  .vacancy-copy {
    padding: 20px 16px;
  }
  .vacancy-copy h1 {
    font-size: clamp(1.19rem, 7.7vw, 2.17rem);
  }
  .vacancy-copy p {
    font-size: 0.65rem;
  }
  .vacancy-search-headline {
    margin-top: 12px;
    font-size: 0.76rem;
  }
  .vacancy-search-subline {
    font-size: 0.61rem;
  }
  .vacancy-hero-search {
    margin-top: 12px;
    max-width: 100%;
    border-radius: 11px;
    padding: 4px;
    gap: 6px;
  }
  .vacancy-hero-search input {
    font-size: 0.61rem;
    padding: 9px 6px 9px 8px;
  }
  .vacancy-hero-search button {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .vacancy-hero-search button svg {
    width: 14px;
    height: 14px;
  }
  .vacancy-popular-searches {
    margin-top: 8px;
    gap: 6px;
  }
  .vacancy-popular-searches span {
    width: 100%;
    font-size: 0.57rem;
  }
  .vacancy-popular-searches button {
    font-size: 0.54rem;
    padding: 5px 8px;
  }
  .vacancy-search-suggest button {
    font-size: 0.62rem;
    padding: 8px 9px;
  }
  .vacancy-cta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .vacancy-cta-row .vacancy-btn {
    min-height: 40px;
    padding: 0 6px;
    font-size: 0.56rem;
    border-radius: 10px;
    white-space: nowrap;
  }
  .vacancy-flag {
    width: 19px;
    height: 14px;
    margin: 0 4px 0 2px;
    border-radius: 3px;
  }
  .vacancy-trust {
    flex-direction: column;
    align-items: flex-start;
  }
  .vacancy-trust strong {
    font-size: 0.66rem;
  }
  .vacancy-trust p {
    font-size: 0.59rem;
  }
  .vacancy-panels {
    grid-template-columns: 1fr;
  }
  .vacancy-panel {
    min-height: 200px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transition: none;
  }
  .vacancy-panel-badge {
    font-size: 0.53rem;
  }
  .vacancy-panel h3 {
    font-size: 0.8rem;
  }
  .vacancy-panel p {
    font-size: 0.57rem;
  }
  .vacancy-stats {
    grid-template-columns: 1fr;
    padding: 8px 12px;
  }
  .vacancy-stats article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .vacancy-stats article:nth-child(3),
  .vacancy-stats article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .vacancy-stats h2 {
    font-size: clamp(1.26rem, 2.1vw, 2.17rem);
  }
  .vacancy-stats p {
    font-size: 0.63rem;
  }
  #landingContinueBrowsing .vacancy-discovery-head h2 {
    font-size: 0.85rem;
  }
  #landingContinueBrowsing .vacancy-discovery-grid {
    margin-top: 8px;
    gap: 7px;
  }
  #landingContinueBrowsing .vacancy-discovery-card {
    padding: 8px;
    border-radius: 9px;
  }
  #landingContinueBrowsing .vacancy-discovery-card h3 {
    font-size: 0.64rem;
  }
  #landingContinueBrowsing .vacancy-discovery-card p,
  #landingContinueBrowsing .vacancy-discovery-card a {
    font-size: 0.53rem;
  }
  .vacancy-discovery-head .browse-jobs-cta {
    font-size: 0.55rem;
  }
  .vacancy-partners {
    padding: 14px 12px 20px;
    overflow: hidden;
    opacity: 1;
    transform: none;
  }
  .vacancy-partners-track {
    display: flex;
    gap: 0;
    width: 100%;
    transform: translateX(0);
  }
  .vacancy-partner-item {
    min-width: 100%;
    font-size: clamp(0.59rem, 0.7vw, 0.72rem);
    opacity: 1;
    transform: none;
  }
  .vacancy-partner-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
.vacancy-partner-icon img {
    border-radius: 8px;
  }
  .scroll-reveal {
    transform: translateY(16px) scale(0.99);
  }
}

@media (max-width: 1160px) {
  .settings-subgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .settings-launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-card-wide {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.vacancy-landing-page::before,
  body.vacancy-landing-page::after,
  .vacancy-landing::before,
  .vacancy-landing::after,
  .vacancy-btn-primary::before,
  .vacancy-copy h1 span {
    animation: none !important;
  }
  .vacancy-hero-grid,
  .vacancy-panel,
  .vacancy-partners-track,
  .vacancy-partner-item,
  .vacancy-btn,
  .scroll-reveal {
    transition: none !important;
    transform: none !important;
  }
  .scroll-reveal {
    opacity: 1 !important;
  }
}



/* Employer-Jobseeker chat + premium blur */
.seekers-blur {
  position: relative;
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

.seekers-grid .seeker-card {
  min-height: 220px;
}







































@keyframes breatheOnline {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes breatheOffline {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  70% { transform: scale(1.18); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}



/* ASW Conversations */
.conv-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 12px;
}

.conv-layout-sample {
  min-height: 68vh;
}

.conv-sidebar {
  border: 1px solid #d3dde8;
  border-radius: 14px;
  padding: 12px;
  background: #f5f6f8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.conv-title {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.conv-list {
  display: grid;
  gap: 10px;
  max-height: 70vh;
  overflow: auto;
  padding-right: 4px;
}

.conv-item {
  border: 1px solid #d9e0e8;
  border-radius: 12px;
  padding: 10px;
  background: #eef1f5;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.conv-item-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.conv-item-avatar .avatar {
  width: 38px;
  height: 38px;
}

.conv-item-body {
  min-width: 0;
}

.conv-item.active {
  border-color: #c7d2de;
  background: #dfe5ec;
  box-shadow: 0 4px 10px rgba(29, 53, 82, 0.12);
}

.conv-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(29, 53, 82, 0.12);
}

.conv-item strong {
  display: block;
  margin-bottom: 1px;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv-item-body .meta {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
}

.conv-item-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 72px;
}

.conv-item-side small {
  color: #526377;
  font-size: 0.74rem;
}

.conv-item small {
  color: #64748b;
}

.conv-main {
  border: 1px solid #d3dde8;
  border-radius: 14px;
  background: #f3f5f7;
  overflow: hidden;
}

.conv-chat-top {
  background: #eceef0;
  border-bottom: 1px solid #d7dee6;
  padding: 10px 14px;
}

.conv-chat-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.conv-chat-avatar .avatar {
  width: 38px;
  height: 38px;
}

.conv-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.conv-actions {
  padding: 8px 14px 10px;
  background: #edf0f3;
  border-bottom: 1px solid #d7dee6;
}

.conv-stream {
  background: linear-gradient(145deg, #e6ecf3 0%, #eef2f5 56%, #efefe7 100%);
  padding: 10px;
}

.conv-contact-chip {
  border: 1px solid #d6dde6;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px 10px;
  font-size: 0.92rem;
  color: #2f3d4f;
  margin-bottom: 10px;
}

.conv-thread {
  border: 1px solid #ced7e2;
  border-radius: 10px;
  padding: 10px 10px 12px;
  background: transparent;
  max-height: 44vh;
  overflow: auto;
  display: grid;
  gap: 10px;
  align-content: start;
}

.conv-thread-sample {
  scrollbar-width: thin;
}

.conv-msg {
  border: 1px solid #ccd5de;
  border-radius: 11px;
  padding: 8px 10px;
  background: #f6f7f9;
  max-width: 66%;
  width: fit-content;
}

.conv-msg.mine {
  margin-left: auto;
  border-color: #d7d0c2;
  background: #efe9df;
}

.conv-msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.conv-msg p {
  margin: 0;
  line-height: 1.5;
}

.conv-msg-time {
  display: block;
  text-align: right;
  margin-top: 3px;
  color: #5c6b7e;
  font-size: 0.74rem;
}

.conv-compose {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
  background: #f2f4f6;
  border-top: 1px solid #d7dee6;
  padding: 8px 10px;
}

.conv-compose .input {
  border-radius: 20px;
  min-height: 38px;
  resize: vertical;
}

.conv-compose-input {
  min-width: 0;
}

.conv-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #c9d3de;
  background: #ffffff;
  color: #5a6b7f;
}

.conv-send-btn {
  border-radius: 999px;
  min-height: 34px;
  padding: 6px 14px;
}

.conv-mobile-back {
  display: none;
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  .conv-layout {
    grid-template-columns: 1fr;
  }

  .conv-msg {
    max-width: 88%;
  }
}

@media (max-width: 768px) {
  .conv-shell.conv-mobile-list .conv-main {
    display: none;
  }

  .conv-shell.conv-mobile-thread .conv-sidebar {
    display: none;
  }

  .conv-mobile-back {
    display: inline-flex;
    font-size: 0.6rem;
    padding: 4px 8px;
    min-height: 24px;
    border-radius: 999px;
  }

  .conv-shell .conv-layout {
    gap: 8px;
  }

  .conv-shell .conv-sidebar,
  .conv-shell .conv-main {
    border-radius: 8px;
  }

  .conv-shell .conv-title,
  .conv-shell h2,
  .conv-shell h3,
  .conv-shell strong,
  .conv-shell .meta,
  .conv-shell small,
  .conv-shell .badge,
  .conv-shell .btn,
  .conv-shell .input,
  .conv-shell textarea,
  .conv-shell label,
  .conv-shell p {
    font-size: 60% !important;
  }

  .conv-shell .conv-item,
  .conv-shell .conv-msg,
  .conv-shell .conv-contact-chip {
    padding: 6px;
    border-radius: 7px;
  }

  .conv-shell .conv-sidebar,
  .conv-shell .conv-chat-top,
  .conv-shell .conv-actions,
  .conv-shell .conv-stream {
    padding: 7px;
  }

  .conv-shell .conv-thread {
    max-height: 56vh;
    padding: 6px;
    gap: 6px;
  }

  .conv-shell .conv-compose {
    gap: 5px;
    padding: 5px 7px;
    grid-template-columns: auto 1fr auto auto;
  }

  .conv-shell .conv-compose .input {
    min-height: 24px;
    border-radius: 12px;
    padding: 5px 8px;
  }

  .conv-shell .conv-icon-btn {
    width: 21px;
    height: 21px;
    font-size: 0.6rem;
  }

  .conv-shell .conv-send-btn {
    min-height: 21px;
    padding: 4px 8px;
  }

  .conv-shell .conv-item-avatar .avatar,
  .conv-shell .conv-chat-avatar .avatar {
    width: 24px;
    height: 24px;
  }
}

/* Vacancy Chat neon sample look */
.conv-shell.conv-neon {
  background:
    radial-gradient(1000px 400px at 8% 90%, rgba(12, 63, 132, 0.42), transparent 60%),
    radial-gradient(900px 340px at 95% 15%, rgba(40, 83, 178, 0.28), transparent 58%),
    linear-gradient(180deg, #06122b 0%, #07162f 46%, #08142a 100%);
  border: 1px solid #28406d;
  box-shadow: 0 20px 38px rgba(4, 10, 28, 0.6), inset 0 0 0 1px rgba(127, 168, 255, 0.16);
  color: #e7f0ff;
}

.conv-neon .conv-title,
.conv-neon .conv-item strong,
.conv-neon h3,
.conv-neon label {
  color: #f2f6ff;
}

.conv-neon .meta,
.conv-neon small {
  color: #b5c7e8;
}

.conv-neon .conv-sidebar,
.conv-neon .conv-main {
  background: rgba(7, 18, 40, 0.66);
  border-color: rgba(129, 161, 222, 0.36);
  box-shadow: inset 0 0 0 1px rgba(174, 197, 242, 0.1);
}

.conv-neon .conv-item {
  background: linear-gradient(160deg, rgba(77, 124, 213, 0.2), rgba(30, 54, 101, 0.5));
  border-color: rgba(134, 171, 240, 0.5);
  box-shadow: inset 0 0 0 1px rgba(188, 211, 253, 0.18);
}

.conv-neon .conv-item.active {
  background: linear-gradient(160deg, rgba(100, 163, 255, 0.28), rgba(34, 72, 148, 0.64));
  border-color: rgba(145, 196, 255, 0.8);
  box-shadow: 0 0 18px rgba(81, 154, 255, 0.38), inset 0 0 0 1px rgba(197, 227, 255, 0.33);
}

.conv-neon .conv-chat-top,
.conv-neon .conv-actions {
  background: linear-gradient(180deg, rgba(20, 34, 63, 0.9), rgba(18, 33, 60, 0.75));
  border-color: rgba(124, 158, 224, 0.4);
}

.conv-neon .conv-status-pill {
  border-radius: 999px;
  border: 1px solid rgba(118, 240, 214, 0.55);
  box-shadow: 0 0 14px rgba(53, 214, 191, 0.35);
  padding: 5px 12px;
  font-weight: 700;
}

.conv-neon .conv-stream {
  background:
    radial-gradient(720px 300px at 50% 100%, rgba(149, 102, 243, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(8, 19, 40, 0.74), rgba(11, 21, 42, 0.82));
}

.conv-neon .conv-contact-chip {
  background: rgba(26, 39, 67, 0.72);
  border-color: rgba(124, 152, 206, 0.55);
  color: #ddeaff;
}

.conv-neon .conv-thread {
  background: rgba(8, 19, 41, 0.45);
  border-color: rgba(121, 151, 210, 0.45);
}

.conv-neon .conv-msg {
  background: linear-gradient(175deg, rgba(212, 234, 255, 0.95), rgba(174, 205, 232, 0.92));
  border-color: rgba(226, 246, 255, 0.75);
  color: #182640;
}

.conv-neon .conv-msg.mine {
  background: linear-gradient(160deg, rgba(46, 95, 211, 0.88), rgba(67, 87, 210, 0.86));
  border-color: rgba(140, 169, 255, 0.8);
  color: #edf4ff;
  box-shadow: 0 0 22px rgba(64, 114, 255, 0.26);
}

.conv-neon .conv-msg.mine .conv-msg-time {
  color: #d9e6ff;
}

.conv-neon .conv-compose {
  background: rgba(11, 23, 47, 0.88);
  border-top-color: rgba(124, 161, 228, 0.45);
}

.conv-neon .conv-compose .input {
  background: rgba(205, 227, 255, 0.85);
  border-color: rgba(165, 194, 235, 0.8);
  color: #0f2444;
}

.conv-neon .conv-icon-btn {
  background: rgba(14, 31, 62, 0.85);
  border-color: rgba(122, 165, 233, 0.56);
  color: #d8e9ff;
}

.conv-neon .conv-send-btn {
  background: linear-gradient(145deg, #0e549f, #0f8cdb);
  border: 1px solid rgba(121, 210, 255, 0.72);
  color: #eaf6ff;
  box-shadow: 0 0 16px rgba(27, 152, 233, 0.44);
}

.conv-neon .btn.btn-outline {
  background: linear-gradient(165deg, rgba(129, 146, 183, 0.28), rgba(75, 94, 136, 0.28));
  border-color: rgba(154, 180, 237, 0.58);
  color: #ebf4ff;
}

body:has(.conv-shell.conv-neon) .site-header {
  background: linear-gradient(180deg, #071430, #09142b);
  border-bottom-color: rgba(98, 130, 188, 0.5);
}

body:has(.conv-shell.conv-neon) .site-header .logo,
body:has(.conv-shell.conv-neon) .site-header a {
  color: #dceaff;
}

.kyc-field-list {
  display: grid;
  gap: 8px;
}

.kyc-field-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px dashed #c8d3df;
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
  cursor: move;
}

.kyc-field-item.is-dragging {
  opacity: 0.55;
  border-color: #7da1ca;
}

