:root {
  --blue: #0b4cff;
  --dark: #06142e;
  --muted: #607089;
  --bg: #f6f8fc;
  --card: #fff;
  --line: #e7edf7;
}

/* Dynamic candidate discovery, hiring inbox and notifications */
.notification-center {
  position: relative;
  z-index: 130;
}

.notification-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid #dce4ef;
  border-radius: 50%;
  background: #fff;
  color: #344054;
  cursor: pointer;
}

.notification-button:hover,
.notification-center.open .notification-button {
  border-color: #b9cbff;
  background: #f5f7ff;
  color: #1753ff;
}

.notification-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: -54px;
  display: none;
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(16, 24, 40, 0.18);
}

.notification-center.open .notification-dropdown {
  display: block;
}

.notification-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border-bottom: 1px solid #e8edf4;
}

.notification-dropdown-head > div {
  display: grid;
  gap: 3px;
}

.notification-dropdown-head strong {
  color: #101828;
  font-size: 15px;
}

.notification-dropdown-head span {
  color: #7a879b;
  font-size: 11px;
}

.notification-dropdown-head button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #1753ff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.notification-list {
  max-height: 430px;
  overflow-y: auto;
}

.notification-item {
  display: grid;
  width: 100%;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #eef1f5;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.notification-item.unread {
  background: #f6f8ff;
}

.notification-marker {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #eaf0ff;
  color: #1753ff;
  font-weight: 700;
}

.notification-item > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.notification-item strong {
  color: #172033;
  font-size: 13px;
}

.notification-item span span {
  color: #667085;
  font-size: 12px;
  line-height: 1.4;
}

.notification-item small {
  color: #98a2b3;
  font-size: 10px;
}

.notification-empty,
.hiring-empty-state,
.candidate-empty-search {
  display: grid;
  gap: 7px;
  padding: 24px;
  color: #667085;
  text-align: center;
}

.notification-empty strong,
.hiring-empty-state strong,
.candidate-empty-search strong {
  color: #172033;
  font-size: 15px;
}

.hiring-empty-state a,
.candidate-empty-search a {
  color: #1753ff;
  font-weight: 700;
}

.candidate-directory-page,
.candidate-public-view-page {
  min-height: 100vh;
  background: #f4f7fb;
}

.candidate-directory-shell,
.candidate-public-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.candidate-directory-hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border: 1px solid #dce6f5;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #f4f7ff 68%, #f7f1ff 100%);
}

.candidate-directory-hero::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(23, 83, 255, 0.08);
  filter: blur(2px);
}

.directory-eyebrow {
  display: inline-block;
  color: #1753ff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.candidate-directory-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 10px 0 8px;
  color: #101828;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.candidate-directory-hero > p {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.65;
}

.candidate-search-bar {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 860px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 26px;
  padding: 9px 9px 9px 17px;
  border: 1px solid #cfdaea;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 83, 255, 0.08);
}

.candidate-search-bar > span {
  color: #667085;
  font-size: 26px;
}

.candidate-search-bar input {
  min-width: 0;
  padding: 11px 4px;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.candidate-search-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  color: #667085;
  font-size: 12px;
}

.candidate-search-meta button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #1753ff;
  font-weight: 700;
  cursor: pointer;
}

.candidate-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.directory-loading-card {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px solid #e1e7f0;
  border-radius: 16px;
  background: #fff;
  color: #667085;
  text-align: center;
}

.candidate-directory-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid #dfe6f0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.035);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.candidate-directory-card:hover {
  transform: translateY(-2px);
  border-color: #bdceff;
  box-shadow: 0 16px 32px rgba(23, 83, 255, 0.08);
}

.candidate-card-identity,
.candidate-public-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.directory-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  overflow: hidden;
  place-items: center;
  border: 3px solid #eef2ff;
  border-radius: 16px;
  background: linear-gradient(145deg, #1753ff, #7047eb);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.directory-avatar.large {
  width: 94px;
  height: 94px;
  flex-basis: 94px;
  border-radius: 24px;
  font-size: 24px;
}

.directory-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.candidate-card-identity > div:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.candidate-card-identity a {
  color: #101828;
  font-size: 17px;
  font-weight: 700;
}

.candidate-card-identity strong {
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

.candidate-card-identity span {
  color: #7a879b;
  font-size: 12px;
}

.candidate-directory-card > p {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.candidate-skill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.candidate-skill-row span {
  padding: 6px 9px;
  border: 1px solid #dbe5ff;
  border-radius: 999px;
  background: #f5f7ff;
  color: #3159b7;
  font-size: 11px;
  font-weight: 600;
}

.candidate-card-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.candidate-card-facts > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  background: #f7f9fc;
}

.candidate-card-facts small {
  color: #98a2b3;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.candidate-card-facts strong {
  overflow: hidden;
  color: #344054;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #edf0f5;
}

.candidate-card-actions > div {
  display: flex;
  gap: 7px;
}

.candidate-card-actions .btn {
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 11px;
}

.candidate-profile-link {
  color: #1753ff;
  font-size: 12px;
  font-weight: 700;
}

.candidate-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
}

.candidate-pagination a {
  display: grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
}

.candidate-pagination a.active {
  border-color: #1753ff;
  background: #1753ff;
  color: #fff;
}

.candidate-pagination a.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.candidate-action-dialog {
  width: min(560px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

.candidate-action-dialog::backdrop {
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(3px);
}

.candidate-dialog-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  background: #fff;
}

.candidate-dialog-card h2 {
  margin: -7px 0 0;
  color: #101828;
  font-size: 24px;
}

.candidate-dialog-card > p:not(.form-message) {
  margin: -9px 0 0;
  color: #667085;
}

.candidate-dialog-card > div {
  display: grid;
  gap: 7px;
}

.candidate-dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: #475467;
  font-size: 20px;
  cursor: pointer;
}

.candidate-public-shell {
  padding-top: 30px;
}

.candidate-back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}

.candidate-public-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border: 1px solid #dce6f5;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #f5f7ff);
}

.candidate-public-identity > div:last-child {
  display: grid;
  gap: 5px;
}

.candidate-public-identity h1 {
  margin: 2px 0 0;
  color: #101828;
  font-size: 32px;
}

.candidate-public-identity p {
  margin: 0;
  color: #475467;
  font-size: 16px;
}

.candidate-public-identity > div:last-child > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #667085;
  font-size: 12px;
}

.candidate-public-actions {
  display: flex;
  gap: 10px;
}

.candidate-public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 22px;
  margin-top: 22px;
}

.candidate-public-main,
.candidate-public-side {
  display: grid;
  align-content: start;
  gap: 22px;
}

.candidate-detail-panel {
  padding: 26px;
  border: 1px solid #dfe6f0;
  border-radius: 17px;
  background: #fff;
}

.candidate-detail-panel h2 {
  margin: 0 0 17px;
  color: #101828;
  font-size: 19px;
}

.candidate-detail-panel > p {
  color: #667085;
  line-height: 1.7;
}

.candidate-detail-timeline {
  display: grid;
  gap: 20px;
}

.candidate-detail-entry {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0f5;
}

.candidate-detail-entry:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.candidate-detail-entry > span {
  color: #7a879b;
  font-size: 11px;
}

.candidate-detail-entry > div {
  display: grid;
  gap: 4px;
}

.candidate-detail-entry strong {
  color: #172033;
  font-size: 15px;
}

.candidate-detail-entry small,
.candidate-detail-entry p,
.candidate-side-list span {
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.candidate-detail-entry p {
  margin: 4px 0 0;
}

.candidate-profile-facts,
.candidate-side-list {
  display: grid;
  gap: 13px;
}

.candidate-profile-facts > span,
.candidate-side-list article {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f5;
}

.candidate-profile-facts > span:last-child,
.candidate-side-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.candidate-profile-facts small {
  color: #98a2b3;
  font-size: 10px;
  text-transform: uppercase;
}

.candidate-profile-facts strong,
.candidate-side-list strong {
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.candidate-offers-panel,
.accepted-talent-panel {
  margin-bottom: 24px;
}

.candidate-offer-list,
.accepted-talent-list,
.candidate-message-list {
  display: grid;
  gap: 12px;
}

.candidate-offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px;
  border: 1px solid #dfe6f0;
  border-radius: 14px;
  background: #fff;
}

.candidate-offer-card.status-pending {
  border-color: #c9d7ff;
  background: #f8f9ff;
}

.candidate-offer-card.status-accepted {
  border-color: #b9e6ca;
  background: #f4fbf7;
}

.candidate-offer-main {
  display: flex;
  min-width: 0;
  gap: 13px;
}

.candidate-offer-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 11px;
  background: #eaf0ff;
  color: #1753ff;
  font-weight: 700;
}

.candidate-offer-main > div {
  display: grid;
  gap: 4px;
}

.candidate-offer-main small {
  color: #7a879b;
  font-size: 11px;
}

.candidate-offer-main strong {
  color: #172033;
  font-size: 16px;
}

.candidate-offer-main p {
  margin: 2px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.candidate-offer-actions {
  display: flex;
  gap: 8px;
}

.candidate-offer-actions .btn {
  padding: 9px 11px;
  font-size: 11px;
}

.offer-status-label {
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #117a45;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.candidate-message-list:not(:empty) {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e5eaf2;
}

.candidate-message-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.candidate-message-heading h3 {
  margin: 0;
  color: #172033;
  font-size: 16px;
}

.candidate-message-heading span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #eaf0ff;
  color: #1753ff;
  font-size: 11px;
  font-weight: 700;
}

.candidate-message-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  background: #fafbfc;
}

.candidate-message-list article > div {
  display: grid;
  gap: 4px;
}

.candidate-message-list strong {
  color: #344054;
  font-size: 13px;
}

.candidate-message-list small,
.candidate-message-list p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.accepted-talent-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.accepted-talent-list > article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dfe6f0;
  border-radius: 13px;
  background: #f9fbff;
}

.accepted-talent-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #1753ff, #7047eb);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.accepted-talent-list article > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.accepted-talent-list article strong {
  color: #172033;
  font-size: 13px;
}

.accepted-talent-list article small {
  overflow: hidden;
  color: #667085;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .candidate-directory-grid,
  .candidate-public-layout,
  .accepted-talent-list {
    grid-template-columns: 1fr;
  }

  .candidate-public-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .candidate-directory-shell,
  .candidate-public-shell {
    width: min(100% - 28px, 1240px);
    padding-top: 24px;
  }

  .candidate-directory-hero {
    padding: 26px 20px;
  }

  .candidate-search-bar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .candidate-card-facts,
  .candidate-message-list article {
    grid-template-columns: 1fr;
  }

  .candidate-card-actions,
  .candidate-offer-card {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .candidate-card-actions {
    display: flex;
  }

  .candidate-card-actions > div,
  .candidate-public-actions,
  .candidate-offer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .candidate-detail-entry {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .notification-dropdown {
    position: fixed;
    top: 76px;
    right: 14px;
  }
}

/* Mobile navigation, responsive polish and logo rendering */
html {
  overflow-x: clip;
}
body {
  min-width: 0;
  overflow-x: clip;
}
img,
svg,
video {
  max-width: 100%;
}
.brand,
.home-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  transform: translateZ(0);
}
.footer-logo-link span {
  color: #fff !important;
}
.mobile-drawer-head,
.mobile-nav-backdrop {
  display: none;
}

@media (max-width: 900px) {
  .nav,
  .home-nav {
    z-index: 1400;
    width: 100%;
    height: 72px;
    padding-right: 18px;
    padding-left: 18px;
    backdrop-filter: none;
  }
  .home-brand {
    gap: 9px;
    font-size: 19px;
  }
  .home-brand .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .menu-toggle {
    position: relative;
    z-index: 1301;
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-color: #d7e0ee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 7px 22px rgba(6, 20, 46, 0.09);
  }
  .menu-toggle span {
    width: 21px;
    margin: 4px auto;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .public-nav .home-links {
    position: fixed;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    z-index: 1300;
    display: flex;
    visibility: hidden;
    width: min(88vw, 370px);
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px 24px;
    border: 0;
    border-radius: 0 24px 24px 0;
    background: #fff;
    box-shadow: 24px 0 70px rgba(5, 20, 48, 0.24);
    opacity: 0;
    transform: translateX(-104%);
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      visibility 0.25s;
    pointer-events: none;
  }
  .public-nav .home-links.open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }
  .mobile-drawer-head {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: -2px 0 16px;
    padding: 0 2px 16px;
    border-bottom: 1px solid #e5eaf2;
  }
  .mobile-drawer-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: #062f67;
  }
  .mobile-drawer-brand img {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    object-fit: contain;
  }
  .mobile-drawer-brand span {
    display: grid;
    min-width: 0;
    gap: 2px;
  }
  .mobile-drawer-brand strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }
  .mobile-drawer-brand small {
    overflow: hidden;
    max-width: 205px;
    color: #66758d;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-drawer-close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid #dce4f0;
    border-radius: 12px;
    background: #f7f9fc;
    color: #21314b;
    cursor: pointer;
    font: inherit;
    place-items: center;
  }
  .mobile-drawer-close span {
    margin-top: -2px;
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
  }
  .public-nav .home-links > a {
    display: flex;
    min-height: 49px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #24334b;
    font-size: 15px;
    font-weight: 650;
  }
  .public-nav .home-links > a:hover,
  .public-nav .home-links > a:focus-visible {
    border-color: #dce6f5;
    background: #f3f7fd;
    color: #073f9f;
  }
  .public-nav .home-links > a::after {
    display: none;
  }
  .public-nav .home-links .mobile-auth-link {
    display: flex !important;
    justify-content: center;
    margin-top: 12px;
    text-align: center;
  }
  .public-nav .home-links .mobile-auth-link[hidden] {
    display: none !important;
  }
  .public-nav .home-links .mobile-login-link {
    order: 90;
    margin-top: 12px;
    border-color: #d3deee;
    background: #fff;
  }
  .public-nav .home-links .mobile-register-link {
    order: 91;
    margin-top: 6px;
    border-color: #0b4cff;
    background: #0b4cff;
    color: #fff;
    box-shadow: 0 10px 25px rgba(11, 76, 255, 0.2);
  }
  .public-nav .home-links .mobile-register-link:hover,
  .public-nav .home-links .mobile-register-link:focus-visible {
    border-color: #073ed8;
    background: #073ed8;
    color: #fff;
  }
  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: block;
    visibility: hidden;
    border: 0;
    background: rgba(3, 15, 38, 0.58);
    opacity: 0;
    transition:
      opacity 0.25s ease,
      visibility 0.25s;
    pointer-events: none;
    backdrop-filter: blur(3px);
  }
  .mobile-nav-backdrop.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  body.mobile-nav-open {
    overflow: hidden;
  }
  .home-footer {
    padding-right: 24px;
    padding-left: 24px;
  }
  .nav-cta {
    width: 150px;
  }
}

@media (max-width: 680px) {
  .home-hero {
    padding: 54px 18px 68px;
  }
  .home-hero-content,
  .hero-copy,
  .home-section,
  .jobs-shell,
  .policy-shell,
  .register-shell,
  .auth-shell,
  .employer-page main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .home-hero h1 {
    font-size: clamp(38px, 11.5vw, 50px);
    line-height: 1.04;
  }
  .hero-description {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
  }
  .hero-actions {
    width: 100%;
  }
  .home-section,
  .jobs-shell,
  .policy-shell {
    padding-right: 18px;
    padding-left: 18px;
  }
  .feature-card,
  .home-price-card,
  .policy-card,
  .jobs-hero {
    min-width: 0;
    max-width: 100%;
  }
  .home-footer {
    padding: 54px 20px 25px;
  }
  .footer-main {
    gap: 30px;
    padding-bottom: 38px;
  }
  .footer-column a,
  .footer-column address,
  .footer-brand p {
    overflow-wrap: anywhere;
  }
  .footer-bottom {
    gap: 14px;
    padding-top: 22px;
    line-height: 1.6;
  }
  .footer-bottom div {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

/* Employer subscription checkout */
.checkout-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(23, 83, 255, 0.08), transparent 28%),
    #f6f8fc;
  color: #101828;
}

