/* =========================================================
   🎨 DESIGN TOKENS — Stage Colors (v1.2)
   These values drive seeker/recruiter application progress UI.
   Nothing else should reference raw hex stage colors going forward.
   ========================================================= */
:root {
  /* --- Stage Canonical Colors (Do Not Modify) --- */
  --color-stage-1: #55A9A7;
  --color-stage-2: #D9C263;
  --color-stage-3: #6FAF5C;
  --color-stage-4: #D98748;
  --color-stage-5: #9E5B69;
  --color-stage-6: #4A456B;

  /* --- Stage Banner Soft Variants (Background Use Only) --- */
  --banner-stage-1-bg: #e6f8f8;
  --banner-stage-2-bg: #fff6e0;
  --banner-stage-3-bg: #e8f5e6;
  --banner-stage-4-bg: #f6e9db;
  --banner-stage-5-bg: #f4e9ec;
  --banner-stage-6-bg: #e8e7f0;

  /* --- Special Cases: Terminal / Negative States --- */
  --banner-negative-bg: #fee2e2;
  --banner-negative-text: #b91c1c;
}


body {
  background: #f4f5f7;
  /*font-family: sans-serif;*/

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.jumbotron-welcome {
  background: #fff; padding: 1.1rem 1.6rem; margin-bottom: 1rem;
  border-radius: 0.8rem; box-shadow: 0 2px 14px rgba(40,60,70,0.04);
  text-align: center; font-size: 1.22rem; font-weight: 500; color: #22304b;
}
.jumbotron-welcome h2 { font-size: 2.1rem; font-weight: 700; color: #1d2e4a; }

.sliders-row {
  display: flex;
  flex-wrap: wrap;
  /*
  gap: 1rem;
  margin-bottom: 0rem;
  */
  margin-top:0.25rem;
  margin-bottom:0.25rem;
  gap: 0.5rem;
}

.slider-wrapper {
  flex: 1 1 calc(50% - 0.5rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 250px;
  
    margin-bottom: 0.25rem;    /* tighten vertical spacing */
}

@media (max-width: 576px) {
  .slider-wrapper {
    flex: 1 1 100%;
  }
}

.slider-wrapper input[type="range"] {
  flex: 1 1 auto;
  width: 100%;
}
.value-box {
  min-width: 120px; 
  background: #e8ecf3; /*#e6eaf7;/*#e5f0fa;*/ 
  color: #284085;/*#1d33ad;/*#0d6efd;*/
  border: 1px solid #284085;/*#1d33ad;/*#99b6e8; */
  border-radius: 0.4rem;
  padding: 4px 8px; 
  font-size: 0.9rem;
  /*font-size: 0.875rem; */
  text-align: center; 
  font-weight: 600;
  cursor: pointer;
  
    margin-bottom: 0.15rem;    /* reduces gap between value and slider */
 }
 
.value-box input {
  width: 100%;
  border: none;
  background: transparent;
  text-align: center;
  outline: none;
  font-weight: 600;
  color: #0d6efd;
}

.filters-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#keywordInput {
  flex: 1 1 auto;
  min-width: 0;
}

#sortSelect {
  flex: 0 0 auto;
  max-width: 200px;
  min-width: 150px;
}

@media (max-width: 576px) {
  .filters-bar {
    flex-direction: column;
        align-items: stretch;
  }

  #keywordInput,
  #sortSelect {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Only affects recruiter pages */
.recruiter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.recruiter-bar #sortSelect {
  flex: 0 0 auto;
  max-width: 200px;
  min-width: 150px;
}

/* Keep recruiter version always horizontal */
@media (max-width: 576px) {
  .recruiter-bar {
    flex-direction: row !important;
    align-items: center !important;
  }
}


.tombstone {
  background: #fff; padding: 1rem; margin-bottom: 0.75rem;
  border-radius: 0; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  
  border: 1px solid #e5e8f0;
  
}
.tombstone-title { display:inline; font-weight: 600; font-size: 1.1rem; }
.tombstone-meta { color: #6c757d; font-size: 0.875rem; margin-bottom: 0.5rem; }
.controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pagination-controls button {
  margin: 0 2px; padding: 2px 8px; font-size: 0.88rem;
}
.pagination-controls .active {
  font-weight: 600; background: #0d6efd; color: white; border: 1px solid #0a58ca;
}

.job-desc {
  font-size: 0.875rem;
  white-space: pre-line;
  line-height: 1.4;
}

.job-desc br {
  display: block;
  margin-bottom: 0.5em;
}

.job-desc br ~ br {
  display: none;
}


/*
@keyframes textPulse {
  0%   { color: #212529; }      /* default */
/*  50%  { color: #fd7e14; }      /* Bootstrap orange */
/*  100% { color: #212529; }
}
*/
/*
@keyframes textPulse {
  0%   { color: #212529; transform: scale(1); }
  40%  { color: #ff8b00; transform: scale(1.05); }
  100% { color: #212529; transform: scale(1); }
}

.pulse-animate {
  animation: textPulse 0.8s ease;
}
*/

@keyframes textPulse {
  0%   { color: #212529; transform: scale(1); }
  45%  { color: #ff8800; transform: scale(1.05); }
  100% { color: #212529; transform: scale(1); }
}

.pulse-animate {
  animation: textPulse 0.9s cubic-bezier(.25,.1,.25,1); /* ease but snappy */
  transform-origin: center;
}



/* Neutral track, no fill highlight */
input[type="range"] {
  appearance: none;
  background: transparent;
  width: 100%;
  height: 4px;
  background-color: #ced4da;
  border-radius: 2px;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: #ced4da;
  border-radius: 2px;
}

input[type="range"]::-moz-range-track {
  height: 4px;
  background: #ced4da;
  border-radius: 2px;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  height: 24px;
  width: 16px;
  /*border-radius: 50%;*/
  background: #0d6efd;
  cursor: pointer;
  margin-top: -7px;
  box-shadow: 0 0 0 2px #fff, 0 0 3px rgba(0,0,0,0.3);
  transition: box-shadow 0.2s;
}





input[type="range"]::-moz-range-thumb {
  height: 24px;
  width: 16px;
  /*border-radius: 50%;*/
  background: #1d33ad;/*#0d6efd;*/
  cursor: pointer;
  box-shadow: 0 0 0 2px #fff, 0 0 3px rgba(0,0,0,0.3);
  transition: box-shadow 0.2s;
}

input[type="range"]::-moz-range-thumb:hover,
input[type="range"]::-moz-range-thumb:focus,
input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-webkit-slider-thumb:focus {
  box-shadow: 0 0 0 3px rgba(13,110,253,0.4);
  background: #1d33ad;
}


.btn-teal {
  background-color: #188a89; /*#1fa1a0;*/
  color: white;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  padding: 0.45em 1em;
}
.btn-teal:hover,
.btn-teal:focus {
  background-color: #026b6a;
  color: #fff;
}

.add-update-btn {
  font-weight: 600;
}

.express-btn, .submit-profile-btn {
  background-color: #188a89; /*#1fa1a0;*/
  color: white;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  padding: 0.45em 1em;
}
.express-btn:hover, .submit-profile-btn:hover, 
.express-btn:focus, .submit-profile-btn:focus {
  background-color: #026b6a;
  color: #fff;
}

.express-btn-outline {
  background-color: #fff; /*#1fa1a0;*/
  color: #188a89;
  font-weight: 600;
  border: 1px solid #188a89;
  font-size: 1rem;
  padding: 0.45em 1em;
}
.express-btn-outline:hover,
.express-btn-outline:focus {
  background-color: #026b6a;/*#188a89;*/
  color: #fff;
}

.express-auth-btn {
  background-color: #188a89; /*#1fa1a0;*/
  color: white;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  padding: 0.45em 1em;
}
.express-auth-btn:hover,
.express-auth-btn:focus {
  background-color: #026b6a;
  color: #fff;
}

#smokyOverlay {
  /*
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 1.2rem;
  */
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(50, 50, 50, 0.8);
  z-index: 1030; /* below Bootstrap modal... */
  /* display: flex; WORKED BEFORE */
  /* display: none;            /* ← start hidden */
  display: flex;
  opacity: 1;
  
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}


#smokyOverlay.hide {
  opacity: 0;
  pointer-events: none;
}
#smokyOverlay .loading-content {
  display: flex;
  flex-direction: column;  /* 🔧 Stack items vertically */
  align-items: center;
  gap: 0.5rem;
}

#smokyOverlay .loading-text {
  color: #fff;
  font-size: 2rem;
  /*font-weight: 600;*/
  letter-spacing: 0.03em;
  text-shadow: 0 2px 16px #222, 0 0 2px #888;
  user-select: none;
}
#smokyOverlay .loading-funnel {
  font-size: 2.1rem;
  color: #fff;
  animation: funnelshake 0.65s cubic-bezier(.36,.07,.19,.97) infinite;
  text-shadow: 0 2px 16px #222, 0 0 2px #888;
  margin-left: 0.18rem;
  display: inline-block;
}
@keyframes funnelshake {
  0% { transform: rotate(0deg);}
  15% { transform: rotate(-15deg);}
  30% { transform: rotate(13deg);}
  45% { transform: rotate(-10deg);}
  60% { transform: rotate(8deg);}
  75% { transform: rotate(-5deg);}
  100% { transform: rotate(0deg);}
}


