/* ─── RESET & TOKENS ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #B31B1B;
  --red-dark:   #8F1515;
  --red-hover:  #9A1717;
  --black:      #111111;
  --white:      #FFFFFF;
  --gray-50:    #FAFAFA;
  --gray-100:   #F5F5F5;
  --gray-200:   #E8E8E8;
  --gray-400:   #A8A8A8;
  --gray-500:   #737373;
  --gray-600:   #525252;
  --gray-800:   #262626;

  --font-sans:  Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);

  --transition: 200ms ease;
}

html { font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}

/* ─── SHARED NAV ─────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .7rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(179,27,27,.35);
}
.btn-primary:hover:not(:disabled) {
  background: var(--red-hover);
  box-shadow: 0 4px 16px rgba(179,27,27,.45);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--white); }

.btn:disabled { opacity: .65; cursor: not-allowed; }

/* Google sign-in button */
.btn-google {
  background: var(--white);
  color: var(--gray-800);
  border: 1.5px solid var(--gray-200);
  padding: .85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.btn-google:hover:not(:disabled) {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-400);
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── ERROR MESSAGE ──────────────────────────────────────────────────────── */
.error-msg {
  display: none;
  color: var(--red);
  background: rgba(179,27,27,.08);
  border: 1px solid rgba(179,27,27,.2);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .875rem;
  text-align: center;
  margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LANDING PAGE
═══════════════════════════════════════════════════════════════════════════ */
.landing-body {
  background: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
}

/* Left hero panel */
.landing-hero {
  background: var(--black);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(179,27,27,.18) 0%, transparent 70%);
  pointer-events: none;
}

.landing-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(179,27,27,.1) 0%, transparent 70%);
  pointer-events: none;
}

.landing-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.landing-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.landing-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.landing-heading em {
  font-style: normal;
  color: var(--red);
}

.landing-subheading {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 3rem;
}

.landing-stats {
  display: flex;
  gap: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: .75rem;
  color: var(--gray-500);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  background: var(--gray-800);
  align-self: stretch;
}

/* Right sign-in panel */
.landing-signin {
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.signin-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.signin-card-eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.signin-card-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .5rem;
  line-height: 1.25;
}

.signin-card-subtitle {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.signin-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--gray-400);
  font-size: .8rem;
}

.signin-divider::before,
.signin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.signin-note {
  margin-top: 1.5rem;
  font-size: .8rem;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.6;
}

.signin-note a { color: var(--red); text-decoration: none; }
.signin-note a:hover { text-decoration: underline; }

.google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CREATE ACCOUNT PAGE
═══════════════════════════════════════════════════════════════════════════ */
.create-body {
  background: var(--gray-100);
  min-height: 100vh;
}

.create-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.create-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.create-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}

.create-header-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .5rem;
}

.create-header-subtitle {
  font-size: .95rem;
  color: var(--gray-500);
}

.create-email-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .85rem;
  color: var(--gray-600);
  margin-top: 1rem;
  box-shadow: var(--shadow-sm);
}

.create-email-badge strong { color: var(--black); }

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

/* Per-section save row inside a form card */
.card-save-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.card-save-msg { font-size: .8125rem; }

.form-section {
  margin-bottom: 2rem;
}

.form-section-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1.5px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group.full { grid-column: 1 / -1; }

label {
  font-size: .825rem;
  font-weight: 600;
  color: var(--gray-600);
}

label .required {
  color: var(--red);
  margin-left: .2rem;
}

input[type="text"],
input[type="url"],
input[type="number"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .925rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179,27,27,.12);
}

input::placeholder, textarea::placeholder { color: var(--gray-400); }

textarea {
  resize: vertical;
  min-height: 90px;
}