.checkout-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.checkout-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.checkout-heading > a {
  display: inline-flex;
  margin-bottom: 26px;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
}

.checkout-secure-pill {
  display: table;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #eef4ff;
  color: #174ea6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-heading h1 {
  margin: 0;
  color: #0b1739;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.checkout-heading p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.65;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.62fr);
  gap: 28px;
  align-items: start;
}

.checkout-form,
.checkout-summary,
.checkout-success {
  border: 1px solid #e1e7f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(16, 24, 40, 0.07);
}

.checkout-form {
  padding: 32px;
}

.checkout-section + .checkout-section {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid #eaecf0;
}

.checkout-section-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.checkout-section-title > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: #1753ff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.checkout-section-title h2 {
  margin: 0;
  color: #101828;
  font-size: 19px;
  font-weight: 700;
}

.checkout-section-title p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 13px;
}

.checkout-fields {
  display: grid;
  gap: 18px;
}

.checkout-fields.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-fields label,
.checkout-card-field > label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

.checkout-fields input,
.checkout-fields select,
.checkout-card-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #101828;
  font: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.checkout-fields input:focus,
.checkout-fields select:focus,
.checkout-card-field input:focus {
  border-color: #1753ff;
  box-shadow: 0 0 0 4px rgba(23, 83, 255, 0.1);
}

.checkout-demo-notice {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid #fedf89;
  border-radius: 10px;
  background: #fffaeb;
  color: #7a2e0e;
  font-size: 12px;
  line-height: 1.5;
}

.checkout-demo-notice strong {
  font-weight: 700;
}

.checkout-card-field > div {
  display: flex;
  align-items: center;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
}

.checkout-card-field > div:focus-within {
  border-color: #1753ff;
  box-shadow: 0 0 0 4px rgba(23, 83, 255, 0.1);
}

.checkout-card-field > div input {
  border: 0;
  box-shadow: none;
}

.checkout-card-field > div input:focus {
  box-shadow: none;
}

.checkout-card-field > div span {
  margin-right: 13px;
  padding: 5px 7px;
  border-radius: 5px;
  background: #172b85;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.compact-fields {
  margin-top: 18px;
}

.checkout-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 26px 0 10px;
  color: #475467;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-consent input {
  margin-top: 3px;
  accent-color: #1753ff;
}

.checkout-consent a {
  color: #1753ff;
  font-weight: 600;
}

.checkout-submit {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
}

.checkout-lock-note {
  margin: 13px 0 0;
  color: #667085;
  font-size: 12px;
  text-align: center;
}

.checkout-summary {
  position: sticky;
  top: 104px;
  padding: 28px;
}

.checkout-plan-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 17px 0 24px;
  padding: 4px;
  border-radius: 10px;
  background: #f2f4f7;
}

.checkout-plan-switch a {
  padding: 9px;
  border-radius: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.checkout-plan-switch a.active {
  background: #fff;
  color: #1753ff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.09);
}

.checkout-price {
  display: grid;
  gap: 13px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eaecf0;
}

.checkout-price > strong {
  font-size: 22px;
  font-weight: 700;
}

.checkout-price > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.checkout-price b {
  color: #0b1739;
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.checkout-price span,
.checkout-summary > p {
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.checkout-trial-line,
.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-trial-line {
  margin-top: 15px;
  color: #475467;
  font-size: 13px;
}

.checkout-trial-line strong {
  color: #039855;
  font-weight: 700;
}

.checkout-summary ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 20px 0;
  border-top: 1px solid #eaecf0;
  border-bottom: 1px solid #eaecf0;
  list-style: none;
}

.checkout-summary li {
  color: #344054;
  font-size: 13px;
}

.checkout-summary li::first-letter {
  color: #039855;
}

.checkout-total {
  margin-bottom: 18px;
  color: #344054;
  font-size: 13px;
}

.checkout-total strong {
  font-weight: 700;
}

.checkout-success {
  max-width: 680px;
  margin: 20px auto 0;
  padding: 50px;
  text-align: center;
}

.checkout-success > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #ecfdf3;
  color: #039855;
  font-size: 28px;
}

.checkout-success h2 {
  margin: 10px 0;
  color: #0b1739;
  font-size: 30px;
  font-weight: 700;
}

.checkout-success > p:not(.directory-eyebrow) {
  max-width: 540px;
  margin: 0 auto 25px;
  color: #667085;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .checkout-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 30px;
  }
  .checkout-form,
  .checkout-summary {
    padding: 22px;
    border-radius: 15px;
  }
  .checkout-fields.two-column {
    grid-template-columns: 1fr;
  }
  .checkout-heading h1 {
    font-size: 36px;
  }
  .checkout-success {
    padding: 34px 22px;
  }
}

/* Paid employer access gate */
.candidate-directory-grid > .candidate-subscription-gate {
  grid-column: 1 / -1;
}

.candidate-subscription-gate {
  width: min(760px, 100%);
  margin: 42px auto;
  padding: 44px;
  border: 1px solid #dce5f2;
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 5%, rgba(23, 92, 255, 0.12), transparent 34%),
    #ffffff;
  box-shadow: 0 20px 55px rgba(20, 39, 75, 0.1);
  text-align: center;
}

.subscription-gate-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 18px;
  background: #175cff;
  box-shadow: 0 12px 28px rgba(23, 92, 255, 0.24);
  color: #ffffff;
  font-size: 25px;
}

.candidate-subscription-gate h2 {
  margin: 10px 0 10px;
  color: #101828;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
}

.candidate-subscription-gate > p {
  max-width: 620px;
  margin: 0 auto;
  color: #667085;
  font-size: 16px;
  line-height: 1.65;
}

.subscription-gate-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 25px 0;
}

.subscription-gate-benefits span {
  padding: 8px 12px;
  border: 1px solid #dfe6f2;
  border-radius: 999px;
  background: #f7f9fd;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

.subscription-gate-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

@media (max-width: 620px) {
  .candidate-subscription-gate {
    margin: 22px auto;
    padding: 30px 20px;
  }

  .subscription-gate-actions {
    flex-direction: column;
  }
}

/* Dedicated direct messages workspace */
.messages-page {
  min-height: 100vh;
  background: #f4f7fb;
  color: #172033;
}

.messages-workspace {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px 40px 48px;
}

.messages-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: calc(100vh - 150px);
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(28, 42, 72, 0.09);
}

.conversation-panel {
  min-width: 0;
  border-right: 1px solid #e5eaf1;
  background: #fbfcfe;
}

.conversation-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 25px 24px 16px;
}

.conversation-panel-head div > span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversation-panel-head h1 {
  margin: 3px 0 0;
  color: #101828;
  font-size: 28px;
  line-height: 1.1;
}

.message-live-badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eafaf1;
  color: #087443;
  font-size: 12px;
  font-weight: 700;
}

.conversation-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 20px 16px;
  padding: 0 13px;
  border: 1px solid #d9e1ec;
  border-radius: 11px;
  background: #fff;
}

.conversation-search:focus-within {
  border-color: #175cff;
  box-shadow: 0 0 0 3px rgba(23, 92, 255, 0.1);
}

.conversation-search svg {
  width: 18px;
  fill: none;
  stroke: #667085;
  stroke-linecap: round;
  stroke-width: 2;
}

.conversation-search input {
  width: 100%;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font: inherit;
}

.conversation-list {
  max-height: calc(100vh - 265px);
  overflow-y: auto;
  padding: 0 10px 18px;
}

.conversation-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 13px 11px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.conversation-item:hover {
  background: #f0f4fa;
}
.conversation-item.active {
  background: #eaf0ff;
}

.message-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #184dff, #5638e8);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.conversation-copy {
  min-width: 0;
}
.conversation-copy > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.conversation-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conversation-copy time {
  flex: none;
  color: #98a2b3;
  font-size: 11px;
}
.conversation-copy small {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conversation-item > b {
  min-width: 20px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #175cff;
  color: #fff;
  font-size: 11px;
  text-align: center;
}

.conversation-empty,
.message-loading {
  display: grid;
  gap: 6px;
  padding: 36px 22px;
  color: #667085;
  text-align: center;
}
.conversation-empty strong {
  color: #344054;
}
.conversation-empty span {
  font-size: 13px;
  line-height: 1.5;
}

.chat-panel {
  min-width: 0;
  background: #fff;
}
.chat-empty {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  text-align: center;
}
.chat-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: #eaf0ff;
  color: #175cff;
  font-size: 26px;
}
.chat-empty h2 {
  margin: 18px 0 6px;
  font-size: 24px;
}
.chat-empty p {
  margin: 0;
  color: #667085;
}
.chat-view {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
}
.chat-view[hidden],
.chat-empty[hidden] {
  display: none;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 14px 22px;
  border-bottom: 1px solid #e5eaf1;
}
.chat-header div {
  min-width: 0;
}
.chat-header strong,
.chat-header span {
  display: block;
}
.chat-header strong {
  color: #101828;
  font-size: 16px;
}
.chat-header div span {
  margin-top: 3px;
  overflow: hidden;
  color: #667085;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-secure-label {
  margin-left: auto;
  color: #667085;
  font-size: 12px;
}

.chat-thread {
  min-height: 0;
  max-height: calc(100vh - 330px);
  overflow-y: auto;
  padding: 25px 28px;
  background: linear-gradient(180deg, #fcfdff 0%, #f8faff 100%);
}
.message-row {
  display: flex;
  margin: 10px 0;
}
.message-row.outgoing {
  justify-content: flex-end;
}
.message-bubble {
  max-width: min(640px, 75%);
  padding: 11px 14px 8px;
  border: 1px solid #e1e7f0;
  border-radius: 15px 15px 15px 4px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
}
.message-row.outgoing .message-bubble {
  border-color: #175cff;
  border-radius: 15px 15px 4px 15px;
  background: #175cff;
  color: #fff;
}
.message-bubble p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message-bubble time {
  display: block;
  margin-top: 5px;
  color: #98a2b3;
  font-size: 10px;
  text-align: right;
}
.message-row.outgoing .message-bubble time {
  color: rgba(255, 255, 255, 0.72);
}
.thread-start {
  padding: 60px 20px;
  color: #667085;
  text-align: center;
}
.thread-start span {
  color: #344054;
  font-weight: 700;
}
.thread-start p {
  margin: 6px 0 0;
  font-size: 13px;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #e5eaf1;
  background: #fff;
}
.chat-composer textarea {
  min-height: 46px;
  max-height: 140px;
  resize: none;
  padding: 12px 14px;
  border: 1px solid #d9e1ec;
  border-radius: 12px;
  outline: 0;
  color: #172033;
  font: inherit;
  line-height: 1.45;
}
.chat-composer textarea:focus {
  border-color: #175cff;
  box-shadow: 0 0 0 3px rgba(23, 92, 255, 0.1);
}
.chat-composer .btn {
  min-width: 86px;
  align-self: end;
}
.chat-composer .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 820px) {
  .messages-workspace {
    padding: 16px;
  }
  .messages-card {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: calc(100vh - 120px);
  }
  .conversation-panel-head {
    padding: 18px 12px 12px;
  }
  .conversation-panel-head div > span,
  .message-live-badge,
  .conversation-search,
  .conversation-copy,
  .conversation-item > b {
    display: none;
  }
  .conversation-panel-head h1 {
    font-size: 17px;
  }
  .conversation-list {
    padding: 0 9px;
  }
  .conversation-item {
    display: flex;
    justify-content: center;
    padding: 10px 7px;
  }
  .chat-secure-label {
    display: none;
  }
  .chat-thread {
    padding: 18px 14px;
  }
  .message-bubble {
    max-width: 88%;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
}
a {
  text-decoration: none;
  color: inherit;
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand {
  font-weight: 700;
  color: #013068 !important;
  font-size: 24px;
  letter-spacing: 0.5px;
}
.links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn {
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  display: inline-block;
}
.btn.secondary {
  background: #eaf0ff;
  color: var(--blue);
}
.btn.big {
  padding: 15px 24px;
}
.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  padding: 90px 6%;
  align-items: center;
  background: linear-gradient(135deg, #eef4ff, #fff);
}
.hero h1 {
  font-size: 58px;
  line-height: 1.02;
  margin: 10px 0;
}
.hero p {
  font-size: 20px;
  color: var(--muted);
  max-width: 820px;
}
.eyebrow {
  font-size: 14px !important;
  color: var(--blue) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cta {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.hero-card,
.panel,
.cards > div,
.price,
.tool,
.dash-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 14px 50px rgba(20, 45, 90, 0.08);
  border-radius: 28px;
  padding: 28px;
}
.metric {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.metric b {
  font-size: 30px;
  color: var(--blue);
}
.section {
  padding: 70px 6%;
}
.section h2 {
  font-size: 38px;
  margin: 0 0 28px;
}
.grid {
  display: grid;
  gap: 22px;
}
.cards {
  grid-template-columns: repeat(4, 1fr);
}
.cards h3,
.price h3 {
  font-size: 22px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ticks li {
  margin: 14px 0;
  font-size: 18px;
}
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price b {
  font-size: 42px;
  color: var(--blue);
}
.featured {
  outline: 3px solid var(--blue);
}
textarea {
  width: 100%;
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  font-size: 16px;
}
pre {
  background: #07162f;
  color: #d5e4ff;
  padding: 18px;
  border-radius: 16px;
  white-space: pre-wrap;
  min-height: 70px;
}
.dashboard {
  padding: 30px 6%;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 18px;
  overflow: hidden;
}
.table th,
.table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
footer {
  padding: 40px 6%;
  background: #06142e;
  color: white;
}
@media (max-width: 900px) {
  .hero,
  .split,
  .cards,
  .pricing,
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .links {
    display: none;
  }
  .hero h1 {
    font-size: 42px;
  }
}
input,
select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 8px 0;
  font-size: 16px;
}

/* Registration */
.register-page {
  min-height: 100vh;
  background: #fff;
}
.register-nav {
  position: relative;
  height: 80px;
  padding: 0 clamp(22px, 5vw, 72px);
  box-shadow: 0 1px 0 rgba(10, 35, 75, 0.04);
}
.register-nav .brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  object-fit: cover;
  object-position: center;
  /* border-radius: 12px; */
  /* background: linear-gradient(145deg, #0b4cff, #643cff); */
  color: #fff;
  /* font-size: 20px; */
  /* box-shadow: 0 8px 20px rgba(11, 76, 255, 0.25); */
}
.register-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.register-nav-actions .btn {
  padding: 10px 18px;
  border-radius: 12px;
}
.register-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
  min-height: calc(100vh - 80px);
}
.register-intro {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  padding: clamp(48px, 7vw, 100px);
  color: #fff;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(95, 126, 255, 0.42),
      transparent 32%
    ),
    linear-gradient(145deg, #071b46 0%, #0a2f78 54%, #134ac0 100%);
}
.register-intro::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.register-intro-content {
  position: relative;
  z-index: 2;
  max-width: 590px;
}
.register-intro .eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #cdd9ff !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.register-intro h1 {
  margin: 0;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.register-intro h1 span {
  color: #80a8ff;
}
.register-lead {
  max-width: 540px;
  margin: 24px 0 36px;
  color: #c8d5f2;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.7;
}
.register-benefits {
  display: grid;
  gap: 20px;
}
.register-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.register-benefit strong,
.register-benefit small {
  display: block;
}
.register-benefit strong {
  margin-bottom: 4px;
  font-size: 16px;
}
.register-benefit small {
  color: #adbee3;
  font-size: 14px;
  line-height: 1.5;
}
.benefit-icon {
  display: grid;
  flex: 0 0 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(85, 234, 179, 0.16);
  color: #67edbd;
  font-weight: 700;
}
.register-orb {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.register-orb-one {
  right: -120px;
  bottom: -170px;
  width: 440px;
  height: 440px;
}
.register-orb-two {
  right: 40px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.035);
}
.register-form-wrap {
  display: grid;
  place-items: center;
  padding: 48px clamp(24px, 7vw, 110px);
  background: linear-gradient(145deg, #fff, #f8faff);
}
.register-card {
  width: 100%;
  max-width: 650px;
}
.register-heading {
  margin-bottom: 30px;
}
.register-heading h2 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.035em;
}
.register-heading p {
  margin: 0;
  color: var(--muted);
}
.step-pill {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field-group {
  margin-bottom: 18px;
}
.field-group label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}
.input-wrap {
  position: relative;
}
.register-card input,
.register-card select {
  height: 54px;
  margin: 0;
  border: 1px solid #dce4f1;
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: var(--dark);
  font-size: 15px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.register-card input {
  padding: 0 48px;
}
.register-card select {
  padding: 0 42px 0 16px;
  appearance: none;
}
.register-card input:focus,
.register-card select:focus {
  border-color: #5c82ff;
  box-shadow: 0 0 0 4px rgba(11, 76, 255, 0.1);
}

.field-helper {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.field-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 17px;
  width: 18px;
  color: #8090aa;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.field-lock {
  color: #a3afc2;
  font-size: 10px;
}
.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #8290a7;
  border-bottom: 2px solid #8290a7;
  content: "";
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.register-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-50%);
}
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}
.terms-check input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--blue);
}
.terms-check a {
  color: var(--blue);
  font-weight: 700;
}
.register-submit {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  border-radius: 15px;
  background: linear-gradient(100deg, #0b4cff, #553bdf);
  box-shadow: 0 14px 28px rgba(11, 76, 255, 0.22);
  font-size: 16px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
}
.register-submit:hover {
  box-shadow: 0 18px 34px rgba(11, 76, 255, 0.3);
  transform: translateY(-2px);
}
.register-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}
.secure-note {
  margin: 17px 0 0;
  color: #8390a4;
  font-size: 12px;
  text-align: center;
}
.form-message {
  display: none;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
.form-message.error,
.form-message.success {
  display: block;
}
.form-message.error {
  color: #a22232;
  background: #fff0f2;
}
.form-message.success {
  color: #087550;
  background: #eafbf5;
}

@media (max-width: 960px) {
  .register-shell {
    grid-template-columns: 1fr;
  }
  .register-intro {
    min-height: auto;
    padding: 64px 7%;
  }
  .register-intro h1 br {
    display: none;
  }
  .register-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  .register-nav-actions > span {
    display: none;
  }
  .register-nav .brand {
    font-size: 19px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .register-intro {
    padding: 48px 24px;
  }
  .register-benefits,
  .register-field-grid {
    grid-template-columns: 1fr;
  }
  .register-benefits {
    gap: 16px;
  }
  .register-form-wrap {
    padding: 42px 22px 58px;
  }
  .register-field-grid {
    gap: 0;
  }
}

/* Homepage */
.home-page {
  overflow-x: hidden;
  background: #fff;
}
.home-nav {
  height: 82px;
  padding: 0 max(5%, calc((100% - 1380px) / 2));
  border-color: rgba(226, 232, 243, 0.75);
}
.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-links {
  gap: 32px;
}
.home-links a,
.nav-login {
  color: #35435b;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s;
}
.home-links a:hover,
.nav-login:hover {
  color: var(--blue);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.user-menu {
  position: relative;
}
.user-avatar-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(11, 76, 255, 0.24);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.user-avatar-button:hover,
.user-avatar-button:focus-visible {
  outline: 3px solid rgba(11, 76, 255, 0.18);
  outline-offset: 3px;
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: none;
  width: 220px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(6, 20, 46, 0.16);
}
.user-menu.open .user-dropdown {
  display: grid;
}
.user-dropdown-identity {
  display: grid;
  gap: 3px;
  padding: 10px 11px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 5px;
}
.user-dropdown-identity strong {
  overflow: hidden;
  color: var(--dark);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown-identity span {
  color: var(--muted);
  font-size: 12px;
  text-transform: capitalize;
}
.user-dropdown a,
.user-logout-button {
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #35435b;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.user-dropdown a:hover,
.user-logout-button:hover {
  background: #f2f6ff;
  color: var(--blue);
}
.session-nav-actions {
  margin-left: auto;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(11, 76, 255, 0.18);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--dark);
}
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 790px;
  padding: 104px max(5%, calc((100% - 1380px) / 2)) 110px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, #07142f 0%, #0a2051 52%, #0b2869 100%);
  background-size:
    48px 48px,
    48px 48px,
    auto;
}
.home-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(50px, 7vw, 110px);
  max-width: 1380px;
  margin: auto;
  align-items: center;
}
.hero-copy {
  max-width: 620px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  padding: 8px 13px;
  border: 1px solid rgba(139, 168, 255, 0.24);
  border-radius: 999px;
  color: #c6d4f5;
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65e5ad;
  box-shadow: 0 0 0 5px rgba(101, 229, 173, 0.1);
}
.home-hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.home-hero h1 em {
  color: #89aaff;
  font-style: normal;
}
.hero-description {
  max-width: 590px;
  margin: 26px 0 0;
  color: #b9c7e5;
  font-size: 19px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}
.hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 14px;
  background: linear-gradient(105deg, #3268ff, #7048ee);
  box-shadow: 0 16px 34px rgba(33, 88, 255, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.hero-primary:hover {
  box-shadow: 0 20px 40px rgba(33, 88, 255, 0.4);
  transform: translateY(-2px);
}
.hero-employer {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
  color: #fff;
  backdrop-filter: blur(10px);
}
.hero-employer:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 34px rgba(4, 16, 44, 0.24);
}
.hero-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e9efff;
  font-size: 14px;
  font-weight: 700;
}
.play-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 10px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid #0a1c43;
  border-radius: 50%;
  color: #fff;
  background: #2f68dc;
  font-size: 9px;
  font-weight: 700;
}
.avatar-stack span:first-child {
  margin-left: 0;
  background: #be6c52;
}
.avatar-stack span:nth-child(2) {
  background: #6f5bc4;
}
.avatar-stack span:nth-child(3) {
  background: #348b7b;
}
.avatar-stack span:last-child {
  background: #263d6c;
}
.hero-proof strong,
.hero-proof small {
  display: block;
}
.hero-proof strong {
  font-size: 13px;
}
.hero-proof small {
  margin-top: 3px;
  color: #8fa1c6;
  font-size: 11px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
}
.hero-glow-one {
  top: -300px;
  left: 28%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(48, 99, 255, 0.18), transparent 68%);
}
.hero-glow-two {
  right: -180px;
  bottom: -270px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(105, 65, 238, 0.2), transparent 68%);
}
.product-preview {
  position: relative;
  min-width: 650px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  color: #13203a;
  background: #f5f7fb;
  box-shadow: 0 38px 90px rgba(0, 5, 25, 0.46);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}
