/* CareerNest authentication identity — dedicated styles loaded AFTER style.css.
   Separate DOM blocks and scoped class names prevent the old inline/header rules
   from putting the home link and the logo beside one another.
*/
.auth-split .auth-card .cn-auth-home-nav {
  display: block;
  width: 100%;
  clear: both;
  margin: 0 0 21px;
  padding: 0;
}
.auth-split .auth-card .cn-auth-home-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.auth-split .auth-card .cn-auth-home-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-split .auth-card .cn-auth-home-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-radius: 3px;
}
.auth-split .auth-card .cn-auth-identity {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  min-width: 0;
  width: 100%;
  clear: both;
  margin: 0 0 28px;
  padding: 0;
}
.auth-split .auth-card .cn-auth-identity-icon {
  display: inline-flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 14px;
  background: #edf7ff;
  border: 1px solid #c7e0f4;
  overflow: hidden;
}
.auth-split .auth-card .cn-auth-identity-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.auth-split .auth-card .cn-auth-identity-name {
  display: inline-block;
  min-width: 0;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.2;
  white-space: nowrap;
}
.auth-split .auth-card .cn-auth-identity-name span { color: #0065bd; }
html[data-theme="dark"] .auth-split .auth-card .cn-auth-identity-name span { color: #9ecdfb; }
@media (max-width: 760px) {
  /* The left-hand panel's brand becomes the mobile top bar. No duplicate logo. */
  .auth-split .auth-card .cn-auth-identity { display: none; }
  .auth-split .auth-card .cn-auth-home-nav { margin-bottom: 24px; }
}

/* Version 20261029-grid-v3. Reinforces the guaranteed two-row markup.
   Kept separate from shared navigation selectors and older auth-form-header styles. */
.auth-split .auth-card .cn-auth-entry-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-auto-flow: row;
  row-gap: 22px;
  width: 100%;
  margin: 0 0 29px;
  align-items: start;
  justify-items: start;
}
.auth-split .auth-card .cn-auth-entry-head > .cn-auth-home-nav {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  margin: 0;
  display: block;
}
.auth-split .auth-card .cn-auth-entry-head > .cn-auth-identity {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
}
@media (max-width: 760px) {
  /* Only the mobile promotional panel displays the logo. */
  .auth-split .auth-card .cn-auth-entry-head { row-gap: 0; margin-bottom: 28px; }
  .auth-split .auth-card .cn-auth-entry-head > .cn-auth-identity { display: none !important; }
}