/* Custom checkboxes */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: .9rem;
  color: var(--gray-800);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-radius: 5px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: border-color var(--transition), background var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-box {
  background: var(--red);
  border-color: var(--red);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.checkbox-label:hover .checkbox-box { border-color: var(--red); }

.checkbox-text { flex: 1; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.form-footer-note {
  font-size: .8rem;
  color: var(--gray-400);
}

/* ─── Account type toggle ──────────────────────────────────────────────────── */
.account-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.account-type-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1.1rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s, box-shadow .15s;
  background: var(--white);
  color: var(--gray-500);
  user-select: none;
}

.account-type-option:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.account-type-option.account-type-selected {
  border-color: var(--red);
  background: rgba(179,27,27,.04);
  color: var(--gray-900);
  box-shadow: 0 0 0 3px rgba(179,27,27,.08);
}

.account-type-option svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.account-type-option.account-type-selected svg {
  color: var(--red);
}

.account-type-label {
  font-size: .875rem;
  font-weight: 600;
  color: inherit;
}

.account-type-desc {
  font-size: .75rem;
  color: var(--gray-400);
}

.account-type-option.account-type-selected .account-type-desc {
  color: var(--gray-500);
}

@media (max-width: 480px) {
  .account-type-toggle { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DASHBOARD PAGE
═══════════════════════════════════════════════════════════════════════════ */
.dash-body {
  background: var(--gray-100);
  min-height: 100vh;
}

.dash-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 64px);
}

/* Sidebar */
.dash-sidebar {
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  padding: 2rem 1.5rem;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 1.75rem;
}

/* Avatar wrap (profile page only — enables change-photo overlay) */
.sidebar-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.sidebar-avatar-wrap .sidebar-avatar { margin-bottom: 0; }

.sidebar-avatar-change {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: var(--gray-600);
  transition: background .15s, color .15s;
}
.sidebar-avatar-change:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.sidebar-avatar {
  width: 72px;
  height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(179,27,27,.3);
  overflow: hidden;
}

.sidebar-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .25rem;
}

.sidebar-email {
  font-size: .8rem;
  color: var(--gray-500);
  word-break: break-all;
}
.sidebar-display-email-alt {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: .1rem;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .875rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}

.sidebar-nav-item:hover { background: var(--gray-100); color: var(--black); }
.sidebar-nav-item.active { background: rgba(179,27,27,.08); color: var(--red); font-weight: 600; }

.sidebar-nav-item svg { flex-shrink: 0; opacity: .7; }
.sidebar-nav-item.active svg { opacity: 1; }

.sidebar-spacer { flex: 1; }

.sidebar-signout {
  color: var(--gray-500);
  font-size: .875rem;
  margin-top: .25rem;
}
.sidebar-signout:hover { color: var(--red); background: rgba(179,27,27,.06); }

.sidebar-help {
  color: var(--gray-500);
  font-size: .875rem;
  text-decoration: none;
  margin-top: 1rem;
}
.sidebar-help:hover { color: var(--primary, #0070f3); background: rgba(0,112,243,.06); }

/* Add past position <details> */
.add-history-summary {
  cursor: pointer;
  font-size: .875rem;
  color: var(--gray-500);
  user-select: none;
  padding: .25rem 0;
}
.add-history-summary:hover { color: var(--black); }
.add-history-form { padding-top: .25rem; }

/* Main content */
.dash-content {
  padding: 2.5rem 2rem;
  overflow-y: auto;
}

.dash-content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.header-cta-btns {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
  padding-top: .25rem;
}

.header-cta-btn {
  font-size: .8rem !important;
  padding: .4rem .85rem !important;
  gap: .35rem !important;
}

/* Outlined Cornell-red button variant */
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-outline-red:hover {
  background: rgba(179,27,27,.06);
  border-color: var(--red);
}

/* ─── LinkedIn nudge banner ────────────────────────────────────────────────── */
.linkedin-nudge {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #e8f0fe;
  border: 1px solid #c5d6fb;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  margin-bottom: 1.5rem;
  color: #1a3a7a;
  font-size: .875rem;
}

.linkedin-nudge-text {
  flex: 1;
}

.linkedin-nudge-btn {
  white-space: nowrap;
  font-size: .8rem;
  padding: .35rem .85rem;
}

.linkedin-nudge-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  padding: .2rem;
  color: #4a6aaa;
  display: flex;
  align-items: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.linkedin-nudge-dismiss:hover {
  background: rgba(26,58,122,.1);
}

/* ─── Visiting Campus CTA button (toolbar) ──────────────────────────────────── */
.visit-cta-btn {
  white-space: nowrap;
  gap: .45rem;
}

/* ─── Visit form success state ───────────────────────────────────────────────── */
.visit-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.visit-success h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gray-900);
  margin: 0;
}
.visit-success p {
  color: var(--gray-500);
  max-width: 360px;
  margin: 0;
}

/* ─── Times checkboxes grid (2-col) ──────────────────────────────────────────── */
.visit-times-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
}

/* ─── Admin visits table cells ───────────────────────────────────────────────── */
.td-visit-times {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.td-visit-requests {
  font-size: .82rem;
  color: var(--gray-700);
  max-width: 260px;
  white-space: pre-wrap;
}

.dash-content-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .4rem;
}