.preview-topbar {
  display: flex;
  height: 54px;
  align-items: center;
  gap: 26px;
  padding: 0 18px;
  border-bottom: 1px solid #e6eaf2;
  border-radius: 22px 22px 0 0;
  background: #fff;
}
.preview-brand {
  color: #184dce;
  font-size: 12px;
  font-weight: 700;
}
.preview-brand span {
  display: inline-grid;
  width: 23px;
  height: 23px;
  margin-right: 5px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #1558ed;
}
.preview-search {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  color: #9ba6b8;
  background: #f8f9fc;
  font-size: 9px;
}
.preview-user {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #5c6f9e;
  font-size: 9px;
  font-weight: 700;
}
.preview-body {
  display: grid;
  grid-template-columns: 50px 1fr;
  min-height: 410px;
}
.preview-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 27px;
  padding-top: 28px;
  border-right: 1px solid #e6eaf2;
  border-radius: 0 0 0 22px;
  color: #9aa5b7;
  background: #fff;
  font-size: 11px;
}
.preview-sidebar .active {
  color: #1558ed;
}
.preview-main {
  padding: 24px;
}
.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preview-heading small,
.preview-heading strong {
  display: block;
}
.preview-heading small {
  margin-bottom: 5px;
  color: #8b96aa;
  font-size: 8px;
}
.preview-heading strong {
  font-size: 16px;
}
.preview-heading button {
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #1558ed;
  font-size: 8px;
  font-weight: 700;
}
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.preview-stats > div {
  position: relative;
  padding: 13px;
  border: 1px solid #e8ecf3;
  border-radius: 11px;
  background: #fff;
}
.preview-stats small,
.preview-stats strong {
  display: block;
}
.preview-stats small {
  margin: 8px 0 5px;
  color: #8490a4;
  font-size: 7px;
}
.preview-stats strong {
  font-size: 18px;
}
.preview-stats i {
  position: absolute;
  right: 10px;
  bottom: 14px;
  color: #20a574;
  font-size: 7px;
  font-style: normal;
}
.stat-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  font-size: 10px;
}
.stat-icon.blue {
  color: #1558ed;
  background: #edf3ff;
}
.stat-icon.purple {
  color: #7546db;
  background: #f2ecff;
}
.stat-icon.green {
  color: #16966a;
  background: #e9fbf4;
}
.preview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10px;
  margin-top: 10px;
}
.chart-card,
.pipeline-card {
  min-height: 190px;
  padding: 14px;
  border: 1px solid #e8ecf3;
  border-radius: 11px;
  background: #fff;
}
.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title strong {
  font-size: 10px;
}
.card-title small {
  color: #929db0;
  font-size: 7px;
}
.chart-bars {
  display: flex;
  height: 110px;
  align-items: end;
  gap: 9px;
  padding: 18px 8px 0;
  border-bottom: 1px solid #e9edf4;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 35px,
    #f0f2f7 36px
  );
}
.chart-bars span {
  flex: 1;
  max-width: 15px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#5280fa, #1859ed);
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  color: #98a2b3;
  font-size: 6px;
}
.pipeline-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f5;
}
.pipeline-row:last-child {
  border: 0;
}
.candidate-dot {
  display: grid;
  flex: 0 0 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
}
.candidate-dot.c1 {
  background: #6078bb;
}
.candidate-dot.c2 {
  background: #3c9484;
}
.candidate-dot.c3 {
  background: #bb7260;
}
.pipeline-row div {
  flex: 1;
}
.pipeline-row b,
.pipeline-row small {
  display: block;
}
.pipeline-row b {
  font-size: 8px;
}
.pipeline-row small {
  margin-top: 3px;
  color: #929db0;
  font-size: 6px;
}
.pipeline-row i {
  color: #168b63;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}
.floating-match {
  position: absolute;
  right: -28px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(6, 20, 46, 0.25);
}
.floating-match > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: #edf3ff;
}
.floating-match small,
.floating-match strong {
  display: block;
}
.floating-match small {
  color: #748098;
  font-size: 8px;
}
.floating-match strong {
  margin-top: 3px;
  font-size: 10px;
}
.trust-strip {
  padding: 30px max(5%, calc((100% - 1280px) / 2));
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.trust-strip p {
  margin: 0 0 20px;
  color: #8a96a9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.country-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #43516a;
  font-size: 14px;
  font-weight: 700;
}
.home-section {
  padding: 110px max(5%, calc((100% - 1280px) / 2));
}
.platform-section,
.pricing-section {
  background: #f7f9fd;
}
.section-heading {
  max-width: 720px;
}
.section-heading.centered {
  margin: 0 auto 55px;
  text-align: center;
}
.section-label {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.section-heading h2,
.solutions-copy h2,
.ai-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-heading > p:last-child,
.solutions-copy > p,
.ai-copy > p,
.final-cta > div > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  padding: 34px;
  border: 1px solid #e3e9f3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(20, 45, 90, 0.055);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.feature-card:hover {
  box-shadow: 0 24px 55px rgba(20, 45, 90, 0.1);
  transform: translateY(-5px);
}
.feature-large {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 70px 0.9fr 1fr;
  gap: 24px;
  min-height: 300px;
  align-items: center;
}
.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 700;
}
.feature-icon.blue {
  color: #1b5ced;
  background: #ebf1ff;
}
.feature-icon.purple {
  color: #7546dc;
  background: #f1ebff;
}
.feature-icon.green {
  color: #14926a;
  background: #e8faf3;
}
.feature-icon.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}
.feature-number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #dce3ee;
  font-size: 28px;
  font-weight: 700;
}
.feature-card h3 {
  margin: 20px 0 12px;
  font-size: 26px;
  letter-spacing: -0.025em;
}
.feature-large h3 {
  margin-top: 0;
  font-size: 32px;
}
.feature-card p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.65;
}
.feature-card > div > a {
  display: inline-flex;
  gap: 8px;
  margin-top: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}
