/* Shared styling for the Tenders listing/details/respond pages (per the
   2026-09 UI/UX refresh). justprocure-marketing.min.css only compiles the
   Bootstrap components/classes already referenced elsewhere in the site, so
   the handful of new patterns these pages introduce (teal-accented tabs,
   pill chips, breadcrumbs, the respond-flow vertical stepper) live here
   instead - same reasoning as _PaginationPartialView's own inline <style>. */

:root {
    --jp-teal: #1fa391;
    --jp-teal-dark: #158577;
    --jp-ink: #101E36;
}

/* ---- breadcrumb ---- */
.jp-breadcrumb {
    font-size: .875rem;
    color: #6b7684;
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
}

.jp-breadcrumb a {
    color: #6b7684;
    text-decoration: none;
}

.jp-breadcrumb a:hover {
    color: var(--jp-ink);
}

.jp-breadcrumb .jp-breadcrumb__current {
    color: var(--jp-ink);
    font-weight: 500;
}

/* ---- pill "chips" - reference numbers, tags, type badges ---- */
.jp-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: #eef1f5;
    color: #4b5563;
    font-size: .8125rem;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.3;
}

.jp-chip--ref {
    background: #eef2fa;
    color: var(--jp-ink);
    font-weight: 600;
}

.jp-chip--type {
    background: #e4f3ef;
    color: #1d6e5c;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .02em;
}

.jp-chip--success {
    background: #e4f3ef;
    color: #1d6e5c;
    font-weight: 600;
}

/* ---- teal-accented tabs (default Bootstrap nav-tabs doesn't use the brand teal) ---- */
.jp-tabs-teal {
    border-bottom: 1px solid #e4e8ed;
}

.jp-tabs-teal .nav-link {
    color: #6b7684;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0 0 .75rem;
    margin-right: 1.75rem;
    font-weight: 500;
    background: transparent;
}

.jp-tabs-teal .nav-link:hover:not(.active) {
    color: var(--jp-ink);
    border-bottom-color: #d7dce3;
}

.jp-tabs-teal .nav-link.active {
    color: var(--jp-teal);
    background: transparent;
    border-bottom-color: var(--jp-teal);
    font-weight: 600;
}

.jp-eyebrow-teal {
    color: var(--jp-teal) !important;
}

/* ---- filters card ---- */
.jp-filters__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-body {
    background-color: white;
}

.jp-filters__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    color: var(--jp-ink);
}

/* ---- tender listing card ---- */
.jp-tender-card {
    transition: border-color .15s ease;
}

.jp-tender-card:hover {
    border-color: #c9d0d9;
}

.jp-tender-card__title {
    font-weight: 700;
    color: var(--jp-ink);
    text-decoration: none;
}

.jp-tender-card__title:hover {
    color: var(--jp-teal-dark);
}

/* ---- tender document row ---- */
.jp-doc-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .5rem;
    background: #fde8e8;
    color: #c0392b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- key info / actions sidebar ---- */
.jp-info-row {
    display: flex;
    gap: .75rem;
    padding: .55rem 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: .875rem;
}

.jp-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jp-info-row__icon {
    color: #8b93a1;
    flex-shrink: 0;
    width: 1.1rem;
    text-align: center;
    margin-top: .1rem;
}

.jp-info-row__label {
    color: #6b7684;
    min-width: 5.5rem;
    flex-shrink: 0;
}

.jp-info-row__value {
    color: var(--jp-ink);
    font-weight: 500;
}

/* ---- respond flow: file upload field ---- */
.jp-upload {
    position: relative;
    border: 1px dashed #d7dce3;
    border-radius: .5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #6b7684;
    background: #fafbfc;
}

.jp-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* ---- respond flow: vertical stepper ---- */
.jp-stepper {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jp-stepper li {
    position: relative;
    padding: 0 0 1.75rem 2.9rem;
}

.jp-stepper li:last-child {
    padding-bottom: 0;
}

.jp-stepper li::before {
    content: "";
    position: absolute;
    left: 1.05rem;
    top: 2.2rem;
    bottom: -0.25rem;
    width: 2px;
    background: #e4e8ed;
}

.jp-stepper li:last-child::before {
    display: none;
}

.jp-stepper li.is-complete::before {
    background: var(--jp-teal);
}

.jp-stepper__dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: #eef1f5;
    color: #8b93a1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .875rem;
}

.jp-stepper li.is-active .jp-stepper__dot,
.jp-stepper li.is-complete .jp-stepper__dot {
    background: var(--jp-teal);
    color: #fff;
}

.jp-stepper__label {
    display: block;
    padding-top: .35rem;
    font-weight: 600;
    color: #6b7684;
}

.jp-stepper li.is-active .jp-stepper__label {
    color: var(--jp-ink);
}

.jp-stepper a.jp-stepper__link {
    text-decoration: none;
    display: block;
}