.dash-content-subtitle {
  font-size: .9rem;
  color: var(--gray-500);
}


/* Directory tabs */
.dir-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--gray-100);
}
.dir-tab {
  background: none;
  border: none;
  padding: .65rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.dir-tab:hover { color: var(--gray-800); }
.dir-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 600;
}

/* Search & filters bar */
.dash-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

#search-input {
  padding-left: 2.75rem;
  border-radius: 999px;
  background: var(--white);
  border-color: var(--gray-200);
}

#year-filter {
  width: auto;
  min-width: 150px;
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.result-count {
  font-size: .85rem;
  color: var(--gray-500);
  white-space: nowrap;
  padding: 0 .25rem;
}

/* Alumni grid */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.alumni-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.alumni-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.alumni-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.25rem .875rem;
}

.alumni-avatar {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
}

.alumni-info { flex: 1; min-width: 0; }

.alumni-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alumni-title {
  font-size: .8rem;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alumni-year {
  font-family: var(--font-serif);
  font-size: .85rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(179,27,27,.08);
  padding: .25rem .6rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.alumni-card-body {
  padding: 0 1.25rem .875rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.alumni-meta {
  font-size: .8rem;
  color: var(--gray-600);
  display: flex;
  gap: .4rem;
}

.meta-label {
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .05em;
  min-width: 85px;
}

.alumni-bio {
  font-size: .825rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-top: .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.alumni-card-footer {
  padding: .6rem 1rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: .5rem;
}

/* Shared card action button (LinkedIn + Copy Email) */
.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  background: none;
}

/* LinkedIn — blue tint */
.card-btn-linkedin {
  color: #0A66C2;
  border-color: rgba(10,102,194,.2);
  background: rgba(10,102,194,.05);
}
.card-btn-linkedin:hover {
  background: rgba(10,102,194,.12);
  border-color: rgba(10,102,194,.35);
}

/* Copy Email — neutral */
.card-btn-copy {
  color: var(--gray-600);
  border-color: var(--gray-200);
  background: var(--gray-50);
}
.card-btn-copy:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--black);
}
/* Brief green flash after copy */
.card-btn-copied {
  color: #15803D !important;
  border-color: rgba(22,163,74,.3) !important;
  background: rgba(22,163,74,.08) !important;
}

/* ─── TOAST ──────────────────────────────────────────────────────────────── */
.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--black);
  color: var(--white);
  font-size: .875rem;
  font-weight: 500;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
  z-index: 999;
}

.copy-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.copy-toast-error {
  background: var(--red);
}

/* ─── CLICKABLE ALUMNI CARDS ─────────────────────────────────────────────── */
.alumni-card-clickable {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.alumni-card-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.alumni-card-clickable:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ─── PROFILE MODAL ──────────────────────────────────────────────────────── */
.pm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.profile-modal-inner {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 2rem;
  position: relative;
}

/* Header */
.pm-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.pm-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.alumni-avatar img,
.pm-avatar img,
.sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-header-info {
  flex: 1;
  min-width: 0;
}

.pm-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 0.15rem;
}

.pm-grad {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin: 0 0 0.2rem;
}

.pm-role {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0 0 0.2rem;
}

.pm-location {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pm-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: 2px;
  line-height: 1;
  flex-shrink: 0;
  border-radius: 6px;
}
.pm-close:hover { color: var(--black); background: var(--gray-100); }

/* Sections */
.pm-section {
  border-top: 1px solid var(--gray-100);
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.pm-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: 0 0 0.75rem;
}

.pm-bio {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
}

/* Badges */
.pm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pm-badge {
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
}

/* Actions row */
.pm-actions {
  border-top: 1px solid var(--gray-100);
  padding-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 540px) {
  .profile-modal-inner { padding: 1.5rem 1.25rem; }
  .pm-actions { flex-direction: column; }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-400);
  font-size: 1rem;
  padding: 4rem 0;
}

/* Skeleton loader */
.skeleton { pointer-events: none; }

.skeleton-block {
  background: var(--gray-200);
  animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: var(--gray-200);
  animation: shimmer 1.4s ease-in-out infinite;
  margin-bottom: .5rem;
}

.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-80 { width: 80%; }