.mini-candidates {
  padding: 10px 18px;
  border: 1px solid #edf0f5;
  border-radius: 16px;
  background: #f9fafe;
}
.mini-candidates > div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #e9edf4;
}
.mini-candidates > div:last-child {
  border: 0;
}
.mini-candidates > div > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #5f78b7;
  font-size: 9px;
  font-weight: 700;
}
.mini-candidates p {
  flex: 1;
  margin: 0;
}
.mini-candidates b,
.mini-candidates small {
  display: block;
}
.mini-candidates b {
  color: #1a2841;
  font-size: 11px;
}
.mini-candidates small {
  margin-top: 3px;
  font-size: 8px;
}
.mini-candidates strong {
  color: #168c65;
  font-size: 12px;
}
.progress-visual {
  margin-top: 35px;
  padding: 20px;
  border-radius: 15px;
  background: #f7f5ff;
}
.progress-visual div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.progress-visual i {
  display: block;
  height: 8px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 8px;
  background: #e2ddf4;
}
.progress-visual i span {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7650dc, #a069ed);
}
.progress-visual small {
  color: #7e8798;
}
.region-visual {
  display: flex;
  gap: 10px;
  margin-top: 38px;
}
.region-visual span {
  flex: 1;
  padding: 18px 10px;
  border: 1px solid #def0e9;
  border-radius: 14px;
  color: #5e6f78;
  background: #f2fbf7;
  font-size: 11px;
  text-align: center;
}
.region-visual b {
  display: block;
  margin-top: 7px;
  color: #137957;
  font-size: 19px;
}
.feature-dark {
  color: #fff;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(76, 119, 244, 0.24),
      transparent 40%
    ),
    #081a3b;
}
.feature-dark .feature-number {
  color: rgba(255, 255, 255, 0.12);
}
.feature-dark p {
  color: #aabada;
}
.compliance-list {
  display: grid;
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.compliance-list li {
  color: #dce6fa;
  font-size: 13px;
}
.compliance-list span {
  margin-right: 8px;
  color: #64dfad;
}
.solutions-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.solutions-copy > p {
  max-width: 550px;
}
.role-list {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}
.role-list a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.role-list a:hover {
  border-color: #e0e7f3;
  background: #f8faff;
  transform: translateX(5px);
}
.role-icon {
  display: grid;
  flex: 0 0 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: #edf3ff;
}
.role-list div {
  flex: 1;
}
.role-list b,
.role-list small {
  display: block;
}
.role-list b {
  margin-bottom: 4px;
}
.role-list small {
  color: var(--muted);
  line-height: 1.5;
}
.role-list i {
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}
.location-visual {
  position: relative;
  min-height: 570px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at center,
      rgba(31, 87, 226, 0.12),
      rgba(244, 247, 252, 0.5) 43%,
      transparent 44%
    ),
    repeating-radial-gradient(
      circle at center,
      transparent 0,
      transparent 75px,
      rgba(22, 79, 209, 0.09) 76px,
      transparent 77px
    );
}
.location-visual::before,
.location-visual::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(23, 81, 216, 0.15);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}
.location-visual::before {
  width: 75%;
  height: 36%;
}
.location-visual::after {
  width: 36%;
  height: 75%;
}
.globe-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(24, 81, 216, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-one {
  width: 72%;
  height: 72%;
}
.ring-two {
  width: 48%;
  height: 48%;
}
.globe-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 150px;
  height: 150px;
  place-content: center;
  border: 12px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #0d4ce0, #663fda);
  box-shadow: 0 30px 60px rgba(24, 74, 199, 0.28);
  text-align: center;
  transform: translate(-50%, -50%);
}
.globe-core span {
  font-size: 38px;
  font-weight: 700;
}
.globe-core small {
  margin-top: 3px;
  color: #d9e4ff;
  line-height: 1.4;
}
.location-pin {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid #e3e9f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(23, 47, 92, 0.12);
}
.location-pin b {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #1857e8;
  font-size: 8px;
}
.location-pin span {
  font-size: 11px;
  font-weight: 700;
}
.pin-one {
  top: 15%;
  left: 15%;
}
.pin-two {
  top: 24%;
  right: 7%;
}
.pin-three {
  bottom: 19%;
  left: 5%;
}
.pin-four {
  right: 13%;
  bottom: 12%;
}
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 55px max(5%, calc((100% - 1280px) / 2));
  color: #fff;
  background: #081a3b;
}
.stats-section div {
  padding: 10px 35px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.stats-section div:last-child {
  border: 0;
}
.stats-section strong,
.stats-section span {
  display: block;
}
.stats-section strong {
  color: #88a9ff;
  font-size: 35px;
}
.stats-section span {
  margin-top: 7px;
  color: #afbdd9;
  font-size: 12px;
}
.home-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: auto;
}
.home-price-card {
  position: relative;
  display: flex;
  min-height: 530px;
  flex-direction: column;
  padding: 36px;
  border: 1px solid #e0e7f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(20, 45, 90, 0.05);
}
.home-price-card.popular {
  border: 2px solid #2862ed;
  box-shadow: 0 24px 60px rgba(28, 82, 218, 0.15);
  transform: translateY(-12px);
}
.popular-label {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 8px 13px;
  border-radius: 0 0 10px 10px;
  color: #fff;
  background: #2862ed;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-name {
  margin: 0;
  color: #44536b;
  font-size: 14px;
  font-weight: 700;
}
.home-price-card h3 {
  margin: 18px 0 5px;
  font-size: 46px;
  letter-spacing: -0.04em;
}
.home-price-card h3 small {
  color: #77849a;
  font-size: 13px;
  font-weight: 600;
}
.home-price-card > span {
  color: #67758b;
  font-size: 12px;
}
.price-description {
  min-height: 42px;
  margin: 27px 0 20px;
  color: #34445e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.home-price-card ul {
  display: grid;
  gap: 15px;
  margin: 0 0 30px;
  padding: 22px 0 0;
  border-top: 1px solid #e8edf4;
  list-style: none;
}
.home-price-card li {
  color: #526079;
  font-size: 13px;
}
.home-price-card li::before {
  margin-right: 9px;
  color: #1b9a70;
  content: "\2713";
  font-weight: 700;
}
.price-button {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  border-radius: 12px;
  color: #fff;
  background: #1857e8;
  font-size: 13px;
  font-weight: 700;
}
.secondary-price {
  border: 1px solid #dce4f1;
  color: #1f4db8;
  background: #f5f8ff;
}
.ai-demo-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding: clamp(40px, 6vw, 80px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(49, 98, 239, 0.3), transparent 35%),
    linear-gradient(135deg, #071936, #0c285d);
  box-shadow: 0 35px 80px rgba(7, 25, 54, 0.2);
}
.light-label {
  color: #82a4ff;
}
.ai-copy > p {
  color: #aebddb;
}
.ai-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.ai-points span {
  color: #cdd9ef;
  font-size: 12px;
}
.ai-tool {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}
.ai-tool label {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
}
.ai-tool textarea {
  min-height: 115px;
  border-color: rgba(255, 255, 255, 0.15);
  outline: none;
  color: #eaf0ff;
  background: rgba(1, 10, 30, 0.42);
  resize: vertical;
}
.ai-tool textarea::placeholder {
  color: #8292b2;
}
.ai-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.ai-tool pre {
  min-height: 70px;
  margin: 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #aebddb;
  background: rgba(1, 8, 25, 0.42);
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.6;
}
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 6%;
  color: #fff;
  background: linear-gradient(135deg, #154ed7, #5838ce);
  text-align: center;
}
.final-cta > div:not(.cta-glow) {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}
.final-cta > div > p {
  color: #d7e1ff;
}
.final-cta .hero-primary {
  color: #1750c9;
  background: #fff;
  box-shadow: 0 15px 34px rgba(7, 20, 60, 0.2);
}
.centered-actions {
  justify-content: center;
}
.cta-contact {
  padding: 15px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 700;
}
.cta-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform: translateX(-50%);
}
.home-footer {
  padding: 75px max(5%, calc((100% - 1280px) / 2)) 30px;
  background: #06142e;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 55px;
}
.footer-brand .home-brand {
  color: #fff;
}
.footer-brand {
  display: grid;
  align-content: start;
  gap: 12px;
}
.footer-brand > strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.footer-logo-link {
  width: fit-content;
}
.footer-logo-link .brand-mark {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 12px;
  background: #fff;
}
.footer-brand p {
  margin: 0;
  max-width: 340px;
  color: #8fa0c0;
  font-size: 13px;
  line-height: 1.7;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-column strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 13px;
}
.footer-column a,
.footer-column span,
.footer-column address {
  color: #8fa0c0;
  font-size: 12px;
  line-height: 1.5;
}
.footer-column address {
  margin: 0;
  font-style: normal;
}
.footer-column a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7788a7;
  font-size: 11px;
}
.footer-bottom div {
  display: flex;
  gap: 22px;
}
.mobile-auth-link {
  display: none !important;
}

@media (max-width: 1180px) {
  .home-hero-content {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 760px;
    margin: auto;
    text-align: center;
  }
  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }
  .hero-actions,
  .hero-proof {
    justify-content: center;
  }
  .product-preview {
    width: min(800px, 92%);
    min-width: 0;
    margin: 15px auto 0;
    transform: none;
  }
}
@media (max-width: 900px) {
  .home-links {
    position: absolute;
    top: 82px;
    right: 14px;
    left: 14px;
    z-index: 200;
    display: none;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(12, 29, 61, 0.2);
  }
  .home-links.open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
  .home-links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 11px;
    font-size: 15px;
  }
  .home-links a:hover,
  .home-links a:focus-visible {
    background: #f4f7ff;
  }
  .home-links .mobile-auth-link {
    display: flex !important;
  }
  .home-links .mobile-register-link {
    margin-top: 5px;
    background: #0b4cff;
    color: #fff;
  }
  .home-links .mobile-register-link:hover,
  .home-links .mobile-register-link:focus-visible {
    background: #073ed8;
    color: #fff;
  }
  .home-links .mobile-login-link {
    margin-bottom: 5px;
    border: 1px solid #dce5f3;
  }
  .menu-toggle {
    display: block;
  }
  .nav-login {
    display: none;
  }
  .home-hero {
    padding-top: 75px;
  }
  .feature-grid,
  .solutions-section,
  .ai-demo-card {
    grid-template-columns: 1fr;
  }
  .feature-large {
    grid-template-columns: 1fr;
  }
  .solutions-section {
    gap: 30px;
  }
  .location-visual {
    min-height: 480px;
  }
  .home-pricing {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .home-price-card.popular {
    transform: none;
  }
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-section div:nth-child(2) {
    border-right: 0;
  }
  .stats-section div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-column:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .home-nav {
    height: 72px;
    padding-right: 16px;
    padding-left: 16px;
  }
  .home-brand {
    font-size: 18px;
  }

  .home-links {
    top: 72px;
  }
  .home-hero {
    min-height: auto;
    padding: 62px 20px 75px;
  }
  .home-hero h1 {
    font-size: 45px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .hero-primary {
    width: 100%;
    justify-content: space-between;
  }
  .hero-proof {
    align-items: flex-start;
  }
  .product-preview {
    display: none;
  }
  .country-list {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .home-section {
    padding: 75px 20px;
  }
  .section-heading.centered {
    margin-bottom: 35px;
  }
  .feature-card {
    min-height: auto;
    padding: 26px;
  }
  .mini-candidates {
    margin-top: 10px;
  }
  .location-visual {
    min-height: 400px;
  }
  .location-pin {
    padding: 7px 9px;
  }
  .pin-one {
    left: 2%;
  }
  .pin-two {
    right: 0;
  }
  .globe-core {
    width: 125px;
    height: 125px;
  }
  .stats-section {
    padding: 35px 15px;
  }
  .stats-section div {
    padding: 22px 8px;
  }
  .stats-section strong {
    font-size: 28px;
  }
  .home-price-card {
    min-height: auto;
    padding: 28px;
  }
  .ai-demo-card {
    gap: 35px;
    padding: 35px 22px;
  }
  .ai-points {
    flex-direction: column;
  }
  .final-cta {
    padding: 80px 20px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

/* Shared public navigation */
.public-nav .home-links a {
  position: relative;
}
.public-nav .home-links a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s;
}
.public-nav .home-links a:hover::after {
  transform: scaleX(1);
}
.public-nav .nav-login.active {
  color: var(--blue);
}
@media (max-width: 900px) {
  .public-nav .home-links a::after {
    display: none;
  }
}

/* Connected platform */
.platform-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 5% 15%,
      rgba(43, 101, 255, 0.08),
      transparent 26%
    ),
    radial-gradient(
      circle at 95% 70%,
      rgba(116, 70, 220, 0.08),
      transparent 25%
    ),
    #f7f9fd;
}
.connected-flow {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  max-width: 1180px;
  margin: -12px auto 28px;
  padding: 22px 24px;
  border: 1px solid rgba(216, 226, 243, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 55px rgba(20, 45, 90, 0.08);
  backdrop-filter: blur(16px);
  align-items: center;
}
.flow-hub {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flow-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #1759ed, #7048e7);
  box-shadow: 0 10px 22px rgba(35, 87, 226, 0.24);
  font-size: 20px;
  font-weight: 700;
}
.flow-hub strong,
.flow-hub small,
.flow-insight small {
  display: block;
}
.flow-hub strong {
  font-size: 13px;
}
.flow-hub small {
  margin-top: 4px;
  color: #8290a7;
  font-size: 10px;
}
.flow-track {
  position: absolute;
  z-index: 0;
  right: 210px;
  left: 230px;
  height: 2px;
  background: linear-gradient(
    90deg,
    #bfd0ff,
    #d7c8fa,
    #bce9d9,
    #ffd5a9,
    #fac5db
  );
}
.flow-track span {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2662ef;
  box-shadow: 0 0 0 5px rgba(38, 98, 239, 0.1);
  animation: flowPulse 4s linear infinite;
}
@keyframes flowPulse {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 8px);
  }
}
.flow-modules {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  gap: 14px;
}
.flow-modules span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #e8edf5;
  border-radius: 999px;
  color: #4d5c74;
  background: #fff;
  box-shadow: 0 6px 16px rgba(20, 45, 90, 0.06);
  font-size: 10px;
  font-weight: 700;
}
.flow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.flow-dot.blue {
  background: #2362ef;
}
.flow-dot.purple {
  background: #774bdc;
}
.flow-dot.green {
  background: #1ba474;
}
.flow-dot.orange {
  background: #ee8d35;
}
.flow-dot.pink {
  background: #db5d91;
}
.flow-insight {
  padding-left: 23px;
  border-left: 1px solid #e4eaf3;
  text-align: right;
}
.flow-insight b {
  color: #168b63;
  font-size: 21px;
}
.flow-insight small {
  margin-top: 3px;
  color: #8491a5;
  font-size: 9px;
}
.platform-section .feature-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2c68f4, #764bdf, #2bb486);
  content: "";
  opacity: 0;
  transition: opacity 0.25s;
}
.platform-section .feature-card:hover::before,
.platform-section .feature-dark::before {
  opacity: 1;
}

