@import url('https://fonts.googleapis.com/css2?family=Miranda+Sans:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root{
      --tj-color-theme-primary: #08558d;
      --tj-color-common-white: #ffffff;
      --main-color: #00aeef !important;
}

* {
  scrollbar-width: thin;
}

body {
  font-family: "Miranda Sans", sans-serif;
    /*font-family: "PT Serif", serif;*/
}
.jobsearch-hero {
    background:  var(--tj-color-theme-primary);
    color: #fff;
    padding: 5rem 0 6.5rem;
}

 .inner-header {
    padding: 3rem 0 3rem !important;
}

.jobsearch-hero h1 { font-weight: 700; }
.search-bar-card {
    margin-top: -3rem !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    }
.stat-strip { font-size: .9rem; opacity: .9; }
.job-card {
    border-radius: 12px;
    transition: box-shadow .15s ease, transform .15s ease;
}
.job-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.filter-panel { position: sticky; top: 1rem; }

.form-control {
    font-size: 1.1rem;
}
.btn {
    --bs-btn-padding-y: 0.48rem;
}

.job-list-item { cursor: pointer; border-radius: 10px;}
.job-list-item.active { border-color: var(--bs-primary) !important; background: #eef5ff; }
.job-list-item:hover { background: #f8f9fa;}
.job-list-item:hover h2 {color: var(--main-color) !important;}
.split-col {height: 95vh; overflow-y: auto; padding-right: 6px; }
.detail-panel { position: sticky; top: 0; }
.list-unstyled i, .text-dark {color: var(--tj-color-theme-primary) !important;}
/*employer*/
    .stat-card { border-radius: 12px; }
    .stat-card .stat-value { font-size: 1.5rem; font-weight: 700;}
    .jobs-table thead th { text-transform: uppercase; letter-spacing: .03em; color: #6c757d; border-bottom: 2px solid #dee2e6; white-space: nowrap;}
    .jobs-table td { vertical-align: middle; }
    .job-title-link { font-weight: 600; text-decoration: none; font-size: 18px; color: #333;}
    .job-title-link:hover { text-decoration: underline; }
    .candidate-stat { color: #333; text-decoration: none; font-size: .85rem;}
    .candidate-stat:hover { text-decoration: underline; }
    .status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; flex: none;}
    .status-dot.open { background: #198754; }
    .status-dot.closed { background: #6c757d;}
    .status-dot.paused { background: #fd7e14;}
    .status-select-wrap { display: inline-flex; align-items: center; }
    .status-select-wrap select { width: auto;}

/*condidates*/
    .avatar-circle { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #e9ecef; }
    .conv-thread { max-height: 320px; overflow-y: auto; padding: 4px; }
    .msg-bubble-mine { max-width: 75%; margin-left: auto; margin-bottom: 3px; background: #08558d; color: #fff; border-radius: 16px 16px 4px 16px; padding: 8px 14px; font-size: .85rem; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
    .msg-meta-mine { text-align: right; font-size: .7rem; color: #6c757d; margin-bottom: 12px; }
    .msg-bubble-theirs { max-width: 75%; margin-right: auto; margin-bottom: 3px; background: #f1f3f5; color: #212529; border: 1px solid #e9ecef; border-radius: 16px 16px 16px 4px; padding: 8px 14px; font-size: .85rem; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
    .msg-meta-theirs { text-align: left; font-size: .7rem; color: #6c757d; margin-bottom: 12px; }
    .accordion-button:not(.collapsed) { background-color: #f8f9fa; box-shadow: none; }

/*employer-applications*/

     html, body { height: 100%; }
    .top-bar { height: 52px; }
    .applicants-layout { display: flex; height: calc(100vh - 52px); }

    .applicants-sidebar { width: 340px; flex: none; overflow-y: auto; border-right: 1px solid #dee2e6; background: #fff; }
    .sidebar-filters .btn { flex: 1; }

    .applicant-item { display: block; padding: 12px 16px; border-bottom: 1px solid #eee; text-decoration: none; color: #212529; }
    .applicant-item:hover { background: #f4f7fb; }
    .applicant-item.active { background: #e7f0ff; border-left: 3px solid #08558d; }
    .applicant-item .a-name { font-weight: 600; }
    .applicant-item .a-meta { font-size: .8rem; color: #6c757d; }

    .applicants-main { flex: 1; overflow-y: auto; background: #fff; }
    .candidate-header { padding: 20px 28px 0; }

    .status-pill { border: 1px solid #ced4da; border-radius: 20px; padding: 2px 6px 2px 12px; display: inline-flex; align-items: center; gap: 4px; background: #fff; }
    .status-pill .lbl { font-weight: 600; color: #212529; font-size: .9rem; }
    .status-pill select { border: none; background: transparent; font-weight: 600; box-shadow: none !important; }

    .cv-toolbar { padding: 10px 16px; border: 1px solid #dee2e6; border-bottom: none; border-radius: 8px 8px 0 0; background: #fafafa; display: flex; justify-content: space-between; align-items: center; }
    .resume-frame { height: 72vh; border: 1px solid #dee2e6; border-radius: 0 0 8px 8px; overflow: hidden; }
    .resume-frame iframe { width: 100%; height: 100%; border: 0; }

    .empty-state { padding: 80px 20px; text-align: center; color: #6c757d; }

    .activity-item { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #f1f1f1; }
    .activity-item .a-date { font-size: .78rem; font-weight: 600; color: #495057; }
    .activity-item .a-desc { font-size: .88rem; color: #495057; }

    .note-item { border: 1px solid #eee; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font-size: .88rem; background: #fafafa; }
    .note-item .n-date { font-size: .75rem; color: #6c757d; margin-bottom: 4px; }

    .messages-thread { min-height: 300px; max-height: 55vh; overflow-y: auto; padding: 8px 4px 16px; }
    .msg-bubble { max-width: 70%; margin-left: auto; margin-bottom: 3px; background: #08558d; color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 16px; font-size: .9rem; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
    .msg-meta { text-align: right; font-size: .72rem; color: #6c757d; margin-bottom: 14px; }
    .msg-bubble-in { max-width: 70%; margin-right: auto; margin-bottom: 3px; background: #f1f3f5; color: #212529; border: 1px solid #e9ecef; border-radius: 16px 16px 16px 4px; padding: 10px 16px; font-size: .9rem; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
    .msg-meta-in { text-align: left; font-size: .72rem; color: #6c757d; margin-bottom: 14px; }
    .msg-empty { padding: 60px 20px; text-align: center; color: #6c757d; }
    .msg-composer { border-top: 1px solid #dee2e6; padding-top: 14px; margin-top: 8px; }

    #videoTypeOptions .form-check { padding: 8px 10px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 8px !important; }
    .slot-row:not(:first-child) { margin-top: 8px; }

/*admin dashboard */
    .quick-link { border-radius: 12px; transition: box-shadow .15s ease, transform .15s ease; }
    .quick-link:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); }


/*about*/
 .hj-about {
    --hj-ink: #1B2A20;
    --hj-paper: #FAF6EC;
    --hj-pine: #234B36;
    --hj-pine-dark: #17301F;
    --hj-mustard: #D9A438;
    --hj-rust: #B0452B;
    --hj-sage: #E7ECDD;
    color: var(--hj-ink);
    background: var(--hj-paper);
  }
  .hj-about h1, .hj-about h2, .hj-about h3, .hj-about .hj-serif {
  }
  .hj-eyebrow {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hj-mustard);
  }
  .hj-tag {
    font-size: .72rem;
    letter-spacing: .04em;
    border: 1px solid rgba(27,42,32,.25);
    border-radius: 999px;
    padding: .3rem .75rem;
    color: var(--hj-ink);
    white-space: nowrap;
  }

  /* ---------- Hero ---------- */
  .hj-hero {
    background: var(--tj-color-theme-primary);
    color: var(--hj-paper);
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
  }
  .hj-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 600;
    line-height: 1.12;
    margin: .75rem 0 1.1rem;
  }
  .hj-hero p {
    color: rgba(250,246,236,.82);
    font-size: 1.08rem;
    max-width: 34rem;
  }
  .hj-btn {
    font-size: .85rem;
    letter-spacing: .03em;
    border-radius: .4rem;
    padding: .65rem 1.4rem;
    text-decoration: none;
    display: inline-block;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .hj-btn:hover { transform: translateY(-2px); }
  .hj-btn-primary { background: var(--hj-mustard); color: var(--hj-pine-dark); font-weight: 600; }
  .hj-btn-primary:hover { box-shadow: 0 8px 18px rgba(217,164,56,.35); }
  .hj-btn-ghost { border: 1px solid rgba(250,246,236,.5); color: var(--hj-paper); }
  .hj-btn-ghost:hover { border-color: var(--hj-paper); }

  /* Pinned "job ticket" collage — the signature element */
  .hj-ticket-board {
    position: relative;
    min-height: 300px;
  }
  .hj-ticket {
    background: var(--hj-paper);
    color: var(--hj-ink);
    border-radius: .35rem;
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
    padding: .9rem 1.1rem;
    width: 230px;
    position: absolute;
    animation: hjFadeUp .6s ease both;
  }
  .hj-ticket::before {
    content: '';
    position: absolute;
    top: -.5rem;
    left: 1.1rem;
    width: 2.6rem;
    height: 1.1rem;
    background: rgba(217,164,56,.85);
    transform: rotate(-4deg);
  }
  .hj-ticket .hj-role { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.02rem; line-height: 1.2; }
  .hj-ticket .hj-loc  { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .72rem; color: var(--hj-rust); margin-top: .25rem; letter-spacing: .03em; }
  .hj-ticket-1 { top: 0;    right: 12%; transform: rotate(-6deg); animation-delay: .05s; }
  .hj-ticket-2 { top: 6.5rem; right: 0;  transform: rotate(4deg);  animation-delay: .2s; }
  .hj-ticket-3 { top: 13rem; right: 18%; transform: rotate(-2deg); animation-delay: .35s; }

  @keyframes hjFadeUp {
    from { opacity: 0; transform: translateY(14px) rotate(var(--r, 0deg)); }
    to   { opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hj-ticket { animation: none; }
  }
  @media (max-width: 991.98px) {
    .hj-ticket-board { min-height: 0; margin-top: 2.5rem; }
    .hj-ticket { position: static; width: 100%; margin-bottom: 1rem; transform: none !important; }
  }

  /* ---------- Sections ---------- */
  .hj-section { padding: 4.5rem 0; }
  .hj-section-sage { background: var(--hj-sage); }
  .hj-section-pine { background: var(--hj-pine); color: var(--hj-paper); }
  .hj-section-pine .hj-eyebrow { color: var(--hj-mustard); }

  .hj-lede { font-size: 1.1rem; line-height: 1.65; }

  .hj-pull {
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--hj-pine);
    border-left: 3px solid var(--hj-mustard);
    padding-left: 1.2rem;
    margin: 1.75rem 0;
  }

  .hj-note {
    background: var(--hj-paper);
    border-radius: .5rem;
    padding: 1.75rem;
    box-shadow: 0 10px 26px rgba(23,48,31,.12);
  }
  .hj-note .hj-eyebrow { color: var(--hj-rust); }

  /* Two-path "What we do" cards */
  .hj-path-card {
    background: #fff;
    border-radius: .6rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(27,42,32,.08);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .hj-path-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(23,48,31,.12); }
  .hj-path-card .hj-eyebrow { color: var(--hj-rust); }

  /* Why choose — ticket-stub feature cards */
  .hj-stub {
    background: rgba(250,246,236,.06);
    border: 1px solid rgba(250,246,236,.18);
    border-radius: .5rem;
    padding: 1.9rem 1.6rem;
    height: 100%;
  }
  .hj-stub .hj-tag {
    border-color: rgba(217,164,56,.6);
    color: var(--hj-mustard);
    margin-bottom: 1rem;
    display: inline-block;
  }
  .hj-stub h3 { font-size: 1.15rem; margin-bottom: .5rem; }
  .hj-stub p { color: rgba(250,246,236,.78); margin-bottom: 0; font-size: .95rem; }

  .hj-cta h2 { color: var(--hj-pine); }



   /* Granth monogram — this page's signature element */
  .hj-monogram-wrap { display: flex; justify-content: center; }
  .hj-monogram {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: var(--hj-mustard);
    color: var(--hj-pine-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 5.5rem;
    font-weight: 600;
    transform: rotate(-4deg);
    box-shadow: 0 18px 34px rgba(0,0,0,.25);
    position: relative;
    animation: hjFadeUp .6s ease both;
  }
  .hj-monogram::after {
    content: 'MENTOR';
    position: absolute;
    bottom: 22px;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: .65rem;
    letter-spacing: .18em;
  }
  @keyframes hjFadeUp { from { opacity: 0; transform: translateY(14px) rotate(-4deg); } to { opacity: 1; transform: rotate(-4deg); } }
  @media (prefers-reduced-motion: reduce) { .hj-monogram { animation: none; } }

.followup-row:hover { background: #f8f9fa;}

   .card-stat { border:none; border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.06); }
    .table-errors td, .table-errors th { vertical-align: middle; }
    .msg-cell { max-width: 360px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .url-cell { max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: monospace; font-size: .85rem; }
    tr.resolved { opacity: .55; }

.me-50 {
  margin-right: 110px;
}



@media screen and (max-width: 1200px) {
  .me-50 {
  margin-right: 0px;
}
}

@media screen and (max-width: 991px) {
.navbar-nav .nav-link {
    padding: 10px 0px;
}

a.s-inline-1, .s-inline-1 {
  display: block;
  margin-bottom:5px ;
}

}

#jobDetailContent h1, 
#jobDetailContent h2, 
#jobDetailContent h3, 
#jobDetailContent h4, 
#jobDetailContent h5, 
#jobDetailContent h6 {
  font-size: 1.4rem; 
  font-weight: 500;
}

.hero-title {
    opacity: 0;
    animation: heroFadeUp .7s ease-out forwards;
}
.hero-title .hero-title-static {
    display: inline-block;
}
.hero-title .hero-title-highlight {
    display: inline-block;
    position: relative;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #2563eb);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: heroGradientShift 3s linear infinite;
}
.hero-title .hero-title-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    animation: heroUnderline .6s ease-out .7s forwards;
}
.hero-subtitle {
    opacity: 0;
    animation: heroFadeUp .7s ease-out .2s forwards;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroGradientShift {
    to { background-position: 200% center; }
}
@keyframes heroUnderline {
    to { transform: scaleX(1); }
}
.hero-title-line {
    width: 315px;
    height: 3px;
    margin: 6px 0 16px;
    border-radius: 2px;
    background: #fff;
    transform-origin: left;
    animation: heroLineStartEnd 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .hero-title, .hero-subtitle, .hero-title .hero-title-highlight {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .hero-title .hero-title-highlight::after { transform: scaleX(1); }
    .hero-title-line { animation: none; transform: scaleX(1); }
}
@keyframes heroLineStartEnd {
    0%   { transform: scaleX(0); opacity: .4;}
    50%  { transform: scaleX(1); opacity: 1;}
    100% { transform: scaleX(0); opacity: .4;}
}