@keyframes shimmer {
  0%   { opacity: 1; }
  50%  { opacity: .45; }
  100% { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PENDING / REJECTED STATUS PAGE
═══════════════════════════════════════════════════════════════════════════ */
.pending-body {
  background: var(--gray-100);
  min-height: 100vh;
}

.pending-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 2rem 1.5rem;
}

.pending-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem 3rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.status-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}

.status-icon-pending {
  background: rgba(234, 179, 8, .1);
  color: #B45309;
}

.status-icon-rejected {
  background: rgba(179, 27, 27, .08);
  color: var(--red);
}

.pending-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
}

.pending-body {
  font-size: .95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.pending-body a { color: var(--red); text-decoration: none; }
.pending-body a:hover { text-decoration: underline; }

.btn-outline-dark {
  background: transparent;
  color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
  padding: .65rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline-dark:hover { border-color: var(--gray-400); color: var(--black); }

/* ═══════════════════════════════════════════════════════════════════════════
   ADMIN PAGE
═══════════════════════════════════════════════════════════════════════════ */
.admin-body {
  background: var(--gray-100);
  min-height: 100vh;
}

.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.admin-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .35rem;
}

.admin-subtitle {
  font-size: .9rem;
  color: var(--gray-500);
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.admin-count-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  flex-shrink: 0;
}

.admin-count-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.admin-count-badge {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.admin-empty {
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 5rem 2rem;
  color: var(--gray-500);
  font-size: .95rem;
}

/* Table */
.admin-table-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.admin-table thead tr {
  border-bottom: 1.5px solid var(--gray-200);
}

.admin-table th {
  padding: .875rem 1.25rem;
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
}

.admin-table td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--gray-100);
}

.pending-row:last-child td { border-bottom: none; }

.pending-row { transition: background var(--transition); }
.pending-row:hover { background: var(--gray-50); }

.row-accepted { background: rgba(22, 163, 74, .07) !important; }
.row-rejected { background: rgba(179, 27, 27, .06) !important; }

.td-name-inner {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.table-avatar {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: .875rem;
  color: var(--white);
  flex-shrink: 0;
}

.td-fullname {
  font-weight: 700;
  color: var(--black);
  margin-bottom: .15rem;
}

.td-email {
  font-size: .775rem;
  color: var(--gray-500);
}

.td-grad {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--red);
  font-size: .9rem;
}

.td-company {
  font-weight: 600;
  color: var(--black);
  margin-bottom: .15rem;
}

.td-title {
  font-size: .8rem;
  color: var(--gray-500);
}