/* Login */
.login-page {
  min-height: 100vh;
  background: #f7f9fd;
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(500px, 1.05fr);
  min-height: calc(100vh - 82px);
}
.auth-story {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  padding: clamp(52px, 7vw, 105px);
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(
      circle at 15% 12%,
      rgba(72, 118, 255, 0.28),
      transparent 32%
    ),
    linear-gradient(145deg, #06142f, #0a2862);
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto;
}
.auth-story-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
}
.auth-story h1 {
  margin: 0;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.auth-story h1 em {
  color: #8dadff;
  font-style: normal;
}
.auth-story-content > p:not(.hero-badge) {
  max-width: 570px;
  margin: 24px 0 34px;
  color: #b8c7e5;
  font-size: 18px;
  line-height: 1.7;
}
.auth-proof-card {
  max-width: 560px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 25px 60px rgba(0, 7, 25, 0.25);
  backdrop-filter: blur(14px);
}
.auth-proof-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.proof-spark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: rgba(104, 142, 255, 0.17);
}
.auth-proof-top div {
  flex: 1;
}
.auth-proof-top small,
.auth-proof-top strong {
  display: block;
}
.auth-proof-top small {
  color: #90a5cd;
  font-size: 10px;
}
.auth-proof-top strong {
  margin-top: 4px;
  font-size: 14px;
}
.auth-proof-top b {
  padding: 6px 9px;
  border-radius: 999px;
  color: #6ce0b3;
  background: rgba(64, 202, 150, 0.12);
  font-size: 9px;
  text-transform: uppercase;
}
.auth-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
}
.auth-proof-stats span {
  padding: 10px;
  border-radius: 12px;
  background: rgba(2, 12, 37, 0.22);
}
.auth-proof-stats strong,
.auth-proof-stats small {
  display: block;
}
.auth-proof-stats strong {
  color: #fff;
  font-size: 20px;
}
.auth-proof-stats small {
  margin-top: 5px;
  color: #91a3c6;
  font-size: 9px;
}
.auth-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.orbit-one {
  right: -180px;
  bottom: -230px;
  width: 600px;
  height: 600px;
}
.orbit-two {
  right: -25px;
  bottom: -75px;
  width: 290px;
  height: 290px;
  background: rgba(255, 255, 255, 0.025);
}
.auth-form-wrap {
  display: grid;
  place-items: center;
  padding: 55px clamp(28px, 8vw, 125px);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(52, 101, 246, 0.07),
      transparent 32%
    ),
    #fff;
}
.auth-card {
  width: 100%;
  max-width: 520px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid #e5ebf4;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 65px rgba(20, 45, 90, 0.1);
}
.auth-card input {
  height: 56px;
  margin: 0;
  padding: 0 50px;
  border-color: #dce4f1;
  outline: none;
}
.auth-card input:focus {
  border-color: #5c82ff;
  box-shadow: 0 0 0 4px rgba(11, 76, 255, 0.1);
}
.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.field-label-row a {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.remember-check {
  margin-top: 4px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: #8a96a9;
  font-size: 11px;
}
.auth-divider::before,
.auth-divider::after {
  flex: 1;
  height: 1px;
  background: #e5eaf2;
  content: "";
}
.auth-create-link {
  display: grid;
  min-height: 50px;
  place-items: center;
  border: 1px solid #dce4f1;
  border-radius: 13px;
  color: #174dbd;
  background: #f6f8ff;
  font-size: 13px;
  font-weight: 700;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.auth-create-link:hover {
  border-color: #aebff0;
  background: #edf2ff;
}
.auth-security-story .auth-proof-card {
  max-width: 520px;
}
.auth-proof-copy {
  margin: 17px 0 0;
  color: #bac9e8;
  font-size: 13px;
  line-height: 1.65;
}
.auth-card .auth-code-input {
  padding-right: 20px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.35em;
}
.auth-password-grid {
  grid-template-columns: 1fr;
  gap: 0;
}
.auth-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
  color: #7b879b;
  font-size: 13px;
}
.auth-action-row button {
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.auth-action-row button:disabled {
  color: #9ca8ba;
  cursor: wait;
}
.auth-back-link {
  display: block;
  margin-top: 18px;
  color: #637089;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.auth-back-link:hover {
  color: var(--blue);
}

@media (max-width: 960px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: 520px;
  }
}
@media (max-width: 900px) {
  .connected-flow {
    grid-template-columns: 1fr auto;
  }
  .flow-track {
    display: none;
  }
  .flow-modules {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 680px) {
  .connected-flow {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .flow-insight {
    padding: 15px 0 0;
    border-top: 1px solid #e4eaf3;
    border-left: 0;
    text-align: left;
  }
  .auth-story {
    min-height: 490px;
    padding: 52px 24px;
  }
  .auth-story h1 {
    font-size: 43px;
  }
  .auth-story-content > p:not(.hero-badge) {
    font-size: 16px;
  }
  .auth-proof-stats {
    grid-template-columns: 1fr;
  }
  .auth-proof-stats span {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .auth-form-wrap {
    padding: 38px 18px 55px;
  }
  .auth-card {
    padding: 27px 21px;
    border-radius: 21px;
  }
}
/* Employer AI Job Builder */
.employer-page,
.jobs-page {
  background: #f5f7fb;
}
.employer-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.employer-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  padding: 76px 6%;
  align-items: center;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(11, 76, 255, 0.16),
      transparent 32%
    ),
    linear-gradient(135deg, #eef4ff 0%, #ffffff 70%);
}
.employer-hero h1,
.jobs-hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.employer-hero p,
.jobs-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
}
.employer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.employer-lock-card {
  margin-top: 16px;
  padding: 28px;
  border: 2px dashed #dbe4f0;
  border-radius: 28px;
  background: #f8fbff;
  text-align: center;
}

.lock-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.employer-lock-card h3 {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 24px;
}

.employer-lock-card p {
  max-width: 480px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.lock-register-btn {
  min-width: 300px;
  text-align: center;
}

.lock-login-text {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

.lock-login-text a {
  color: var(--blue);
  font-weight: 700;
}

.job-post-form.locked {
  opacity: 0.55;
  pointer-events: none;
}
.employer-hero-card,
.ai-job-card,
.job-post-form,
.side-card,
.recent-job-card,
.job-list-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(6, 20, 46, 0.08);
}
.employer-hero-card {
  padding: 28px;
}
.hero-card-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf0ff;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}
.employer-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.employer-stat-grid div {
  padding: 18px;
  border-radius: 20px;
  background: #f6f8fc;
  border: 1px solid var(--line);
}
.employer-stat-grid strong {
  display: block;
  font-size: 30px;
  color: var(--dark);
}
.employer-stat-grid span,
.job-card-top p,
.job-list-header p,
.job-card-footer,
.job-list-footer,
.form-section-title span {
  color: var(--muted);
  font-size: 14px;
}
.employer-mini-pipeline {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.employer-mini-pipeline div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.employer-mini-pipeline span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(11, 76, 255, 0.09);
}
.employer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding: 54px 6%;
  align-items: start;
}
.employer-main-panel {
  display: grid;
  gap: 22px;
}
.section-heading.compact {
  max-width: 860px;
  margin-bottom: 4px;
}
.section-heading.compact h2 {
  margin: 4px 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.04em;
}
.section-heading.compact p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.ai-job-card,
.job-post-form,
.side-card {
  padding: 26px;
}
.ai-job-card label,
.job-post-form label {
  display: block;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 8px;
}
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 8px 0;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  background: #fff;
}
.ai-job-actions,
.publish-actions,
.jobs-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}
.form-message {
  margin: 12px 0 0;
  min-height: 22px;
  color: var(--muted);
  font-weight: 700;
}
.form-message.success {
  color: #137a43;
}
.form-message.error,
.empty-state.error {
  color: #b42318;
}
.job-post-form {
  display: grid;
  gap: 20px;
}
.form-section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.form-section-title h3 {
  margin: 4px 0 0;
  font-size: 28px;
}
.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.form-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.quality-box {
  padding: 18px;
  border: 1px solid #cfe0ff;
  border-radius: 18px;
  background: #f2f6ff;
}
.quality-box strong {
  display: block;
  margin-bottom: 6px;
}
.quality-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.employer-side-panel {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}
.side-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}
.side-card p {
  color: var(--muted);
  line-height: 1.65;
}
.side-card.warning {
  background: #fff9ee;
  border-color: #ffe1ad;
}
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 700;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 700;
}
.pipeline-steps {
  display: grid;
  gap: 10px;
}
.pipeline-steps span {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f8fc;
  color: var(--dark);
  font-weight: 700;
  border: 1px solid var(--line);
}
.recent-jobs-section {
  padding: 24px 6% 80px;
}
.recent-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.recent-job-card,
.job-list-card {
  padding: 24px;
}
.job-card-top,
.job-list-header,
.job-card-footer,
.job-list-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.job-card-top h3,
.job-list-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
}
.job-card-top span,
.job-list-header span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}
.job-summary,
.job-list-card > p {
  color: var(--muted);
  line-height: 1.6;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.job-meta span,
.job-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f6f8fc;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.job-meta.large span {
  font-size: 14px;
}
.empty-state {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}
.jobs-shell {
  padding: 52px 6% 80px;
}
.jobs-hero {
  padding: 40px;
  background: linear-gradient(135deg, #eef4ff, #fff);
  border: 1px solid var(--line);
  border-radius: 32px;
  margin-bottom: 28px;
}
.jobs-toolbar input {
  max-width: 540px;
  margin: 0;
}
.jobs-list {
  display: grid;
  gap: 18px;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.job-list-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px;
}

.job-list-card.shared-job {
  border-color: rgba(11, 76, 255, 0.42);
  box-shadow: 0 24px 70px rgba(11, 76, 255, 0.14);
}

.job-share {
  position: relative;
  flex: 0 0 auto;
}

.job-share-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  padding: 11px 16px;
  border: 1px solid #cbd8f3;
  border-radius: 12px;
  background: #f3f6ff;
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.job-share-toggle:hover,
.job-share-toggle[aria-expanded="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.job-share-menu {
  position: absolute;
  z-index: 15;
  right: 0;
  bottom: calc(100% + 10px);
  min-width: 170px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(6, 20, 46, 0.16);
}

.job-share-menu a,
.job-share-menu button {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--dark);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.job-share-menu a:hover,
.job-share-menu button:hover {
  background: #f3f6ff;
  color: var(--blue);
}

@media (max-width: 1080px) {
  .employer-hero,
  .employer-layout {
    grid-template-columns: 1fr;
  }
  .employer-side-panel {
    position: static;
  }
  .recent-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .employer-hero,
  .employer-layout,
  .recent-jobs-section,
  .jobs-shell {
    padding-left: 22px;
    padding-right: 22px;
  }
  .form-grid.two,
  .form-grid.three,
  .recent-jobs-grid,
  .employer-stat-grid {
    grid-template-columns: 1fr;
  }
  .form-section-title,
  .job-card-top,
  .job-list-header,
  .job-card-footer,
  .job-list-footer {
    flex-direction: column;
  }

  .job-list-footer,
  .job-share,
  .job-share-toggle {
    width: 100%;
  }

  .job-share-menu {
    right: auto;
    left: 0;
    width: 100%;
  }
}

/* Assignment expiry and worked-hours history */
.assignment-status-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-pill.expired {
  background: #f2f4f7;
  color: #667085;
}

.assignment-availability-panel {
  display: grid;
  gap: 8px;
  margin: 4px 0;
}

.availability-title {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.assignment-availability-panel .assignment-schedule-summary {
  margin: 0;
  border-color: #dce5f2;
  background: #f8faff;
}

.employer-work-session {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 92px;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e2e8f2;
  border-radius: 12px;
  background: #fff;
}

.employer-work-session > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-right: 10px;
  border-right: 1px solid #e7ecf3;
}

.employer-work-session > span:last-child {
  padding-right: 0;
  border-right: 0;
}

.employer-work-session small {
  margin: 0;
  color: #7a879b;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.employer-work-session strong {
  color: #344054;
  font-size: 12px;
  line-height: 1.4;
}

.employer-work-session .worked-duration strong {
  color: #1753ff;
  font-size: 17px;
}

.employer-work-session.is-running {
  border-color: #b9e6ca;
  background: #f4fbf7;
}

.employer-work-session.is-running .worked-duration strong {
  color: #117a45;
}

.candidate-card-expiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding: 9px 11px;
  border-left: 3px solid #1753ff;
  border-radius: 8px;
  background: #f4f7ff;
}

.candidate-card-expiry span {
  color: #667085;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.candidate-card-expiry strong {
  color: #1753ff !important;
  font-size: 12px !important;
  line-height: 1.35;
  text-align: right;
}

.candidate-schedule-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.selected-assignment-expiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 15px;
  border: 1px solid #d9e4ff;
  border-radius: 12px;
  background: #f4f7ff;
}

.selected-assignment-expiry small {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.selected-assignment-expiry strong {
  color: #1753ff;
  font-size: 13px;
  text-align: right;
}

.selected-work-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.selected-work-time-grid > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e2e8f2;
  border-radius: 11px;
  background: #fff;
}

.selected-work-time-grid small {
  color: #7a879b;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.selected-work-time-grid strong {
  color: #344054;
  font-size: 12px;
  line-height: 1.4;
}

.selected-work-time-grid > span:last-child strong {
  color: #1753ff;
  font-size: 16px;
}

.work-hours-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.work-hours-summary article {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
  padding: 14px !important;
  border: 1px solid #dce5f2 !important;
  border-radius: 12px !important;
  background: #f8faff !important;
}

.work-hours-summary small {
  color: #667085;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-hours-summary strong {
  color: #1753ff;
  font-size: 24px;
}

.work-hours-note {
  margin: 0 0 16px;
  color: #7a879b;
  font-size: 12px;
  line-height: 1.5;
}

.candidate-history-box .attendance-feed-list {
  gap: 12px;
}

.candidate-dashboard-page .candidate-history-box .work-session-history-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  padding: 16px;
  border: 1px solid #dfe7f2;
  border-radius: 13px;
  background: #fff;
}

.candidate-dashboard-page
  .candidate-history-box
  .work-session-history-card.is-running {
  border-color: #b9e6ca;
  background: #f5fbf7;
}

.work-session-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.work-session-history-head > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.work-session-history-head small {
  margin: 0;
  color: #1753ff;
  font-size: 10px;
  font-weight: 700;
}

.work-session-history-head strong {
  color: #172033;
  font-size: 16px;
  line-height: 1.4;
}

.work-update-id {
  display: block;
  color: #1753ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.work-session-history-head .work-update-site {
  display: block;
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.work-session-history-head > span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #117a45;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.work-session-history-card.is-running .work-session-history-head > span {
  background: #e8f8ef;
}

.work-session-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.work-session-time-grid > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  background: #f5f7fb;
}

.work-session-time-grid small {
  margin: 0;
  color: #7a879b;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-session-time-grid strong {
  color: #344054;
  font-size: 11px;
  line-height: 1.4;
}

.work-session-time-grid > span:last-child strong {
  color: #1753ff;
  font-size: 15px;
}

.work-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #7a879b;
  font-size: 11px;
}

@media (max-width: 760px) {
  .assignment-status-summary,
  .employer-work-session,
  .selected-work-time-grid,
  .work-session-time-grid {
    grid-template-columns: 1fr;
  }

  .employer-work-session > span {
    padding-right: 0;
    padding-bottom: 9px;
    border-right: 0;
    border-bottom: 1px solid #e7ecf3;
  }

  .employer-work-session > span:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .selected-assignment-expiry,
  .work-session-history-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .selected-assignment-expiry strong {
    text-align: left;
  }
}

/* Assignment schedule and consent-based live location tracking */
.assignment-schedule-fields small {
  display: block;
  margin-top: 7px;
  color: #7a879b;
  font-size: 12px;
  line-height: 1.4;
}

.assignment-live-item.refined-assignment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-color: #dde6f2;
  background: linear-gradient(160deg, #ffffff 0%, #f8faff 100%);
}

.employer-assignment-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.assignment-live-item .employer-assignment-topline > b {
  min-width: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #1753ff;
  font-size: 12px;
}

.employer-assignment-main {
  display: grid;
  gap: 9px;
}

.employer-assignment-main > strong {
  color: #101828;
  font-size: 17px;
}

.employer-assignment-main .assignment-site-line {
  margin: 0;
  color: #475467;
}

.assignment-schedule-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 4px 0;
  padding: 13px 14px;
  border: 1px solid #e2e8f2;
  border-radius: 12px;
  background: #fff;
}

.assignment-schedule-summary span {
  display: grid;
  gap: 4px;
}

.assignment-schedule-summary small {
  margin: 0;
  color: #7a879b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.assignment-schedule-summary b {
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #172033;
  font-size: 13px;
  line-height: 1.4;
}

.assignment-schedule-summary i {
  color: #98a2b3;
  font-style: normal;
}

.assignment-location-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 15px;
  border: 1px solid #e2e8f2;
  border-radius: 12px;
  background: #f7f9fc;
}

.assignment-location-card > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.assignment-location-card strong,
.assignment-location-card small {
  display: block;
}

.assignment-location-card strong {
  color: #344054;
  font-size: 14px;
}

.assignment-location-card small {
  margin: 0;
  color: #7a879b;
  font-size: 12px;
}

.assignment-location-card a {
  flex: 0 0 auto;
  color: #1753ff;
  font-size: 13px;
  font-weight: 700;
}

.assignment-location-card.is-live {
  border-color: #a9e4c2;
  background: #f1fbf5;
}

.assignment-location-card.is-live strong {
  color: #117a45;
}

.live-location-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.live-location-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #98a2b3;
}

.assignment-location-card.is-live .live-location-label {
  color: #117a45;
}

.assignment-location-card.is-live .live-location-label i {
  background: #18a957;
  box-shadow: 0 0 0 5px rgba(24, 169, 87, 0.12);
  animation: live-location-pulse 1.8s ease-in-out infinite;
}

@keyframes live-location-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(24, 169, 87, 0.04);
  }
}

.candidate-card-schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.candidate-card-schedule span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 10px;
  background: #f1f5fb;
}

.candidate-card-schedule small {
  margin: 0;
  color: #7a879b;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.candidate-card-schedule b,
.candidate-dashboard-page
  .refined-candidate-assignment
  .candidate-card-schedule
  b {
  min-width: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #344054;
  font-size: 12px;
  line-height: 1.35;
}

.candidate-schedule-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: #f8faff;
  color: #667085;
}

.candidate-schedule-preview > span {
  display: grid;
  gap: 5px;
}

.candidate-schedule-preview small {
  color: #7a879b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.candidate-schedule-preview strong {
  color: #172033;
  font-size: 13px;
}

.candidate-schedule-preview i {
  color: #98a2b3;
  font-style: normal;
}

.location-tracking-consent {
  display: flex;
  gap: 13px;
  padding: 15px;
  border: 1px solid #cfdcff;
  border-radius: 13px;
  background: #f5f8ff;
}

.tracking-consent-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  background: #e4ecff;
  color: #1753ff;
  font-size: 20px;
}

.location-tracking-consent strong,
.location-tracking-consent p,
.location-tracking-consent small {
  display: block;
}

.location-tracking-consent strong {
  color: #172033;
  font-size: 14px;
}

.location-tracking-consent p {
  margin: 5px 0 8px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

#candidateTrackingStatus {
  color: #667085;
  font-weight: 700;
}

#candidateTrackingStatus.is-live {
  color: #117a45;
}

#candidateTrackingStatus.is-complete {
  color: #475467;
}

@media (max-width: 720px) {
  .assignment-schedule-summary,
  .candidate-schedule-preview {
    grid-template-columns: 1fr;
  }

  .assignment-schedule-summary i,
  .candidate-schedule-preview i {
    display: none;
  }

  .assignment-location-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .candidate-card-schedule {
    grid-template-columns: 1fr;
  }
}