.loading-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #0d6efd;
}

.loading-funnel {
  animation: spin 1.2s linear infinite;
  font-size: 1.6rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.loading-sieve-orig{
  width: clamp(180px, min(100vw, calc(50vh * (168 / 186))), 560px);
  /*aspect-ratio: 168 / 186;*/
  height: auto;
  display: block;
}

.loading-sieve{
  width: clamp(180px, min(90vw, calc(30vh * (168 / 147))), 560px);
  aspect-ratio: 168 / 147;   /* optional but recommended */
  height: auto;
  display: block;
}


.loading-content { color: #fff; }   /* tints SVG + text */
.loading-sieve   { color: #fff; }   /* tints SVG only   */

@media (prefers-reduced-motion: reduce){
  .loading-sieve animate,
  .loading-sieve animateTransform,
  .loading-sieve animateMotion{ display:none; }
}


.job-desc { min-width: 0; } /* critical in flex/grid */

/* The actual one-line clamp used by both templates */
.job-desc.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* expanded = remove clamp entirely */
.job-desc.clamp.is-expanded{
  display:block;
  -webkit-line-clamp:unset;
}

.show-more-link-orig {
  color: #0d6efd;
  cursor: pointer;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.show-more-link{
  display:inline-block;
/*  margin-top:.25rem;*/
  font-size:.875rem;
  cursor:pointer;
  color:#0d6efd;
}
.show-more-link:hover{ text-decoration: underline; }



.btn-upload-resume {
  background: #1fa1a0;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.4rem;
}
.btn-upload-resume:hover,
.btn-upload-resume:focus {
  background: #178986;
  color: #fff;
}
.btn-upload-resume:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.resume-note {
  /*      font-size: 0.82rem;*/
  font-size: 0.9rem;
  /*      color: #6c757d;*/
  color: #505960;

  margin-top: 0.4rem;
}

/* #1fa1a0 */
.text-teal { color: #188b8a; }
.bg-teal { background: #188b8a; }

.job-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;   /* NEW */
  gap: 1rem;
  margin-top: 1rem;
}
.job-actions, .job-progress {
  flex: 1 1 100%;
}
/*
@media (min-width: 576px) {
  .job-actions, .job-progress {
    flex: 0 0 48%;
  }
}
*/
@media (min-width: 576px) {
  .job-actions, .job-progress {
    flex: 0 0 calc(50% - .5rem); /* half width minus half the gap */
  }
}

/* ..... */
.job-card .progress-bar-combined {
  filter: brightness(1.1) saturate(0.8); /* slightly lighter, softer */
  opacity: 0.9; /* less visual dominance than the job summary bar */
}




.progress-bar-combined {
  display: flex;
  flex-direction: row;
/*  justify-content: space-between;*/
  align-items: flex-start;
  overflow: hidden; /* Optional, prevents visual bleed */
}

.pb-segment {
  flex: 1;
  text-align: center;

  border-right: 1px solid #fff;
}

.pb-color {
  height: 0.5rem; /* 6px */
  width: 100%;
  display: block;
    transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;
}


/*
.pb-segment:focus-visible .pb-color {
  outline: 2px solid #004085;
  outline-offset: 2px;
}
*/


/* shared outline style */
.pb-color.pb-current {
  outline: 2px solid currentColor;
  outline-offset: -1px;
  box-shadow: 0 0 10px currentColor;
  transition: box-shadow 0.2s ease, outline-color 0.2s ease;
}

/* stage-specific glow hues (matches your palette) */
/* Active highlight (outline / emphasis) for each stage */
.pb-current-1 { color: var(--color-stage-1); }
.pb-current-2 { color: var(--color-stage-2); }
.pb-current-3 { color: var(--color-stage-3); }
.pb-current-4 { color: var(--color-stage-4); }
.pb-current-5 { color: var(--color-stage-5); }
.pb-current-6 { color: var(--color-stage-6); }


/* Only round the first and last */
.pb-segment:first-child .pb-color {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pb-segment:last-child .pb-color {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;

  border-right: none;
}


.pb-label {
/*  font-size:0.875rem;*/
  
  font-size: 0.8rem;
  text-align: center;
  display: block;
  white-space: nowrap;
}

.progress-bar-combined .pb-total {
  font-size: 1.1rem;/*0.875rem;*/
  font-weight: 400;
  color: #343a40; /* muted dark */
  margin-bottom: 0.20rem;/*0.15rem 0rem;/*4px;*/
  white-space: nowrap;
  /*  min-height: 1em; /* optional fallback spacing */
  display: block;
/*  min-height: 1.1em; /* ensures vertical spacing even if content is hidden */
/*  line-height: 1.1;*/
  min-height: 1em;            /* NEW: one line of vertical space */
  line-height: 1;             /* NEW: tighter, stable baseline */
  min-width: 3ch;             /* NEW: avoids horizontal jiggle (tweak if needed) */
  text-align: center;         /* NEW: centers digits nicely */
}



/* When empty, keep identical box size using an invisible placeholder */
/*
.progress-bar-combined .pb-total:empty::before {
  content: "";
  visibility: hidden;
}
*/

/* Optional: hide elements with 0 counts via class */
/*
.pb-total.zero {
  visibility: hidden;
}
*/


/* "Tweaked" palette for readability -- 8/21/2025 */
/* Updated to 1-6 vs 0-5 9/13/2025 */
/* Progress bar segment fills now reference stage tokens */
.pb-color-1 { background: var(--color-stage-1); }
.pb-color-2 { background: var(--color-stage-2); }
.pb-color-3 { background: var(--color-stage-3); }
.pb-color-4 { background: var(--color-stage-4); }
.pb-color-5 { background: var(--color-stage-5); }
.pb-color-6 { background: var(--color-stage-6); }


.invite-btn {
  background-color: #ffcc00;
  color: #000;
  font-weight: 600;
  border: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  font-size: 1rem;
  padding: 0.45em 1em;
  
  border-radius:0.5rem;
 /* transition: background-color 0.15s ease, box-shadow 0.15s ease;*/
}

.invite-btn:hover,
.invite-btn:focus {
  background-color: #e6b400; /* darker */
  color:#000;
  box-shadow: 0 0 8px 2px rgba(230, 180, 0, 0.45); /* bright yellow glow (material design yellow) */
/*  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.25);*/
}


.label-full {
  display: inline;
}
.label-short {
  display: none;
}

@media (max-width: 992px) {
  .label-full {
    display: none;
  }
  .label-short {
    display: inline;
  }
}

.top-bar {
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.75rem 0;
}
.top-bar .container {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

#paginationControls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: flex-end;
  
    min-height: 32px; /*36px*/
}

@media (max-width: 576px) {
  .controls-row {
    flex-direction: column;
    align-items: stretch;
  }

  #paginationControls {
    justify-content: space-between;
    width: 100%;
  }

  #paginationControls .btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }

  .pagination-controls .btn {
    padding: 0.25rem 0.01rem; /* reduce horizontal padding */
    font-size: 0.8rem;       /* slightly smaller text */
    white-space: normal;      /* allow wrap if necessary */

  }

}


/* Build profile */

label.form-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-panel, .preview-panel {
  flex: 1 1 480px;
  border-radius: 10px;
  padding: 1.5rem;
  background: transparent;
}

.form-panel h2, .preview-panel h2 {
  margin-top: 0;
}

.microcopy {
  font-size: 0.875rem;
  color: #555;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  padding-left: 0.25rem; /* or 0.5rem */
}

.section-divider {
  border-bottom: 3px solid #c3d3e9;
  width: 80%;
  margin: 1.5rem auto;
}


.keywin {
  font-size: 1rem;
  font-weight: 600;
  color: #166534; /*#2d7c45*/
/*  margin-bottom: 0.75rem;*/
  /*margin-left: 0.75rem; */
}

.skills, .meta, .certs, .badges {
  /* font-size: 1rem;
/*  margin-bottom: 0.75rem;*/
  /* margin-left: 0.75rem; */
}

.skills { color: #1e3a8a; }
.meta { color: #666; }
.certs { color: #a24c1e; }

.badges { display:flex; flex-wrap:wrap; gap:.35rem; }



/*
.badge {
  font-size: 0.8rem;
  padding: 2px 8px;
/*  border-radius: 9999px;*/
/*  display: inline-block;
  margin-right: 0.5rem;
}

.veteran { background: #dcfce7; color: #15803d; }
.disability { background: #dbeafe; color: #2563eb; }
.diversity { background: #fbcfe8; color: #9d174d; }

.badge.veteran { background: #dcfce7; color: #15803d; border: 1px solid #15803d; }
.badge.disability { background: #dbeafe; color: #2563eb; border: 1px solid #2563eb; }
.badge.diversity { background: #fbcfe8; color: #9d174d; border: 1px solid #9d174d; }
*/

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

.badge.veteran {
  background: #dcfce7;
  color: #15803d;
  border: 0px solid #15803d;
}

.badge.disability {
  background: #dbeafe;
  color: #2563eb;
  border: 0px solid #2563eb;
}

.badge.diversity {
  background: #fbcfe8;
  color: #9d174d;
  border: 0px solid #9d174d;
}

/* Consistency: ensure sizing/spacing stays uniform */
#preview-badges .badge {
  font-size: 0.75rem;
  padding: 4px 8px;
/*  border-radius: 6px; */
  font-weight: 600;
}


.app-badge {
  background: #0f8e8a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
  display: inline-block;
  position: relative;
  top: -1px; /* optical alignment with text baseline */
}

.app-badge-numonly {
  color: #0f8e8a;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  margin-left: 4px;
  display: inline-block;
  position: relative;
  top: -1px; /* optical alignment with text baseline */
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-wrapper .tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  position: absolute;
  bottom: 125%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  font-size: 0.75rem;
  z-index: 100;
  transition: opacity 0.2s;

      white-space: nowrap;
      max-width: none; 
      pointer-events: none; /* if flicker or cursor jump observed */
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


.preview-panel h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: normal;
}

.checkbox-group {
  margin: 1rem 0;
}

.checkbox-group label {
  font-weight: normal;
  display: inline-block;
  margin-right: 1rem;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  padding: 1.25rem;
  word-wrap: break-word;
  
    border-top: none !important;
}

.name {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.headline {
  font-size: 1rem;
  font-style: italic;
  color: #444;
/*  margin-bottom: 0.4rem;*/
}

.headline-count {
  /*color: #6b7280; /* muted gray */
  font-weight: 500;
}

.panel {
  border-radius: 10px;
  padding: 1.5rem;
}

@media (max-width: 576px) {
  .panel {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}



.preview-panel .card {
  padding: 1rem 1.25rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  font-size: 0.95rem;
  line-height: 1.5;
}

.preview-panel .skills {
  color: #284085;
  margin-bottom: 0.5rem;
}

.preview-panel .meta {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.preview-panel .certs {
  color: #804000;
  margin-bottom: 0.5rem;
}

/*
.preview-panel .certs::before {
  content: "Certifications: ";
  font-weight: 500;
  color: #444;
}

.preview-panel .badges {
  margin-top: 0.75rem;
}

.preview-panel .badge {
  display: inline-block;
  background-color: #e5f3ea;
  color: #166534;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}
*/
.exp-certs-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.exp-certs-group > .form-group {
  flex: 1;
}
.exp-certs-group > .form-group.certs {
  flex: 2;
}
@media (max-width: 576px) {
  .exp-certs-group {
    flex-direction: column;
  }
}

.exp-loc-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.exp-loc-group > .form-group {
  flex: 1;
}
.exp-loc-group > .form-group.loc {
  flex: 2;
}
@media (max-width: 576px) {
  .exp-loc-group {
    flex-direction: column;
  }
}


.error-msg {

  font-size:0.9rem;
  color:#dc3545;
  font-weight:600;
  padding-left:1rem;
  display:none;

}


.tab-link {
  cursor: pointer;
  padding-bottom: 0.4rem;
  font-weight: 500;
  text-decoration: none;
}

.tab-link.active {
  color: var(--bs-primary);
  border-bottom: 4px solid var(--bs-primary);
}

.tab-link.inactive {
  color: #6c757d;
  border-bottom: 4px solid transparent;
}


.preview-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.5rem;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.edit-icon {
  color: #888;
  margin-left: 0.5rem;
}

.edit-icon:hover {
  color: #000;
  cursor: pointer;
}

.edit-line {
  margin-top: 0.5rem;
}

/*
.logo-img {
  filter: grayscale(0%);
}
*/
/*
.logo-img {
/*  filter: grayscale(80%) brightness(1.1);*/
    /*filter: contrast(1.2) brightness(1.05);*/
    /*
    filter: brightness(0.95) contrast(1.1);
  opacity: 0.85;
    border: 0px solid #ccc;
  background: #fff;
   /* box-shadow: 0 0 3px rgba(0,0,0,0.15);*/
   /*
}
*/

.job-card img {
  filter: saturate(0.75) contrast(1.1);
  mix-blend-mode: multiply; /* helps overly bright ones blend in */
  max-height: 60px;
  object-fit: contain;
}


.logo-img {
  /*opacity: 0.35; /* placeholder intentionally faint */
  filter: saturate(0) brightness(1.1); /* subtle grayscale for placeholder */
  transition: opacity .25s ease, filter .25s ease;
    content-visibility: auto;
}

.logo-img[data-loaded="1"] {
  opacity: 1;
  filter: none; /* real logo full color */
}

.logo-img:hover {
  opacity: 1;
  filter: none;
}


/* GOLF: reserve a 60px logo column without touching markup */
.tombstone > div[style*="display: flex"]{
  display: grid !important;
  grid-template-columns: 60px 1fr;  /* logo | everything else */
  gap: 1rem;
  align-items: start;
}

/* Logo occupies the fixed column from first paint (prevents the kick) */
.tombstone > div[style*="display: flex"] > img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* Let the right column actually shrink on small screens */
.tombstone > div[style*="display: flex"] > div {
  min-width: 0;
}

/* Progress column + bar: ensure they never overflow */
/*.job-actions, .job-progress { min-width: 0; }
*/

.job-progress-legend { min-width: 100%; }
.job-progress { width: 100%; overflow: hidden; }
.progress-bar-combined { display: flex; width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; }
.progress-bar-combined .pb-segment { flex: 1 1 0 !important; min-width: 0; text-align: center; } /* override any earlier flex:1 */

/* Legend (job-level) bar: always fully opaque */
.job-progress .pb-color { opacity: 1; }

/* Candidate bars: default faded until we “fill where exists” */
.job-progress-candidate .pb-color { opacity: 0.15; }


.job-progress-candidate { min-width: 100%; width: 100%; overflow: hidden; }

/* Labels truncate on narrow screens */
.pb-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Keep any absolutely-positioned badges inside the actions area */
.job-actions { position: relative; }


:root{ --upd-col-date: 12ch; --upd-col-stage: 16ch; }
.tombstone .updates-list{ display:flex; flex-direction:column; }
.tombstone .update-row{
  display:grid;
  grid-template-columns: var(--upd-col-date) var(--upd-col-stage) 1fr;
  column-gap:.75rem;
  align-items:baseline;
  padding:4px 0;
  border-bottom:1px solid #f1f1f1;
  font-size:.875rem;
  font-variant-numeric: tabular-nums;
}
.tombstone .update-row:last-child{ border-bottom:0; }
.tombstone .update-date{ color:#666; }
.tombstone .update-stage{ font-weight:500; }
.tombstone .update-note{ color:#444; }



/* Single-line truncation for job description */
.clamp-one {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



/* Ensure the right column can shrink in the 60px|1fr grid */
.tombstone > div[style*="display: flex"] > div { min-width: 0; }  /* already added in GOLF, keep it */



/* Employer / Salary / Location (primary decision driver) */
.job-title {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

/* Metadata (if separated) */
.job-meta {
  font-size: 0.875rem;
  color: #6c757d;
}


/* Make the description itself shrink + ellipsize within its column */
/* Keep .job-desc flexible; no forced nowrap */
.job-desc {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Safety: the card clips any 1–2px bleed on tiny screens */
.tombstone { overflow: hidden; }



/* Updates table: clean, faint dividers */
.updates-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.updates-table thead th {
  color: #6b7280;            /* muted */
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
}
.updates-table tbody td {
  vertical-align: baseline;
  border-top: 1px solid #f1f1f1;  /* faint gray lines */
  word-wrap: break-word;
  overflow-wrap: anywhere;           /* long notes won’t blow layout */
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Date cell with colored stage dot */
.stage-dot {
  display: inline-block;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  margin-right: .5rem;
  vertical-align: middle;
}

/* ---------------------------------------------------------
   Stage Dot Indicators — Tokenized (v1.2 Final Palette)
   These values match the progress-bar palette and are used
   anywhere a compact status marker is needed (tables, cards,
   recruiter dashboards, etc.)
   --------------------------------------------------------- */

/*.dot { opacity: .9; } /* completed */
/*.dot.future { opacity: .5; } /* not reached yet */
/*.dot.current { opacity: 1; transform: scale(1.1); }
*/

.dot {
  border: 1px solid rgba(0,0,0,0.15);
}


.dot-1,
.dot-interested {
  background-color: var(--color-stage-1);
}

.dot-2,
.dot-invited {
  background-color: var(--color-stage-2);
}

.dot-3,
.dot-applied {
  background-color: var(--color-stage-3);
}

.dot-4,
.dot-interviewed {
  background-color: var(--color-stage-4);
}

.dot-5,
.dot-offered {
  background-color: var(--color-stage-5);
}

.dot-6,
.dot-accepted {
  background-color: var(--color-stage-6);
}

/* Withdrawn stays a special-case semantic color (not in the palette). */
.dot-withdrawn {
  background-color: #ef4444; /* ERROR/NEGATIVE */
}


/* Action icons/links column */
.updates-table td.actions,
.updates-table th.actions { width: 40px; text-align: right; }

/* Make notes wrap on narrow screens while date/status stay single-line */
@media (max-width: 576px){
  .updates-table tbody td:nth-child(3) { white-space: normal; }
}


#smokyOverlay { z-index: 1030; }   /* below modal stack */
.modal-backdrop { z-index: 1050; }
.modal { z-index: 1055; }


/* Only apply on desktop so mobile stacks stay natural */
@media (min-width: 576px){
  .job-actions-row{ align-items: stretch; }        /* let columns match heights */
  .job-actions{ display: flex; flex-direction: column; }
  .job-actions .add-update-btn{ margin-top: auto; } /* push button to bottom */
}
@media (min-width: 576px){
  .job-actions-row { align-items: stretch; }         /* columns same height */
  .job-actions { display:flex; flex-direction:column; align-items:flex-start; }
  .job-actions .add-update-btn { margin-top:auto; align-self:flex-start; width:auto; }
}


/* Desktop defaults */
.updates-table thead th:nth-child(1),
.updates-table thead th:nth-child(2),
.updates-table tbody td:nth-child(1),
.updates-table tbody td:nth-child(2){ white-space:nowrap; }

/* Mobile: hide Note (3rd col) */
@media (max-width: 576px){
  .updates-table col:nth-child(3),
  .updates-table thead th:nth-child(3),
  .updates-table tbody td:nth-child(3){
    display:none;
  }
}



.tombstone { position: relative; }
.tombstone { position: relative; }               /* keep */
.card-actions { position:absolute; top:.5rem; right:.5rem; z-index:2; }

.icon-btn { border:0; background:transparent; padding:.25rem;
            width:2rem; height:2rem; display:grid; place-items:center;
            color:#6c757d; border-radius:.375rem; }
.icon-btn:hover, .icon-btn:focus { color:#212529; }

/* Make the popover look like a menu */
.popover-menu .popover-body { padding: .25rem 0; }
.popover-menu .list-group-item { padding: .375rem .75rem; font-size:.9rem; }
.popover-menu .dropdown-divider { height:0; border-top:1px solid rgba(0,0,0,.1); }


.tombstone.removing { transition: opacity .18s ease, transform .18s ease; opacity: 0; transform: translateY(-6px); }


/* purely cosmetic */
tr.is-pending { opacity:.85 }
tr.is-pending .delete-update { opacity:.6; pointer-events:none; }




/* from index.php */
    /* Popover comfy on phones */
    @media (max-width: 575.98px){
      .popover{
        max-width: min(94vw, 380px);
        width: auto;
      }
      .popover .btn{ min-height:44px; }
    }
    /* Mobile modal fix: footer stays visible, body scrolls */
    @media (max-width: 576px) {
      #editModal .modal-dialog {
        margin: 0;
        max-width: 100%;
      }
      #editModal .modal-content {
        display: flex;
        flex-direction: column;
        height: 100dvh;
      }
      #editModal .modal-header,
      #editModal .modal-footer {
        flex: 0 0 auto;
      }
      #editModal .modal-body {
        flex: 1 1 auto;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
      }
    }

  .card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
    display: block;
  }


/* keep the link snug with the title; let it wrap under on very narrow screens */
/*.tombstone-title + .apply-link { margin-left: .5rem; white-space: nowrap; }
@media (max-width: 576px) {
  .tombstone-title + .apply-link { white-space: normal; } /* allow wrap if needed */
/*}*/

/* keep the title and link on the same line */
.job-card .tombstone-title { display:inline; margin-right:.5rem; line-height:1.1; }
.job-card .tombstone-title + .apply-link {
  display:inline-flex; gap:.25rem; white-space:nowrap; vertical-align:baseline;
}
.apply-link { position: relative; z-index: 3; pointer-events: auto; }



.autocomplete-dropdown {
  position: absolute;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  background: white;
  border: 1px solid #ccc;
  width: 200px;
  font-size: 0.875rem;
}
.autocomplete-dropdown div {
  padding: 4px 8px;
  cursor: pointer;
}
.autocomplete-dropdown div:hover {
  background-color: #e9ecef;
}

.autocomplete-item {
  padding: 4px 8px;
  cursor: pointer;
}
.autocomplete-item:hover {
  background-color: #f0f0f0;
}

.autocomplete-item.active {
  background-color: #cce5ff;
}

.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  z-index: 1000; /* <-- Ensure it's on top */
  max-height: 200px;
  overflow-y: auto;
  
  /* debug :)  outline: 1px dashed red; */
}



.dark body {
  background: #121212;
  color: #eee;
}

.dark input[type="text"],
.dark input[type="email"] {
  background: #1e1e1e;
  color: #eee;
  border-color: #444;
}

/* Optional: adjust links, buttons, etc. */
.dark a { color: #80d4ff; }
.dark button { background: #2d2d2d; color: white; }


.action-buttons {
  display: flex;
  gap: 0.5rem; /* space between the two buttons */
  flex-wrap: wrap; /* keeps them stacking on narrow screens */
}


/* Outline style */
.btn-outline-application {
  color: #52ae32;
  border-color: #52ae32;
  font-weight: 600;
}

.btn-outline-application:hover {
  color: #fff;
  background-color: #52ae32;
  border-color: #52ae32;
}

.btn-outline-application:focus,
.btn-outline-application.focus {
  box-shadow: 0 0 0 0.25rem rgba(82, 174, 50, 0.5);
}

.btn-outline-application:disabled,
.btn-outline-application.disabled {
  color: #52ae32;
  background-color: transparent;
  opacity: 0.65;
}

.btn-outline-application:not(:disabled):not(.disabled):active,
.btn-outline-application:not(:disabled):not(.disabled).active,
.show > .btn-outline-application.dropdown-toggle {
  color: #fff;
  background-color: #449229;
  border-color: #449229;
}

.btn-outline-application:not(:disabled):not(.disabled):active:focus,
.btn-outline-application:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-application.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(82, 174, 50, 0.5);
}


/* Solid style */
.btn-application {
  color: #fff;
  background-color: #178582;
  border-color: #52ae32;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  padding: 0.45em 1em;
}

.btn-application:hover {
  color: #fff;
  background-color: #126c69; /* slightly darker teal */
  border-color: #469a2b;     /* darker green */
}

.btn-application:focus,
.btn-application.focus {
  color: #fff;
  background-color: #126c69;
  border-color: #469a2b;
  box-shadow: 0 0 0 0.2rem rgba(23, 133, 130, 0.5);
}

.btn-application:disabled,
.btn-application.disabled {
  color: #fff;
  background-color: #b5d5d4; /* desaturated teal */
  border-color: #b5d5d4;
  opacity: 0.65;
}

.btn-application:not(:disabled):not(.disabled):active,
.btn-application:not(:disabled):not(.disabled).active,
.show > .btn-application.dropdown-toggle {
  color: #fff;
  background-color: #3a7a22; /* even darker */
  border-color: #3a7a22;
}

.btn-application:not(:disabled):not(.disabled):active:focus,
.btn-application:not(:disabled):not(.disabled).active:focus,
.show > .btn-application.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(82, 174, 50, 0.5);
}

.btn-application-outline {
  font-size: 0.95rem;
  font-weight: 500;
  color: #145c3a;
  background-color: #f4fcf7; /* subtle surface */
  border: 1.75px solid rgba(22, 101, 52, 0.65);
  border-radius: 0.4rem;
  padding: 0.35rem 0.875rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.btn-application-outline:hover {
  background-color: #e6f4ea;
  border-color: rgba(22, 101, 52, 0.75);
  color: #0b4724;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* focus (keyboard users + accessibility) */
.btn-application-outline:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(22, 101, 52, 0.25);
}

/* disabled (same contrast but muted) */
.btn-application-outline:disabled,
.btn-application-outline[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: transparent;
  color: #6c757d; /* Bootstrap’s gray tone */
  border-color: rgba(108, 117, 125, 0.4);
}




/* Solid blue update button */
.btn-update {
  color: #fff;
  background-color: #1d48a6;/*#1d4ed8;*/
  border-color: #1d4ed8;
  font-weight: 600;
}

.btn-update:hover {
  color: #fff;
  background-color: #1e40af; /* darker shade */
  border-color: #1e40af;
}

.btn-update:focus,
.btn-update.focus {
  color: #fff;
  background-color: #1e40af;
  border-color: #1e40af;
  box-shadow: 0 0 0 0.25rem rgba(29, 78, 216, 0.5);
}

.btn-update:disabled,
.btn-update.disabled {
  color: #fff;
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  opacity: 0.65;
}

.btn-update:not(:disabled):not(.disabled):active,
.btn-update:not(:disabled):not(.disabled).active,
.show > .btn-update.dropdown-toggle {
  color: #fff;
  background-color: #1e3a8a; /* even deeper */
  border-color: #1e3a8a;
}

.btn-update:not(:disabled):not(.disabled):active:focus,
.btn-update:not(:disabled):not(.disabled).active:focus,
.show > .btn-update.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(29, 78, 216, 0.5);
}


/* Outline blue update button */
.btn-outline-update {
  color: #1d4ed8;
  border-color: #1d4ed8;
  font-weight: 600;
}

.btn-outline-update:hover {
  color: #fff;
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-outline-update:focus,
.btn-outline-update.focus {
  box-shadow: 0 0 0 0.25rem rgba(29, 78, 216, 0.5);
}

.btn-outline-update:disabled,
.btn-outline-update.disabled {
  color: #1d4ed8;
  background-color: transparent;
  opacity: 0.65;
}

.btn-outline-update:not(:disabled):not(.disabled):active,
.btn-outline-update:not(:disabled):not(.disabled).active,
.show > .btn-outline-update.dropdown-toggle {
  color: #fff;
  background-color: #1e40af;
  border-color: #1e40af;
}

.btn-outline-update:not(:disabled):not(.disabled):active:focus,
.btn-outline-update:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-update.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(29, 78, 216, 0.5);
}

/*
.who-panel[hidden] {
  display: none;
}
*/

.who-inner .bi {
/*  vertical-align: text-bottom; */
/*  font-size: 1rem;*/
 /* color: #888;*/
}


/* ✅ Subtle typographic smoothing for card lower sections */
.card .btn {
  font-size: 0.9375rem;     /* bring button text down slightly */
  line-height: 1.3;
}

.card .add-update-link {
  font-size: 0.9rem;        /* harmonize with table text */
  font-weight: 500;         /* enough to read as action */
}

.card .updates-table td {
  font-size: 0.875rem;      /* body rhythm for entries */
  line-height: 1.35;
}


/* remove "halo"
.btn-update:focus,
.btn-outline-update:focus {
  box-shadow: none;
  outline: none;
}
*/
  @media (max-width: 575.98px) { /* Bootstrap "xs" breakpoint */
    .btn-full-mobile {
      min-width: 100%;
    }
  }
  
  @media (min-width: 576px) {
  .candidate-actions .btn {
    flex: 0 0 50%;
  }
}


@media (max-width: 576px) {
  .invite-btn {
    width: 100%;
    display: block;
  }
  .pass-btn {
    display: inline-block;
    margin-top: 0.5rem;
  }
}

/* Desktop & general default */
.progress-container {
  margin-bottom: 0.75rem; /* provides breathing room between progress and content below */
}

/* Mobile-specific refinement */
@media (max-width: 576px) {
  .progress-container {
    margin-bottom: 1rem; /* slightly extra space for clarity and touch comfort */
  }
}


/* Tabs container */
.nav-tabs-container {
  position: relative;
}

.nav-tabs-wrapper {
  margin-bottom: 0rem;
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.nav-tabs-wrapper::-webkit-scrollbar { display: none; }

.nav-tabs {
  border: none;
  gap: 1.5rem;
  margin-bottom: -1px;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-tabs .nav-link {
  border: none;
  border-radius: 0;
  background: transparent !important;
  color: rgba(0, 0, 0, 0.25);
  min-width: 140px;
  max-width: 200px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.75rem 0;
  display: inline-block;
  transition: color 0.2s ease;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
}
.nav-tabs .nav-link:hover { color: #0f3d3c; }
.nav-tabs .nav-link.active { color: #0f3d3c; }

.nav-tabs::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: #e6e9ec;
  z-index: 0;
}

.nav-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  max-width: 200px;
  height: 3px;
  background-color: #1fa1a0;
  border-radius: 2px;
  border-bottom: 5px solid #1fa1a0;
}

/* Make active tab underline merge into card pane */
.nav-tabs .nav-link.active {
  border-bottom: 3px solid #1fa1a0; /* teal */
  margin-bottom: -1px; /* overlaps the pane edge */
}

/* Remove nav-tabs bottom border */
.nav-tabs {
  border-bottom: none !important;
}

/* Ensure active tab sits flush */
.nav-tabs .nav-link.active {
  border: none !important;
  border-bottom: 3px solid #1fa1a0 !important; /* teal underline only */
  margin-bottom: -3px; /* visually pulls underline into card pane */
}

/* Remove residual line */
.nav-tabs .nav-link {
  border: none !important;
}

/* Pseudo-tab styled as nav-link */
.pseudo-tab {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  line-height: normal;
  padding: 0.75rem 0;
  min-width: 140px;
  max-width: 200px;
  text-align: center;
  color: #1fa1a0;
  text-decoration: none;
  border: none;
  background: transparent;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
  padding-top: calc(0.75rem + 1px);
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 5px solid transparent;
}
.pseudo-tab:hover {
  color: #178c8b;
  border-bottom: 5px solid rgba(31,161,160,0.4);
  text-decoration: none;
}


/* Description card */
.desc-card {
  background: #fff;
  border-radius: .75rem;
  border: 1px solid #e9edf0;
  padding: 1.5rem;
  margin-top: 0rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Candidate card (border-none variant, preserved) */
.candidate-card {
  border: none;
  border-radius: .75rem;
}


/* Reduce line prominence */
.tabs-divider, hr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* softer than full gray */
  margin-bottom: 0; /* reduce gap */
  
    border: none !important;
    height: 0;
}


/* Flatten top of candidate card container */
.candidate-card-container {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0; /* no gap */
}

/* Remove top border on card pane */
.candidate-card-container {
  border-top: none !important;
  box-shadow: none;
}


/* Announcement card */
.announcement-card {
  background: linear-gradient(90deg,#e8fff2 0%,#e8fff2 100%); /* #fff9e2 */
      border: 1px solid rgba(31,161,160,0.65);
    border-right: 3px solid rgba(31,161,160,0.65);
  border-bottom: 3px solid rgba(31,161,160,0.65);
  box-shadow: 0 4px 10px rgba(31,161,160,0.15);
  border-radius: .75rem;
  padding: 1.25rem;
  margin-top: 1.5rem;
  animation: floatIn 0.6s ease-out;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.recruit-hero {
  margin: 0 auto 2rem auto;
  padding: 0 1rem 0 1rem;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--color-stage-1);
}


.recruit-hero h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.recruit-hero p {
  font-size: 1.15rem;
  line-height: 1.45;
  margin: 0;
  color: #444;
  max-width: 720px; /* keeps the readable line measure */
}

@media (max-width: 480px) {
  .recruit-hero h1 {
    font-size: 1.65rem;
    font-weight: 600;
  }
}


/* Scroll buttons */
.scroll-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #f6f7f9 60%, transparent);
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  z-index: 1;
}
.scroll-btn:hover { opacity: 1; }
.scroll-left { left: 0; }
.scroll-right {
  right: 0;
  background: linear-gradient(to left, #f6f7f9 60%, transparent);
}
.scroll-btn i { font-size: 1.25rem; }



/* Add top-level spacing rhythm */
.candidate-status { margin-bottom: 0.35rem; }   /* Status to meta */
.candidate-meta { margin-bottom: 0.5rem; }      /* Meta to summary */
.preview-headline { margin-bottom: 0.25rem !important; }  /* Narrative to key win */
.preview-keywin { margin-bottom: 0.75rem !important; }    /* Key win to divider */

/* Improve vertical rhythm and readability */
.candidate-status {
  margin-bottom: 0.4rem !important;   /* Space between status and meta */
}

.candidate-meta {
  margin-bottom: 0.6rem !important;   /* Slightly more breathing room before narrative */
}

.preview-keywin {
  margin-bottom: 0.55rem !important;  /* Clear space above divider */
}

.candidate-divider {
  border: none !important;                /* reset any Bootstrap or custom overrides */
  border-top: 1px solid rgba(0, 0, 0, 0.15) !important;

}

/* Notification badge styling */
.tab-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 200px; /* set desired tab width */
}

.tab-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  min-width: 0; /* allows ellipsis to shrink properly */
}

.notif-badge {
  flex-shrink: 0; /* don't allow badge to be truncated */
  margin-left: 0.5rem;
  background-color: #1fa1a0;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  line-height: 1;
}


.pb1 { background: #1fa1a0; } /* Expressed */
.pb2 { background: #e6b400; } /* Invited */
.pb3 { background: #52ae32; } /* Applied */
.pb4 { background: #ee7203; } /* Interview */
.pb5 { background: #8c2c45; } /* Offered */
.pb6 { background: #221657; } /* Accepted */

.pb-inactive {
  opacity: 0.15;
}


#updateModal.modal.show {
  opacity: 1 !important;
  visibility: visible !important;
}


.application-url-block {
  margin-top: 1rem;
}

.btn-outline-primary.btn-sm {
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
}


.indented-text {
  display: block;
  padding-left: 1.5em;     /* Matches icon + spacing */
  text-indent: -1.5em;
}

.text-indent-fix {
  padding-left: 0.25rem;
  text-indent: -0.25rem;
}

/* === Recruiter candidate list / filter styles === */

/* Tighten vertical rhythm and whitespace */
#filterBar .form-control,
#filterBar .form-select {
  min-width: 120px;
}

/* Visual boost style for matches */
.card.boosted {
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.35);
  transition: box-shadow 0.2s ease;
}

.card.dimmed {
  opacity: 0.55;
}

/* Responsive filter bar stacking */
@media (max-width: 576px) {
  #filterBar input,
  #filterBar select {
    flex: 1 1 100%;
    max-width: 100% !important;
  }
}





.candidate-progress .progress-container.small-bar {
  height: 12px;
  margin-bottom: 0.25rem;
}

.candidate-progress .pb-segment {
  flex: 1;
  position: relative;
}

.candidate-progress .pb-color {
  height: 100%;
  border-radius: 2px;
  transition: opacity 0.25s ease;
}

.candidate-progress .pb-label {
  display: none; /* keep clean and compact for per-candidate bar */
}


/* accessibility (tab-based navigation) */
.pb-segment:focus-visible .pb-color {
  outline: 2px solid #004085;
  outline-offset: 2px;
}
.pb-color[style*="opacity: 0.2"] {
  opacity: 0.25 !important;
  filter: saturate(40%) brightness(110%);
 /*   filter: saturate(0.75) contrast(1.1);*/
}


.saving-row {
  transition: opacity 0.2s ease;
}
.saving-row.opacity-50 {
  opacity: 0.5;
}


.dropdown-menu .active {
  background-color: #e5f7f6 !important;
  color: #0b525b !important;
}

.recruit-job-dropdown > button {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.recruit-job-dropdown .dropdown-item:hover,
.recruit-job-dropdown .dropdown-item:active {
  background: none !important;
}

.status-banner-interested {
  display: inline-flex;
  align-items: center;
  background: #e6f8f8;
  color: #188b8a;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 0px solid #188b8a; /* 1px */
  border-radius: 0;
}

.status-banner-interested .undo {
  font-size: 0.75rem;
  color: #0d6efd;
  text-decoration: none;
}

.status-banner-interested .undo:hover {
  text-decoration: underline;
}


.status-banner-invited {
  display: inline-flex;
  align-items: center;
  background: #fff6e0;
  color: #b36a00;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem; /* subtle -- orig. 6px */
  font-weight: 600;
  font-size: 0.9rem;
  border: 0px solid #b36a00;
  border-radius: 0;
    gap: 0.25rem;
}

.status-banner-invited .undo {
  font-size: 0.75rem;
  color: #0d6efd;
  text-decoration: none;
}

.status-banner-invited .undo:hover {
  text-decoration: underline;
}

.status-banner-passed {
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 600;
  padding: .25rem .5rem;
  border-radius: 4px;
  display: inline-block;
}
.status-banner-passed a.undo {
  color: #444;
  font-weight: normal;
  font-size: 0.875rem;
}

.status-banner-archived {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background-color: #f3f4f6; /* light gray */
  color: #4b5563;           /* neutral gray text */
  border: 1px solid #e5e7eb;
}

.candidate-archived {
  opacity: 0.85; /*0.92             /* very slight fade, optional */
  filter: grayscale(0.3);
}

.recprev {
  margin-bottom: 0.4rem !important;
}

/* ------------------------------------------------------------ */
/* Base row behavior (collapsed by default)                     */
/* ------------------------------------------------------------ */
.preview-row {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

/* Icon alignment stays */
.preview-row > i {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Expanded state */
.preview-row.visible {
  max-height: 500px;
  opacity: 1;
  overflow: visible;
}

/* Hidden state */
.preview-row[hidden] {
  display: none !important;
  max-height: 0;
  opacity: 0;
}

/* Skills row keeps its different easing/timing — nothing else 
#preview-row-skills {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}
*/

/* Always-visible version of preview-row (for recruiter SSR) */
.preview-row-static {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35rem;
  overflow: visible;
  max-height: none;
  opacity: 1;
}

/* Icon alignment just like preview-row */
.preview-row-static i {
  flex-shrink: 0;
  margin-top: 2px;
}


.preview-text {
  flex: 1;
  line-height: 1.4;
  text-indent: 0;
}

.info-icon {
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 6px;
  opacity: 0.6;
}

.info-icon:hover {
  opacity: 1;
}

.info-icon[data-tooltip] {
  position: relative;
}

.info-icon[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -36px;
  left: 0;
  white-space: nowrap;
  background: #1a1e2d;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1.2;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tooltip-icon {
  font-size: 0.9rem;
  margin-left: 0px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease;
  vertical-align: middle;
}

.tooltip-icon:hover {
  opacity: 1;
}

.tooltip-icon[data-tooltip] {
  position: relative;
}

.tooltip-icon[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -40px;
  left: 0;
  white-space: nowrap;
  background: #1a1e2d;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  line-height: 1.2;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-style: normal; /* ← this fixes the italics */
}

/*
#editModal .preview-row {
  transition: all 180ms ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}
#editModal .preview-row.visible {
  max-height: 200px; /* auto animation workaround */
/*  opacity: 1;
}
*/

/* ------------------------------------------------------------ */
/* Edit modal variant (inherits behavior but can animate faster) */
/* ------------------------------------------------------------ */
#editModal .preview-row {
  transition: all 200ms ease;
}

#editModal .preview-row.visible {
  max-height: 500px;
  opacity: 1;
}

.navbar {
    z-index: 9999; /* above any pesky alerts */
}

.fade-in {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

/* Global standardized metadata formatting */
.profile-row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.35;
  margin-top: 4px;
/*  color: #6c757d;*/
}

.profile-row .profile-icon {
  flex: 0 0 18px;
  text-align: center;
  opacity: 0.85;
}

.profile-row .profile-value {
  flex: 1;
  word-break: break-word;
}

.profile-row:hover {
  /*color: #333;*/
}

.metric {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem; /* replaces me-1 spacing */
}

.metric .value {
  font-weight: 600; /* matches .fw-semibold without Bootstrap dependency */
}

/* Standardized unified count formatting */

/* Optional pulse animation */
.pulse-animate {
  animation: pulse 0.35s ease;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  35%  { color: #ff8800; transform: scale(1.1); }/*45%,1.12*/
  100% { transform: scale(1); }
}
/*
@keyframes textPulse {
  0%   { color: #212529; transform: scale(1); }
  45%  { color: #ff8800; transform: scale(1.05); }
  100% { color: #212529; transform: scale(1); }
}

.pulse-animate {
  animation: textPulse 0.9s cubic-bezier(.25,.1,.25,1); /* ease but snappy */
  /*transform-origin: center;
}*/


.card,
.preview-panel,
.who-panel {
  overflow: visible !important;
}

/* --- Alignment fix for consistent column widths --- */
.updates-table td.date-cell      { width: 22%; }
.updates-table td.status-text    { width: 22%; }
.updates-table td.note-cell      { width: 46%; }
.updates-table td.actions        { width: 10%; text-align: right; }

/* Ensure "hidden" rows still reserve delete column space */
.update-hidden td.actions {
  visibility: hidden;
}


/* Stable column layout */
.updates-table {
  table-layout: fixed;
  width: 100%;
}

.col-date { width: 12%; }
.col-status { width: 18%; }
.col-note { width: auto; }
.col-actions { width: 40px; }

/* Hide until expanded */
.update-hidden { display: none; }

/* Ensure revealed rows behave like normal table rows */
.update-visible {
  display: table-row !important;
}

.final-status-rejected {
  background: #f8d7da;
  border: 1px solid #e5a9ac;
  color: #842029;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.candidate-card.dimmed {
  opacity: .55;
  filter: grayscale(30%);
}

.candidate-card.hidden-filter {
  display: none !important;
}

#toggleArchived {
  cursor: pointer;
}