.td-location { color: var(--gray-600); }
.td-date { color: var(--gray-400); white-space: nowrap; }
.td-none { color: var(--gray-300, #D4D4D4); }

/* Badges */
.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  margin: .1rem .15rem .1rem 0;
  white-space: nowrap;
}

.badge-blue { background: rgba(59,130,246,.1); color: #1D4ED8; }
.badge-purple { background: rgba(139,92,246,.1); color: #6D28D9; }
.badge-alumni  { background: rgba(179,27,27,.08);  color: #B31B1B; }
.badge-student { background: rgba(16,185,129,.1);  color: #065F46; }
.badge-admin   { background: rgba(107,114,128,.12); color: #374151; }

/* Action buttons */
.td-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: nowrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .875rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.action-accept {
  background: rgba(22,163,74,.1);
  color: #15803D;
  border-color: rgba(22,163,74,.2);
}
.action-accept:hover:not(:disabled) {
  background: rgba(22,163,74,.18);
  border-color: rgba(22,163,74,.35);
}

.action-reject {
  background: rgba(179,27,27,.08);
  color: var(--red);
  border-color: rgba(179,27,27,.18);
}
.action-reject:hover:not(:disabled) {
  background: rgba(179,27,27,.14);
  border-color: rgba(179,27,27,.3);
}

.action-btn:disabled { opacity: .45; cursor: not-allowed; }

/* Skeleton reuse for admin table */
.skeleton-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .5rem 0;
}

/* ─── ADMIN SUB-NAV ──────────────────────────────────────────────────────── */
.admin-subnav {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: 0 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.admin-subnav-link {
  display: inline-flex;
  align-items: center;
  padding: .875rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}

.admin-subnav-link:hover { color: var(--black); }
.admin-subnav-link.active { color: var(--red); border-bottom-color: var(--red); }

/* ─── ADMIN SECTIONS ─────────────────────────────────────────────────────── */
.admin-section {
  margin-bottom: 3rem;
}

.admin-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.admin-section-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .25rem;
}

.admin-section-subtitle {
  font-size: .825rem;
  color: var(--gray-500);
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: .85rem;
}

/* ─── INLINE PANEL (Add Admin form) ─────────────────────────────────────── */
.inline-panel {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.inline-panel-fields {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.inline-panel-fields .form-group {
  flex: 1;
  min-width: 160px;
}

.inline-panel-actions {
  display: flex;
  gap: .75rem;
}

/* ─── ADMIN SEARCH ───────────────────────────────────────────────────────── */
.admin-search-wrap {
  position: relative;
  margin-bottom: 1rem;
  max-width: 380px;
}

.admin-search-wrap .search-icon {
  position: absolute;
  left: .875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.admin-search-input {
  width: 100%;
  padding: .65rem .875rem .65rem 2.5rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.admin-search-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179,27,27,.1);
}

/* ─── ROLE BADGES ────────────────────────────────────────────────────────── */
.role-badge {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}

.role-admin {
  background: rgba(22,163,74,.1);
  color: #15803D;
}

.role-removed {
  background: var(--gray-100);
  color: var(--gray-400);
}

.row-dimmed td { opacity: .55; }

.td-empty { text-align: center; padding: 2.5rem; color: var(--gray-400); font-size: .9rem; }
.td-na { color: var(--gray-400); font-size: .85rem; }

/* ─── MODAL ──────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 1.5rem;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in .2s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 0;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
}

.modal-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: .25rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.modal-close-btn:hover { color: var(--black); background: var(--gray-100); }

.modal-body {
  padding: 1.5rem 1.75rem;
}

.modal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal-checkboxes {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROFILE PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* Profile header card */
.profile-header-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.profile-header-avatar {
  width: 72px;
  height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(179,27,27,.25);
}

.profile-header-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .2rem;
}

.profile-header-role {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: .25rem;
}

.profile-header-email {
  font-size: .8rem;
  color: var(--gray-400);
}

/* Form section note */
.form-section-note {
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

/* Success message */
.success-msg {
  color: #15803D;
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.2);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .875rem;
}

/* ─── CAREER HISTORY TIMELINE ────────────────────────────────────────────── */
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.25rem;
}

/* Vertical connecting line */
.timeline-item:not(:last-child) .timeline-dot::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 14px;
  width: 2px;
  height: calc(100% - 2px);
  background: var(--gray-200);
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
}

.timeline-content { flex: 1; }

.timeline-role {
  font-size: .9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: .15rem;
}

.timeline-period {
  font-size: .78rem;
  color: var(--gray-400);
}

.timeline-delete {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-300, #d4d4d4);
  padding: .2rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: color var(--transition), background var(--transition);
}
.timeline-delete:hover { color: var(--red); background: rgba(179,27,27,.07); }

/* ─── CARD CAREER HISTORY ────────────────────────────────────────────────── */
.card-history {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--gray-100);
}

.card-history-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: .5rem;
}

.card-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.card-history-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .78rem;
  color: var(--gray-600);
}

.card-history-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300, #d4d4d4);
  flex-shrink: 0;
  margin-top: 5px;
}

.card-history-text { flex: 1; line-height: 1.4; }

.card-history-period {
  display: block;
  font-size: .72rem;
  color: var(--gray-400);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .landing-main { grid-template-columns: 1fr; }
  .landing-hero { padding: 3rem 2rem; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--gray-200); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav { padding: 0 1rem; }
  .signin-card { padding: 2rem 1.5rem; }
  .form-card { padding: 1.5rem; }
  .dash-content { padding: 1.5rem 1rem; }
  .form-footer { flex-direction: column; gap: 1rem; align-items: flex-start; }

  /* Compact landing hero on mobile so the sign-in card is visible above the fold */
  .landing-hero { padding: 1.5rem 1.5rem; }
  .landing-subheading { display: none; }
  .landing-eyebrow { margin-bottom: 0.4rem; }
  .landing-heading { font-size: 1.75rem; margin-bottom: 0; }

  /* Dashboard header CTA buttons: stack vertically, full width */
  .dash-content-header { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .header-cta-btns { flex-direction: column; width: 100%; }
  .header-cta-btn { width: 100%; justify-content: center; }

  /* LinkedIn nudge banner: stack vertically */
  .linkedin-nudge { flex-wrap: wrap; }
  .linkedin-nudge-text { width: 100%; }
  .linkedin-nudge-btn { width: 100%; text-align: center; justify-content: center; }
}