/* Employer page refinement: cleaner typography, combined job textarea, preview panel */
.employer-page,
.jobs-page {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #162033;
  -webkit-font-smoothing: antialiased;
}
.employer-page h1,
.employer-page h2,
.employer-page h3,
.jobs-page h1,
.jobs-page h2,
.jobs-page h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
}
.employer-hero h1,
.jobs-hero h1 {
  letter-spacing: -0.035em;
  font-weight: 700;
}
.employer-page .btn,
.jobs-page .btn,
.employer-page label,
.jobs-page label,
.employer-mini-pipeline div,
.pipeline-steps span,
.check-list li,
.form-message,
.empty-state,
.job-meta span,
.job-tags span {
  font-weight: 650;
}
.employer-stat-grid strong {
  font-weight: 700;
}
.hero-card-badge,
.job-card-top span,
.job-list-header span {
  font-weight: 700;
}
/* 
.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
} */
.job-post-form.locked {
  opacity: 0.62;
  pointer-events: none;
}
.employer-access-notice {
  padding: 13px 6%;
  border-bottom: 1px solid #ffd59a;
  background: #fff7e8;
  color: #8a4b08;
  font-weight: 700;
  text-align: center;
}
.optional-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.field-hint {
  margin: -2px 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
#jobDescription {
  min-height: 430px;
  line-height: 1.65;
}
#screeningQuestions {
  line-height: 1.65;
}
.btn.ghost {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--line);
  box-shadow: none;
}
.job-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 18, 34, 0.48);
  backdrop-filter: blur(6px);
}
.job-preview-panel {
  position: fixed;
  z-index: 1210;
  top: 0;
  right: 0;
  width: min(640px, 94vw);
  height: 100vh;
  overflow-y: auto;
  background: #ffffff;
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 80px rgba(8, 18, 38, 0.18);
  transform: translateX(105%);
  transition: transform 0.28s ease;
  padding: 28px;
}
.job-preview-panel.open {
  transform: translateX(0);
}
.preview-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.preview-panel-header h2 {
  margin: 6px 0 0;
  font-size: 30px;
}
.preview-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #f6f8fc;
  border-radius: 999px;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: var(--dark);
}
.preview-job-card h1 {
  margin: 14px 0 16px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
}
.preview-company-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}
.preview-company-row strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 12px;
  text-transform: capitalize;
}
.preview-job-card section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.preview-job-card h3,
.job-more-details h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.preview-description,
.job-full-description {
  color: #3c465b;
  line-height: 1.75;
  white-space: normal;
}
.job-more-details {
  margin: 12px 0 2px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fbfcff;
}
.job-more-details summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 650;
}
.job-more-details[open] summary {
  margin-bottom: 14px;
}

@media (max-width: 720px) {
  .job-preview-panel {
    width: 100vw;
    padding: 22px;
  }
  .publish-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Employer dashboard */
.employer-dashboard-page {
  background: #f5f7fb;
  color: #162033;
}
.employer-dashboard-shell {
  display: grid;
  gap: 24px;
  padding: 38px max(5%, calc((100% - 1380px) / 2)) 80px;
}
.dashboard-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.dashboard-topbar h1 {
  margin: 5px 0 8px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.dashboard-topbar p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.dashboard-alert {
  padding: 14px 16px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #f2f6ff;
  color: #174dbd;
  font-weight: 700;
}
.dashboard-alert.error {
  border-color: #ffd0c8;
  background: #fff4f2;
  color: #b42318;
}
.dashboard-alert.success {
  border-color: #bce7cf;
  background: #f0fff6;
  color: #137a43;
}
.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.dashboard-kpis article,
.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 70px rgba(8, 18, 38, 0.07);
}
.dashboard-kpis article {
  display: grid;
  gap: 7px;
  padding: 20px;
}
.dashboard-kpis span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.dashboard-kpis strong {
  color: var(--dark);
  font-size: 34px;
  line-height: 1;
}
.dashboard-kpis small {
  color: #7a879b;
  line-height: 1.45;
}
.dashboard-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 18px;
  align-items: start;
}
.dashboard-panel {
  padding: 24px;
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.panel-heading.stacked {
  display: grid;
  gap: 8px;
}
.panel-heading h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.panel-heading p,
.dashboard-note {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.panel-heading select {
  width: min(270px, 100%);
  margin: 0;
  background: #fff;
}
.job-performance-list {
  display: grid;
  gap: 10px;
}
.job-performance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.job-performance-row:first-child {
  border-top: 0;
}
.job-performance-row h3 {
  margin: 0 0 5px;
  font-size: 18px;
}
.job-performance-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.job-performance-metrics {
  display: grid;
  grid-template-columns: repeat(3, 96px);
  gap: 8px;
}
.job-performance-metrics span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  text-align: center;
}
.job-performance-metrics strong {
  color: var(--dark);
  font-size: 20px;
}
.job-performance-metrics small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.ai-shortlist-panel {
  position: sticky;
  top: 96px;
}
.ai-pill {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.shortlist-meter {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  margin: 22px auto;
  border: 12px solid #eaf0ff;
  border-top-color: var(--blue);
  border-radius: 50%;
  text-align: center;
}
.shortlist-meter span {
  display: block;
  color: var(--dark);
  font-size: 34px;
  font-weight: 700;
}
.shortlist-meter small {
  max-width: 100px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}
.ai-shortlist-panel .btn {
  width: 100%;
  text-align: center;
}
.applicants-panel {
  overflow: hidden;
}
.applicant-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f9fd;
}
.applicant-tabs button {
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}
.applicant-tabs button.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(8, 18, 38, 0.08);
}
.applicants-table-wrap {
  overflow-x: auto;
}
.applicants-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}
.applicants-table th,
.applicants-table td {
  padding: 15px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.applicants-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.candidate-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.candidate-cell > span,
.activity-item > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #eaf0ff;
  color: var(--blue);
  font-weight: 700;
}
.candidate-cell strong,
.candidate-cell small {
  display: block;
}
.candidate-cell small {
  margin-top: 3px;
  color: var(--muted);
}
.match-cell {
  display: grid;
  gap: 7px;
  min-width: 120px;
}
.match-cell strong {
  color: var(--dark);
}
.match-cell i {
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #eaf0ff;
}
.match-cell i span {
  display: block;
  width: var(--match-width);
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}
.status-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}
.status-pill.shortlisted {
  background: #ecfdf3;
  color: #137a43;
}
.status-pill.reviewing {
  background: #fff7e8;
  color: #8a4b08;
}
.status-pill.rejected {
  background: #fff4f2;
  color: #b42318;
}
.status-pill.interview,
.status-pill.hired {
  background: #eaf0ff;
  color: var(--blue);
}
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.table-actions button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  font-weight: 700;
}
.table-actions button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.table-empty-state {
  display: grid;
  gap: 5px;
  padding: 20px 0;
  text-align: center;
}
.table-empty-state strong {
  color: var(--dark);
}
.table-empty-state span {
  color: var(--muted);
}
.dashboard-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.activity-list {
  display: grid;
  gap: 12px;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.activity-item:first-child {
  border-top: 0;
}
.activity-item strong,
.activity-item small {
  display: block;
}
.activity-item small {
  margin-top: 3px;
  color: var(--muted);
}
.next-action-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.next-action-list li {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}
.next-action-list strong {
  color: var(--dark);
}
.next-action-list span {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .dashboard-kpis {
    grid-template-columns: repeat(3, 1fr);
  }
  .dashboard-workspace,
  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }
  .ai-shortlist-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .employer-dashboard-shell {
    padding-right: 22px;
    padding-left: 22px;
  }
  .dashboard-topbar,
  .panel-heading {
    flex-direction: column;
    align-items: stretch;
  }
  .dashboard-actions,
  .dashboard-actions .btn {
    width: 100%;
  }
  .dashboard-kpis,
  .job-performance-row,
  .job-performance-metrics {
    grid-template-columns: 1fr;
  }
}

/* Candidate profile and dashboard */
.candidate-profile-page,
.candidate-dashboard-page {
  background: #f5f7fb;
  color: #162033;
}
.candidate-profile-shell,
.candidate-dashboard-shell {
  display: grid;
  gap: 24px;
  padding: 38px max(5%, calc((100% - 1380px) / 2)) 80px;
}
.candidate-profile-intro,
.candidate-dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.candidate-profile-intro h1,
.candidate-dashboard-hero h1 {
  max-width: 780px;
  margin: 5px 0 10px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.candidate-profile-intro p,
.candidate-dashboard-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.profile-completion-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 310px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(8, 18, 38, 0.07);
}
.profile-completion-panel > span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 8px solid #eaf0ff;
  border-top-color: var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
}
.profile-completion-panel strong,
.profile-completion-panel small {
  display: block;
}
.profile-completion-panel small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}
.candidate-profile-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.candidate-profile-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.freelancer-profile-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(8, 18, 38, 0.08);
}
.freelancer-photo-wrap {
  position: relative;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  overflow: hidden;
  border: 4px solid #eaf0ff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f2350, #2563eb);
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.freelancer-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.freelancer-identity h2 {
  margin: 4px 0;
  color: var(--dark);
  font-size: 28px;
  letter-spacing: -0.035em;
}
.freelancer-identity p:last-child,
.freelancer-summary-preview {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.freelancer-status-row,
.freelancer-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.freelancer-status-row span,
.freelancer-skill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #f8fbff;
  color: #48607f;
  font-size: 13px;
  font-weight: 700;
}
.freelancer-skill-list span {
  color: var(--blue);
}
.freelancer-profile-actions {
  display: grid;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.freelancer-profile-actions .btn {
  width: 100%;
  justify-content: center;
}
.freelancer-profile-actions small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}
.profile-steps-panel {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(8, 18, 38, 0.06);
}
.profile-steps-panel a {
  padding: 12px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}
.profile-steps-panel a.active,
.profile-steps-panel a:hover {
  background: #eaf0ff;
  color: var(--blue);
}
.candidate-profile-form {
  display: grid;
  gap: 18px;
}
.profile-form-section {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 70px rgba(8, 18, 38, 0.06);
}
.profile-form-section h2 {
  margin: 4px 0 0;
  font-size: 27px;
  letter-spacing: -0.025em;
}
.profile-form-section label {
  display: block;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.profile-photo-upload-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px dashed #cbd7e8;
  border-radius: 8px;
  background: #f8fbff;
}
.profile-photo-upload-box input {
  margin-bottom: 0;
}
.cv-upload-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px dashed #cbd7e8;
  border-radius: 8px;
  background: #f8fbff;
}
.cv-upload-box input {
  margin-bottom: 0;
}
.cv-upload-box p:last-child {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}
.profile-save-bar {
  position: sticky;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(8, 18, 38, 0.12);
  backdrop-filter: blur(12px);
}
.profile-save-bar .form-message {
  margin: 0;
}
.candidate-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.candidate-dashboard-grid article {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(8, 18, 38, 0.07);
}
.candidate-dashboard-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.candidate-dashboard-grid h2 {
  margin: 0;
  font-size: 24px;
}
.candidate-dashboard-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.candidate-dashboard-grid a {
  width: max-content;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .candidate-profile-intro,
  .candidate-dashboard-hero,
  .candidate-profile-layout {
    grid-template-columns: 1fr;
  }
  .candidate-profile-sidebar {
    position: static;
  }
  .candidate-profile-intro,
  .candidate-dashboard-hero {
    display: grid;
  }
  .profile-completion-panel {
    min-width: 0;
  }
  .profile-steps-panel {
    position: static;
    grid-template-columns: repeat(4, 1fr);
  }
  .candidate-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .candidate-profile-shell,
  .candidate-dashboard-shell {
    padding-right: 22px;
    padding-left: 22px;
  }
  .profile-steps-panel,
  .profile-photo-upload-box,
  .cv-upload-box,
  .profile-save-bar {
    grid-template-columns: 1fr;
  }
  .profile-save-bar,
  .profile-save-bar .btn {
    width: 100%;
  }
}

/* Professional candidate profile */
.professional-intro h1 {
  max-width: 900px;
}
.professional-profile-editor {
  display: grid;
  gap: 22px;
}
.professional-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid #dfe7f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(8, 18, 38, 0.08);
}
.profile-hero-main {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.profile-photo-large {
  flex: 0 0 auto;
  width: 138px;
  height: 138px;
  border: 6px solid #eaf0ff;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.18);
}
.profile-hero-identity {
  min-width: 0;
}
.profile-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #5e718e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.verified-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #18a058;
  box-shadow: 0 0 0 5px rgba(24, 160, 88, 0.12);
}
.profile-hero-identity h2 {
  margin: 0 0 6px;
  color: var(--dark);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.profile-hero-identity p {
  margin: 0;
  max-width: 760px;
  color: #344563;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}
.profile-hero-tags {
  margin-top: 18px;
}
.profile-hero-side {
  display: grid;
  gap: 14px;
}
.profile-rate-box,
.profile-meta-grid > div {
  border: 1px solid #dfe7f3;
  border-radius: 16px;
  background: #f8fbff;
}
.profile-rate-box {
  display: grid;
  gap: 6px;
  padding: 18px;
}
.profile-rate-box span,
.profile-meta-grid span {
  color: #71819a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.profile-rate-box strong {
  color: var(--dark);
  font-size: 24px;
  line-height: 1.25;
}
.profile-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.profile-meta-grid > div {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
}
.profile-meta-grid strong {
  color: #24324a;
  font-size: 14px;
  line-height: 1.35;
}
.professional-profile-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.professional-profile-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.profile-content-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.profile-card-block {
  border: 1px solid #dfe7f3;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 62px rgba(8, 18, 38, 0.065);
}
.profile-edit-card,
.profile-readiness-card,
.profile-overview-preview,
.candidate-review-block,
.profile-form-section.profile-card-block {
  padding: 24px;
}
.profile-block-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.profile-block-heading.compact {
  margin-bottom: 14px;
}
.profile-block-heading h3 {
  margin: 4px 0 0;
  color: var(--dark);
  font-size: 26px;
  letter-spacing: -0.03em;
}
.profile-block-heading span {
  max-width: 320px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
  text-align: right;
}
.profile-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #cfe0f8;
  border-radius: 999px;
  background: #f0f6ff;
  color: var(--blue) !important;
  font-size: 12px;
  font-weight: 700;
  text-align: center !important;
}
.profile-edit-card label,
.profile-form-section.profile-card-block label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 700;
}
.profile-edit-card input,
.profile-edit-card select,
.profile-edit-card textarea,
.profile-form-section.profile-card-block input,
.profile-form-section.profile-card-block select,
.profile-form-section.profile-card-block textarea {
  border-color: #dbe5f3;
  border-radius: 12px;
  background-color: #fff;
}
.profile-edit-card input:disabled,
.profile-form-section.profile-card-block input:disabled {
  background: #f5f7fb;
  color: #7a879b;
}
.sidebar-fields {
  grid-template-columns: 1fr;
}
.professional-upload-box {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #f8fbff;
}
.professional-upload-box input {
  margin-bottom: 0;
}
.professional-upload-box small,
.professional-upload-box p:last-child {
  max-width: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.profile-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.profile-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #53657f;
  font-weight: 700;
}
.profile-checklist li span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #cdd9eb;
  border-radius: 999px;
  background: #fff;
}
.profile-checklist li span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cdd9eb;
}
.profile-checklist li.done {
  color: #0f7a45;
}
.profile-checklist li.done span {
  border-color: rgba(24, 160, 88, 0.35);
  background: rgba(24, 160, 88, 0.1);
}
.profile-checklist li.done span::before {
  content: "✓";
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #0f7a45;
  font-size: 13px;
  font-weight: 700;
}
.professional-steps {
  border-radius: 20px;
}
.professional-steps a {
  border-radius: 14px;
}
.freelancer-summary-preview.large {
  max-width: 980px;
  color: #344563;
  font-size: 17px;
  line-height: 1.75;
}
.profile-preview-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e5ecf6;
}
.profile-preview-split h4 {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 16px;
}
.freelancer-skill-list.muted span {
  color: #48607f;
}
.candidate-review-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px dashed #cbd7e8;
  border-radius: 18px;
  background: #f8fbff;
}
.review-score-circle {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 8px solid #edf2f9;
  border-radius: 50%;
  color: #71819a;
  font-size: 20px;
  font-weight: 700;
}
.candidate-review-empty strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
}
.candidate-review-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.professional-profile-editor .profile-save-bar {
  border-radius: 18px;
}

@media (max-width: 1120px) {
  .professional-profile-hero,
  .professional-profile-grid {
    grid-template-columns: 1fr;
  }
  .professional-profile-sidebar {
    position: static;
  }
  .profile-hero-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .professional-profile-hero,
  .profile-edit-card,
  .profile-readiness-card,
  .profile-overview-preview,
  .candidate-review-block,
  .profile-form-section.profile-card-block {
    padding: 18px;
    border-radius: 18px;
  }
  .profile-hero-main {
    display: grid;
    justify-items: start;
  }
  .profile-photo-large {
    width: 112px;
    height: 112px;
  }
  .profile-block-heading,
  .candidate-review-empty,
  .profile-preview-split {
    grid-template-columns: 1fr;
  }
  .profile-block-heading {
    display: grid;
  }
  .profile-block-heading span {
    max-width: none;
    text-align: left;
  }
}

/* candidate profile view */
.candidate-view-page {
  background: #f4f7fb;
}

.candidate-profile-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 80px;
}

.candidate-view-profile {
  display: block;
}

.profile-view-hero,
.profile-display-card,
.profile-side-card,
.profile-section-editor {
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(8, 22, 48, 0.05);
}

.profile-view-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 28px;
  margin-bottom: 24px;
}

.profile-hero-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.profile-view-hero .profile-photo-large,
.profile-view-hero .freelancer-photo-wrap {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  border-radius: 999px;
  border: 4px solid #edf3ff;
  background: #eaf0ff;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--blue);
  font-size: 32px;
  font-weight: 700;
}

.profile-view-hero .freelancer-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero-identity h1 {
  margin: 6px 0 6px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  color: var(--dark);
}

.profile-hero-identity p {
  margin: 0 0 14px;
  color: #233b61;
  font-size: 18px;
  font-weight: 700;
}

.profile-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5f6f89;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.verified-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #18a058;
  box-shadow: 0 0 0 5px rgba(24, 160, 88, 0.12);
}

.profile-hero-tags,
.freelancer-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.profile-hero-tags span,
.freelancer-skill-list span,
.profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: #f2f6fb;
  border: 1px solid #dfe7f2;
  color: #354a68;
  font-size: 13px;
  font-weight: 700;
}

.profile-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-secondary,
.btn.btn-secondary {
  background: #eaf0ff;
  color: var(--blue);
}

.profile-edit-icon,
.profile-close-edit {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d7e1ef;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.profile-edit-icon.small {
  width: 34px;
  height: 34px;
  font-size: 16px;
}

.profile-edit-icon:hover,
.profile-close-edit:hover {
  background: #eef4ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11, 76, 255, 0.12);
}

.profile-view-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.profile-main-column,
.profile-right-column {
  display: grid;
  gap: 18px;
}

.profile-right-column {
  position: sticky;
  top: 96px;
}

.profile-display-card,
.profile-side-card {
  padding: 24px;
}

.profile-display-heading,
.side-card-heading,
.profile-editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.profile-display-heading h2,
.side-card-heading h3,
.profile-editor-heading h3 {
  margin: 0;
  color: var(--dark);
}

.profile-display-heading h2 {
  font-size: 22px;
}

.profile-display-heading p,
.side-card-heading p,
.profile-detail-row p,
.document-note {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.freelancer-summary-preview.large {
  font-size: 17px;
  line-height: 1.78;
  color: #263d5c;
  margin: 0;
  white-space: pre-line;
}

.profile-preview-split.clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.profile-preview-split h4,
.profile-detail-row strong {
  display: block;
  margin: 0 0 10px;
  color: var(--dark);
}

.freelancer-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.freelancer-skill-list.muted span {
  background: #fafcff;
  color: #596a82;
}

.profile-detail-row {
  padding-top: 16px;
  border-top: 1px solid #edf2f8;
}

.profile-detail-row.compact {
  padding: 0 0 15px;
  border-top: 0;
  border-bottom: 1px solid #eef3f9;
  margin-bottom: 14px;
}

.profile-text-block {
  color: #263d5c;
  line-height: 1.78;
  white-space: pre-line;
}

.profile-meta-list {
  display: grid;
  gap: 14px;
}

.profile-meta-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid #eef3f9;
}

.profile-meta-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-meta-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 5px;
}

.profile-meta-list strong {
  display: block;
  color: var(--dark);
  font-size: 15px;
  line-height: 1.45;
}

.profile-link-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.profile-link-list a,
.profile-link-list span {
  display: block;
  color: var(--blue);
  font-weight: 700;
  word-break: break-word;
}

.profile-link-list span {
  color: var(--muted);
  font-weight: 600;
}

.profile-readiness-card small,
.profile-side-card small {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.small-percentage {
  color: var(--blue);
  font-size: 20px;
}

.profile-checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.profile-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5d6e85;
  font-size: 14px;
  font-weight: 700;
}

.profile-checklist li span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd6e4;
  flex: 0 0 18px;
}

.profile-checklist li.done {
  color: #138a4e;
}

.profile-checklist li.done span {
  background: #18a058;
  border-color: #18a058;
  position: relative;
}

.profile-checklist li.done span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.profile-section-editor {
  padding: 22px;
  margin-top: 18px;
  border-style: dashed;
  box-shadow: none;
  background: #fbfdff;
}

.profile-section-editor.hero-editor {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.profile-section-editor.full-width-editor {
  margin-top: 24px;
}

.profile-section-editor[hidden] {
  display: none !important;
}

.profile-section-editor label {
  display: block;
  margin: 12px 0 0 0px;
  font-size: 14px;
  color: #1c2d48;
  font-weight: 700;
}

.profile-section-editor input,
.profile-section-editor select,
.profile-section-editor textarea {
  width: 100%;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  color: var(--dark);
  font: inherit;
}

.profile-section-editor textarea {
  resize: vertical;
  min-height: 110px;
}

.profile-section-editor input:disabled {
  color: #7b8aa0;
  background: #f2f5f9;
}

.profile-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.profile-photo-upload-box,
.cv-upload-box,
.professional-upload-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px dashed #cbd8ea;
  border-radius: 16px;
  background: #f8fbff;
  margin-bottom: 16px;
}

.field-hint {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.form-grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-save-bar.view-profile-save-bar {
  position: sticky;
  bottom: 18px;
  margin-top: 18px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
}

.profile-save-bar.view-profile-save-bar .form-message {
  pointer-events: auto;
  max-width: 620px;
  background: #fff;
  border: 1px solid #dce5f2;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(8, 22, 48, 0.1);
  padding: 10px 16px;
  text-align: center;
}

.profile-save-bar.view-profile-save-bar .form-message:empty {
  display: none;
}

.candidate-review-empty {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #edf2f8;
  border-radius: 16px;
  background: #f9fbff;
}

.review-score-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 66px;
}

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

  .profile-right-column {
    position: static;
  }

  .profile-hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .candidate-profile-shell {
    width: min(100% - 22px, 1180px);
    margin-top: 20px;
  }

  .profile-view-hero,
  .profile-display-card,
  .profile-side-card,
  .profile-section-editor {
    padding: 18px;
    border-radius: 16px;
  }

  .profile-hero-left,
  .candidate-review-empty {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-preview-split.clean,
  .form-grid.two,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .profile-editor-actions {
    flex-direction: column-reverse;
  }

  .profile-editor-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* Legal and policy pages */
.legal-page {
  background:
    radial-gradient(circle at 8% 12%, rgba(11, 76, 255, 0.08), transparent 28%),
    #f5f8fc;
}
.policy-shell {
  max-width: 1260px;
  margin: 0 auto;
  padding: 72px 24px 90px;
}

.policy-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(88, 128, 255, 0.35),
      transparent 30%
    ),
    linear-gradient(135deg, #06142e, #0b2f72);
  box-shadow: 0 30px 70px rgba(6, 20, 46, 0.18);
}

.policy-hero .eyebrow {
  color: #9eb8ff !important;
}

.policy-hero h1 {
  max-width: 850px;
  margin: 12px 0 16px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.policy-hero p {
  max-width: 820px;
  margin: 0;
  color: #c5d2eb;
  font-size: 18px;
  line-height: 1.7;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.policy-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef4ff;
  font-size: 12px;
  font-weight: 700;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 5px;
  padding: 22px;
  border: 1px solid #e2e8f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.policy-toc strong {
  margin-bottom: 8px;
  color: #172033;
  font-size: 13px;
}

.policy-toc a {
  padding: 8px 10px;
  border-radius: 9px;
  color: #607089;
  font-size: 13px;
  line-height: 1.4;
}

.policy-toc a:hover,
.policy-toc a:focus-visible {
  background: #eef3ff;
  color: #0b4cff;
}

.policy-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid #e2e8f2;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.07);
}

.policy-card h2 {
  margin: 42px 0 12px;
  color: #12203a;
  font-size: clamp(22px, 3vw, 27px);
  letter-spacing: -0.02em;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card h3 {
  margin: 24px 0 8px;
  color: #1f2e48;
  font-size: 17px;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.policy-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding-left: 21px;
}

.policy-card a {
  color: #0b4cff;
  text-decoration: underline;
  text-decoration-color: rgba(11, 76, 255, 0.28);
  text-underline-offset: 3px;
}

.policy-summary {
  margin-bottom: 32px;
  padding: 20px 22px;
  border: 1px solid #dce6fb;
  border-radius: 17px;
  background: #f6f9ff;
  color: #41516b;
  line-height: 1.65;
}

.policy-table-wrap {
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid #e2e8f2;
  border-radius: 16px;
}

.policy-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.policy-table th,
.policy-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #e9eef6;
  color: #607089;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  background: #f7f9fc;
  color: #24324a;
  font-weight: 700;
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.policy-contact {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 22px;
  border-radius: 17px;
  background: #071a3b;
  color: #dbe6fb;
}

.policy-contact strong {
  color: #fff;
}

.policy-contact a,
.policy-contact span {
  color: #c4d4ef;
  font-size: 14px;
}

@media (max-width: 900px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }
  .policy-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .policy-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .policy-shell {
    padding: 36px 14px 56px;
  }

  .policy-hero {
    padding: 32px 24px;
    border-radius: 22px;
  }

  .policy-hero p {
    font-size: 15px;
  }

  .policy-toc {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .policy-card {
    padding: 26px 20px;
    border-radius: 20px;
  }
}

/* Candidate profile structured repeatable sections */
.structured-card-list {
  display: grid;
  gap: 14px;
}

.structured-empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  padding: 18px;
  color: #64748b;
  background: #f8fafc;
  line-height: 1.6;
}

.structured-entry-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.structured-entry-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.structured-entry-heading h3 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #0f172a;
}

.structured-entry-heading span {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.structured-entry-card p {
  margin: 0;
  color: #334155;
  line-height: 1.7;
}

.editor-list {
  margin-bottom: 18px;
}

.structured-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.structured-card-actions button {
  border: 1px solid #dbe4f0;
  background: #f8fafc;
  color: #334155;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  cursor: pointer;
}

.structured-card-actions button:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
}

.repeatable-entry-form {
  border: 1px solid #dbe4f0;
  border-radius: 22px;
  padding: 20px;
  background: #f8fbff;
  display: grid;
  gap: 18px;
}

.repeatable-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.optional-label,
.autosave-note {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.autosave-actions {
  justify-content: space-between;
  align-items: center;
}

.profile-section-editor textarea[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .structured-entry-heading,
  .autosave-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .structured-card-actions {
    justify-content: flex-start;
  }
}

/* Candidate profile structured repeatable fields */
.work-date-grid {
  align-items: end;
}

.checkbox-card.inline-checkbox {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--dark);
  font-weight: 700;
  cursor: pointer;
}

.checkbox-card.inline-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.compact-list .structured-entry-card {
  padding: 14px;
}

.compact-list .structured-entry-card h3 {
  font-size: 15px;
}

.compact-list .structured-entry-card p {
  font-size: 13px;
}

.ai-overview-builder {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #dbe6f5;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #f4f7ff 100%);
}

.ai-overview-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ai-overview-header strong {
  display: block;
  color: var(--dark);
  font-size: 16px;
}

.ai-overview-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ai-overview-header span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #8b5cf6);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.24);
}

.ai-overview-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ai-overview-actions small {
  color: var(--muted);
  font-weight: 700;
}

.freelancer-summary-preview.large strong {
  color: var(--dark);
  font-weight: 700;
}

.ai-overview-builder textarea {
  min-height: 130px;
}

/* FER operations dashboards - client requested concept layer */
.fer-ops-dashboard-page,
.fer-candidate-workspace-page {
  background: #f6f8fc;
}

.fer-ops-shell,
.fer-candidate-shell {
  max-width: 1480px;
  margin: 0 auto;
}

.fer-ops-topbar h1,
.fer-candidate-topbar h1 {
  letter-spacing: -0.055em;
}

.fer-ops-kpis article,
.candidate-kpi-grid article,
.fer-ops-mini-card,
.profile-snapshot-panel,
.candidate-ai-tools-panel,
.fer-assignment-panel,
.fer-shift-panel {
  border-radius: 18px;
}

.fer-ops-snapshot-grid,
.candidate-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fer-ops-mini-card,
.candidate-kpi-grid article {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(8, 18, 38, 0.055);
}

.fer-ops-mini-card strong,
.candidate-kpi-grid strong,
.fer-ops-mini-card small,
.candidate-kpi-grid small,
.fer-ops-mini-card b,
.candidate-kpi-grid b {
  display: block;
}

.fer-ops-mini-card strong,
.candidate-kpi-grid strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.fer-ops-mini-card b,
.candidate-kpi-grid b {
  margin-top: 4px;
  color: var(--dark);
  font-size: 28px;
  line-height: 1;
}

.fer-ops-mini-card small,
.candidate-kpi-grid small {
  margin-top: 7px;
  color: #7a879b;
  line-height: 1.35;
}

.ops-icon,
.candidate-ring {
  display: grid;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  place-items: center;
  border-radius: 18px;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
}

.candidate-ring {
  border: 6px solid #dce7ff;
  border-top-color: var(--blue);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
}

.fer-ops-workspace {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.fer-ai-panel .shortlist-meter {
  width: 150px;
  height: 150px;
}

.fit-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.fit-signal-grid span {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.fit-signal-grid b {
  color: #137a43;
}

.fer-assignment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.65fr);
  gap: 18px;
}

.assignment-flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.assignment-flow-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.assignment-flow-list span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 12px;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.assignment-flow-list strong,
.assignment-flow-list p {
  display: block;
}

.assignment-flow-list p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.ops-list,
.ops-alert-list,
.candidate-tool-list,
.candidate-job-list,
.candidate-application-list,
.candidate-next-actions {
  display: grid;
  gap: 12px;
}

.ops-list article,
.ops-alert-list article,
.candidate-tool-list a,
.candidate-job-list article,
.candidate-application-list article,
.candidate-next-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.ops-list article b {
  color: var(--blue);
  font-size: 13px;
}

.ops-list strong,
.ops-list small,
.ops-alert-list strong,
.ops-alert-list span,
.candidate-tool-list strong,
.candidate-tool-list span,
.candidate-application-list strong,
.candidate-application-list span,
.candidate-next-actions strong,
.candidate-next-actions span {
  display: block;
}

.ops-list small,
.ops-alert-list span,
.candidate-tool-list span,
.candidate-application-list span,
.candidate-next-actions span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.ops-alert-list b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #eaf0ff;
  color: var(--blue);
}

.fer-ops-lower-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

.candidate-dashboard-main-grid,
.candidate-dashboard-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.candidate-profile-snapshot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.candidate-snapshot-photo {
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
}

.candidate-profile-snapshot h3 {
  margin: 0 0 6px;
  color: var(--dark);
  font-size: 30px;
  letter-spacing: -0.035em;
}

.candidate-profile-snapshot p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
}

.candidate-mini-meta,
.candidate-skill-preview,
.profile-snapshot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.candidate-mini-meta span,
.candidate-skill-preview span,
.profile-snapshot-tabs a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #f8fbff;
  color: #48607f;
  font-size: 13px;
  font-weight: 700;
}

.candidate-skill-preview span {
  color: var(--blue);
}

.profile-snapshot-tabs {
  margin: 18px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.profile-snapshot-tabs a {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
}

.profile-snapshot-tabs a:hover {
  background: #eaf0ff;
  color: var(--blue);
}

.candidate-snapshot-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.candidate-snapshot-cards article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.candidate-snapshot-cards p {
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.55;
}

.candidate-snapshot-cards a,
.panel-link,
.candidate-job-list a,
.qualification-count-grid a {
  color: var(--blue);
  font-weight: 700;
}

.ai-pill.success {
  background: #ecfdf3;
  color: #137a43;
}

.candidate-ai-tools-panel .btn {
  width: 100%;
  margin-top: 16px;
  text-align: center;
}

.candidate-tool-list a {
  justify-content: flex-start;
  position: relative;
  padding-right: 42px;
}

.candidate-tool-list a::after {
  content: "›";
  position: absolute;
  right: 16px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
}

.candidate-job-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px auto auto;
}

.candidate-job-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.candidate-job-list article > span {
  display: grid;
  place-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #137a43;
  font-weight: 700;
}

.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
}

.assignments-area {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
}

.attendance-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.attendance-action-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.attendance-action-grid p {
  color: var(--muted);
  line-height: 1.45;
}

.attendance-action-grid button {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 12px;
  background: #dfe7f5;
  color: #64748b;
  font-weight: 700;
}

.candidate-dashboard-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.qualification-count-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.qualification-count-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.qualification-count-grid span {
  font-size: 24px;
}

.qualification-count-grid strong {
  color: var(--dark);
  font-size: 32px;
  line-height: 1;
}

.qualification-count-grid small {
  color: var(--muted);
  line-height: 1.35;
}

.candidate-review-dashboard-card {
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px dashed #d6e0ee;
  border-radius: 16px;
  background: #f8fbff;
  text-align: center;
  color: var(--muted);
}

.candidate-review-dashboard-card strong {
  color: var(--dark);
}

.review-mini-score {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #fff7e8;
  color: #8a4b08;
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .fer-ops-workspace,
  .fer-assignment-grid,
  .candidate-dashboard-main-grid,
  .candidate-dashboard-two-col,
  .assignments-area,
  .fer-ops-lower-grid,
  .candidate-dashboard-lower-grid {
    grid-template-columns: 1fr;
  }
  .assignment-flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .fer-ops-snapshot-grid,
  .candidate-kpi-grid,
  .candidate-snapshot-cards,
  .attendance-action-grid,
  .qualification-count-grid {
    grid-template-columns: 1fr;
  }
  .candidate-profile-snapshot,
  .ops-list article,
  .candidate-job-list article,
  .candidate-application-list article,
  .candidate-next-actions a {
    align-items: flex-start;
  }
  .candidate-job-list article {
    grid-template-columns: 1fr;
  }
  .assignment-flow-list {
    grid-template-columns: 1fr;
  }
}

/* Client requested assignment workflow update */
.dashboard-action-strip {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px 0 10px;
}

.assignment-summary-grid {
  margin-top: 18px;
}

.assignment-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.assignment-create-form {
  display: grid;
  gap: 16px;
}

.assignment-id-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.assignment-id-row input {
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  background: #f8fbff;
}

.btn.small {
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 13px;
}

.compact-actions {
  margin-top: 0;
}

.assignment-live-panel,
.assignment-create-panel {
  min-height: 100%;
}

.assignment-live-list,
.attendance-feed-list {
  display: grid;
  gap: 12px;
}

.assignment-live-item,
.candidate-assignment-item,
.attendance-feed-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.candidate-assignment-item {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.assignment-live-item b,
.candidate-assignment-item b,
.attendance-feed-list b {
  display: inline-grid;
  min-width: 86px;
  place-items: center;
  padding: 8px 9px;
  border-radius: 12px;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.assignment-live-item strong,
.assignment-live-item small,
.candidate-assignment-item strong,
.candidate-assignment-item small,
.attendance-feed-list strong,
.attendance-feed-list small {
  display: block;
}

.assignment-live-item small,
.candidate-assignment-item small,
.attendance-feed-list small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.candidate-assignment-item button {
  padding: 9px 12px;
  border: 1px solid #bdd0ff;
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}

.attendance-feed-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.attendance-feed-box h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.candidate-workflow-area {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
}

.candidate-attendance-form {
  display: grid;
  gap: 14px;
}

.candidate-attendance-form .btn {
  width: 100%;
  text-align: center;
}

.candidate-history-box {
  margin-top: 20px;
}

.attendance-summary-list article {
  display: grid;
  grid-template-columns: 1fr auto;
}

.attendance-summary-list article b {
  grid-row: span 2;
}

.employer-lower-ops-grid {
  margin-top: 18px;
}

.job-performance-after-assignment {
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .assignment-control-grid,
  .candidate-workflow-area {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dashboard-action-strip,
  .assignment-id-row {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
  .dashboard-action-strip {
    display: grid;
  }
  .assignment-live-item,
  .candidate-assignment-item,
  .attendance-feed-list article {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* Refined employer/candidate assignment workflow update */
.assignment-dashboard-clean {
  padding-top: 28px;
}

.assignment-dashboard-clean .dashboard-kpis {
  margin-top: 0;
}

.enhanced-assignment-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: 22px;
}

.assignment-command-card,
.assignment-status-board,
.highlighted-work-panel,
.start-finish-card,
.refined-list-panel {
  box-shadow: 0 22px 60px rgba(8, 18, 38, 0.075);
}

.assignment-command-card {
  position: relative;
  overflow: hidden;
}

.assignment-command-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #7c3cff);
}

.simplified-assignment-form {
  gap: 18px;
}

.simplified-assignment-form textarea {
  min-height: 170px;
}

.assignment-status-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.assignment-status-summary span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.assignment-status-summary b {
  color: var(--dark);
  font-size: 28px;
  line-height: 1;
}

.assignment-status-summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.polished-assignment-list,
.candidate-assignment-demo-list {
  gap: 14px;
}

.refined-assignment-item,
.refined-candidate-assignment {
  background: linear-gradient(180deg, #fff, #f9fbff);
  border-color: #dce6f5;
}

.refined-assignment-item > b,
.refined-candidate-assignment > b {
  background: linear-gradient(145deg, #eaf0ff, #f5f0ff);
  box-shadow: inset 0 0 0 1px rgba(11, 76, 255, 0.07);
}

.refined-assignment-item .status-pill,
.refined-candidate-assignment .status-pill {
  min-width: 86px;
  text-align: center;
}

.compact-candidate-topbar {
  padding-bottom: 8px;
}

.candidate-primary-workflow {
  margin-top: 18px;
  grid-template-columns: minmax(0, 1.12fr) minmax(410px, 0.88fr);
}

.highlighted-work-panel {
  border: 1px solid #dce6f5;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.start-finish-card {
  border: 1px solid #dce6f5;
}

.refined-job-application-grid {
  margin-top: 18px;
}

.candidate-demo-job-list article,
.candidate-demo-application-list article {
  min-height: 70px;
}

.candidate-demo-application-list article strong::before {
  content: "•";
  margin-right: 8px;
  color: var(--blue);
  font-size: 22px;
  line-height: 0;
}

.candidate-demo-application-list article:nth-child(1) span::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: #1f9d55;
}

@media (max-width: 1180px) {
  .enhanced-assignment-grid,
  .candidate-primary-workflow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .assignment-status-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.assignment-board-state {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 230px;
  align-content: center;
  padding: 32px 24px;
  border: 1px dashed #cdd9ec;
  border-radius: 20px;
  background: linear-gradient(145deg, #fbfdff, #f4f8ff);
  text-align: center;
}

.assignment-board-state .assignment-state-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
}

.assignment-board-state strong {
  color: var(--dark);
  font-size: 17px;
}

.assignment-board-state p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.assignment-board-state.is-error {
  border-color: #f2c9c9;
  background: linear-gradient(145deg, #fffdfd, #fff6f6);
}

.assignment-board-state.is-error .assignment-state-icon {
  background: #feecec;
  color: #c33b3b;
}

.candidate-assignment-item button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

@media (max-width: 430px) {
  .assignment-status-summary {
    grid-template-columns: 1fr;
  }
}

/* Professional dashboard refresh */
.employer-dashboard-page,
.candidate-dashboard-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(28, 82, 255, 0.055), transparent 26%),
    #f4f7fb;
}

.employer-dashboard-shell,
.candidate-dashboard-shell {
  gap: 26px;
}

.employer-dashboard-page .dashboard-panel,
.candidate-dashboard-page .dashboard-panel,
.employer-dashboard-page .dashboard-kpis article,
.candidate-dashboard-page .candidate-kpi-grid article {
  border-color: #e1e8f2;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(24, 39, 75, 0.055);
}

.employer-dashboard-page .dashboard-panel,
.candidate-dashboard-page .dashboard-panel {
  padding: 28px;
}

.employer-dashboard-page .panel-heading,
.candidate-dashboard-page .panel-heading {
  margin-bottom: 24px;
}

.employer-dashboard-page .panel-heading h2,
.candidate-dashboard-page .panel-heading h2 {
  color: #101828;
  font-size: 22px;
  line-height: 1.25;
}

.employer-dashboard-page .panel-heading p,
.candidate-dashboard-page .panel-heading p {
  color: #667085;
  font-size: 14px;
}

/* Employer: balanced overview and useful demo presentation */
.employer-dashboard-page .fer-ops-kpis {
  gap: 16px;
}

.employer-dashboard-page .fer-ops-kpis article {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 22px;
}

.employer-dashboard-page .fer-ops-kpis article::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -32px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(24, 82, 255, 0.055);
}

.employer-dashboard-page .fer-ops-kpis strong {
  color: #101828;
  font-size: 32px;
}

.employer-dashboard-page .fer-ops-mini-card {
  min-height: 116px;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(24, 39, 75, 0.045);
}

.employer-dashboard-page .job-performance-list {
  gap: 12px;
}

.employer-dashboard-page .job-performance-row {
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #e3eaf4;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.employer-dashboard-page .job-performance-row:first-child {
  border-top: 1px solid #e3eaf4;
}

.employer-dashboard-page .job-performance-row h3 {
  color: #172033;
  font-size: 16px;
}

.employer-dashboard-page .job-performance-metrics span {
  border: 0;
  background: #f2f5fa;
}

.employer-dashboard-page .fer-ai-panel {
  border-top: 4px solid #1753ff;
}

.employer-dashboard-page .employer-lower-ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
  gap: 24px;
  margin-top: 0;
}

.employer-dashboard-page .hiring-activity-panel,
.employer-dashboard-page .attendance-overview-panel {
  min-height: 330px;
}

.employer-dashboard-page .activity-item {
  min-height: 58px;
  padding: 14px 0;
}

.employer-dashboard-page .attendance-summary-list {
  gap: 14px;
}

.employer-dashboard-page .attendance-summary-list article {
  min-height: 74px;
  padding: 16px;
  border-color: #e3eaf4;
  background: #f8faff;
}

/* Candidate: assigned work first, attendance below in a balanced workspace */
.candidate-dashboard-page .candidate-primary-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 0;
}

.candidate-dashboard-page .highlighted-work-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #dce6f5;
  background: #fff;
}

.candidate-dashboard-page .highlighted-work-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #1753ff, #6941c6);
}

.candidate-dashboard-page .candidate-assignment-demo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.candidate-dashboard-page .refined-candidate-assignment {
  display: flex;
  min-width: 0;
  min-height: 238px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 18px;
  padding: 20px;
  border: 1px solid #e0e8f3;
  border-radius: 15px;
  background: linear-gradient(150deg, #fff 0%, #f8faff 100%);
  box-shadow: 0 8px 22px rgba(23, 83, 255, 0.045);
}

.candidate-dashboard-page .assignment-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.candidate-dashboard-page
  .refined-candidate-assignment
  .assignment-card-topline
  > b {
  min-width: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #1753ff;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.candidate-dashboard-page .assignment-card-content {
  display: grid;
  gap: 8px;
}

.candidate-dashboard-page .assignment-card-content strong {
  color: #101828;
  font-size: 18px;
}

.candidate-dashboard-page .assignment-card-content .assignment-card-date {
  margin: 0;
  color: #475467;
  font-size: 13px;
}

.candidate-dashboard-page .assignment-card-content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 3px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.candidate-dashboard-page .refined-candidate-assignment > button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 10px 13px;
  border-color: #d4e0ff;
  border-radius: 10px;
  background: #fff;
}

.candidate-dashboard-page .candidate-attendance-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 30px;
  align-items: start;
}

.candidate-dashboard-page .candidate-attendance-form {
  padding-right: 30px;
  border-right: 1px solid #e5eaf2;
}

.candidate-dashboard-page .candidate-history-box {
  margin: 0;
  padding: 0;
  border: 0;
}

.candidate-dashboard-page .candidate-history-box h3 {
  margin-bottom: 16px;
  color: #101828;
  font-size: 17px;
}

.candidate-dashboard-page
  .candidate-history-box
  .attendance-feed-list
  article:not(.work-session-history-card) {
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 15px;
  border-color: #e3eaf4;
  border-radius: 13px;
  background: #f9fbff;
}

.candidate-dashboard-page .refined-job-application-grid,
.candidate-dashboard-page .candidate-dashboard-lower-grid {
  gap: 24px;
  margin-top: 0;
}

.candidate-dashboard-page .candidate-demo-job-list article,
.candidate-dashboard-page .candidate-demo-application-list article {
  border-color: #e3eaf4;
  border-radius: 12px;
}

@media (max-width: 1180px) {
  .employer-dashboard-page .employer-lower-ops-grid,
  .candidate-dashboard-page .candidate-attendance-workspace {
    grid-template-columns: 1fr;
  }

  .candidate-dashboard-page .candidate-attendance-form {
    padding-right: 0;
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid #e5eaf2;
  }
}

@media (max-width: 900px) {
  .candidate-dashboard-page .candidate-assignment-demo-list {
    grid-template-columns: 1fr;
  }

  .candidate-dashboard-page .refined-candidate-assignment {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .employer-dashboard-page .dashboard-panel,
  .candidate-dashboard-page .dashboard-panel {
    padding: 20px;
  }

  .employer-dashboard-page .job-performance-row,
  .employer-dashboard-page .panel-heading,
  .candidate-dashboard-page .panel-heading {
    grid-template-columns: 1fr;
  }

  .employer-dashboard-page .job-performance-row,
  .employer-dashboard-page .panel-heading,
  .candidate-dashboard-page .panel-heading {
    display: grid;
  }

  .employer-dashboard-page .job-performance-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*
 * Final mobile drawer layer
 * Mounting the drawer directly under <body> prevents sticky-header stacking
 * contexts from placing it behind the backdrop.
 */
@media (max-width: 900px) {
  body > .mobile-nav-drawer {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 3001 !important;
    display: flex !important;
    visibility: hidden !important;
    width: min(88vw, 370px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: max(18px, env(safe-area-inset-top)) 16px
      max(24px, env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-radius: 0 24px 24px 0 !important;
    background: #fff !important;
    box-shadow: 24px 0 70px rgba(5, 20, 48, 0.3) !important;
    opacity: 0 !important;
    transform: translate3d(-104%, 0, 0) !important;
    transition:
      transform 0.26s ease,
      opacity 0.22s ease,
      visibility 0.26s !important;
    pointer-events: none !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body > .mobile-nav-drawer.open {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
  }

  body > .mobile-nav-drawer .mobile-drawer-head {
    display: flex !important;
  }

  body > .mobile-nav-drawer > a {
    display: flex !important;
    min-height: 50px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #24334b;
    font-size: 15px;
    font-weight: 650;
  }

  body > .mobile-nav-drawer > a:hover,
  body > .mobile-nav-drawer > a:focus-visible {
    border-color: #dce6f5;
    background: #f3f7fd;
    color: #073f9f;
  }

  body > .mobile-nav-drawer > a::after {
    display: none !important;
  }

  body > .mobile-nav-drawer .mobile-auth-link {
    display: flex !important;
    justify-content: center;
  }

  body > .mobile-nav-drawer .mobile-auth-link[hidden] {
    display: none !important;
  }

  body > .mobile-nav-drawer .mobile-login-link {
    order: 90;
    margin-top: 13px;
    border-color: #d3deee;
    background: #fff;
  }

  body > .mobile-nav-drawer .mobile-register-link {
    order: 91;
    margin-top: 2px;
    border-color: #0b4cff;
    background: #0b4cff;
    color: #fff;
    box-shadow: 0 10px 25px rgba(11, 76, 255, 0.2);
  }

  body > .mobile-nav-drawer .mobile-register-link:hover,
  body > .mobile-nav-drawer .mobile-register-link:focus-visible {
    border-color: #073ed8;
    background: #073ed8;
    color: #fff;
  }

  body > .mobile-nav-backdrop {
    z-index: 3000 !important;
  }
}

@media (max-width: 420px) {
  body > .mobile-nav-drawer {
    width: min(91vw, 350px) !important;
    border-radius: 0 20px 20px 0 !important;
  }
}
