/* ==========================================================================
   Schemes · Jobs · Tenders · Grievance — "void" interface (shares gj-services.css)
   ========================================================================== */

/* hide the legacy blocks (they stay in the DOM so every old id/handler still works) */
#view-schemes > nav, #view-schemes > div.bg-slate-950, #view-schemes > section:not(.gjp), #view-schemes > p#schemes-empty,
#view-jobs > nav, #view-jobs > section:not(.gjp), #view-jobs > p#jobs-empty,
#view-grievance > *:not(.gjp),
#view-tenders > section.order-0, #tender-portal-stats, #tender-portal-directory, #view-tenders > section.order-6 { display: none !important; }

/* per-page accents */
#view-schemes { --pa: #7CF29C; --pb: #F5B301; }
#view-jobs { --pa: #7C9CFF; --pb: #00F2FE; }
#view-tenders { --pa: #FFC857; --pb: #FF7A3D; }
#view-grievance { --pa: #FDA4AF; --pb: #C4B5FD; }
.gjp .gjv-btn-glow { background: linear-gradient(135deg, var(--pa), var(--pb)); box-shadow: 0 0 40px color-mix(in srgb, var(--pa) 35%, transparent); }
.gjp .gjv-btn-glow:hover { box-shadow: 0 0 70px color-mix(in srgb, var(--pa) 50%, transparent); }
.gjp .gjv-hero::before, .gjp.gjv-hero::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--pa) 22%, transparent), transparent 70%); }
.gjp.gjv-hero { box-shadow: 0 0 120px color-mix(in srgb, var(--pa) 8%, transparent), inset 0 1px 0 rgba(255,255,255,.08); }
.gjp .gjv-kicker { color: color-mix(in srgb, var(--pa) 75%, #fff) !important; }
.gjp .gjv-eyebrow { color: color-mix(in srgb, var(--pa) 55%, #fff) !important; background: color-mix(in srgb, var(--pa) 9%, transparent); border-color: color-mix(in srgb, var(--pa) 30%, transparent); }
.gjp .gjv-dot { background: var(--pa); box-shadow: 0 0 12px var(--pa); }
.gjp .gjv-grad { background: linear-gradient(100deg, #fff 0%, color-mix(in srgb, var(--pa) 55%, #fff) 45%, var(--pb) 100%); -webkit-background-clip: text; background-clip: text; }
.gjp .gjv-chip.on { background: linear-gradient(135deg, var(--pa), var(--pb)); box-shadow: 0 0 30px color-mix(in srgb, var(--pa) 28%, transparent); }
.gjp .gjv-step b { background: linear-gradient(135deg, var(--pa), var(--pb)); -webkit-background-clip: text; background-clip: text; }
.gjp .gjv-step a { color: color-mix(in srgb, var(--pa) 70%, #fff) !important; text-decoration: underline; }

/* the home-hero search box, on a dark card */
.gjp .gj-stats { max-width: 30rem; }
@media (min-width: 640px) { .gjp .gj-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gjp .gj-stat { min-width: 0; }
.gjp .gj-stat b { font-size: 1.45rem; } .gjp .gj-stat b.gjp-sm { font-size: 1rem !important; padding-top: .3rem; }
.gjp .gj-stat span { font-size: .72rem; }
.gjp .gj-search { margin-top: 1.4rem; }
.gjp .gj-search input { color: #14202F !important; }
.gjp-sel { min-height: 46px; border: 0 !important; border-radius: 14px; padding: 0 .8rem; background: #EEF3F8 !important; color: #14202F !important; font-weight: 700; }
.gjp-sm { font-size: 1rem !important; line-height: 1.3 !important; }

/* tabs (schemes / jobs) */
.gjp-seg { display: inline-flex; gap: 4px; margin-top: 1.2rem; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.gjp-seg button { min-height: 40px; padding: 0 1.1rem; border: 0; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: .88rem; color: #C9D8EE !important; background: none; }
.gjp-seg button.on { background: linear-gradient(135deg, var(--pa), var(--pb)); color: #031018 !important; }

/* right-hand glass card */
.gjp-glass { padding: clamp(18px, 3vw, 28px); border-radius: 28px; background: linear-gradient(170deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }
.gjp-glass-t { margin: 0 !important; font-family: var(--gj-font); font-weight: 800; font-size: 1.35rem; color: #fff !important; }
.gjp-glass-s { margin: .4rem 0 1rem; font-size: .9rem; line-height: 1.6; color: #A5B4CC !important; }
.gjp-personas { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
.gjp-persona { display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: 0 .9rem; border-radius: 18px; cursor: pointer; text-align: left; font-weight: 800; font-size: .9rem; color: #EAF2FF !important; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, box-shadow .35s; }
.gjp-persona i { width: 1.3rem; text-align: center; color: var(--pa) !important; }
.gjp-persona span { color: inherit !important; }
.gjp-persona:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }
.gjp-persona.on { background: linear-gradient(135deg, var(--pa), var(--pb)); color: #031018 !important; border-color: transparent; box-shadow: 0 0 40px color-mix(in srgb, var(--pa) 35%, transparent); }
.gjp-persona.on i { color: #031018 !important; }
.gjp-tips { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.gjp-tips li { display: flex; gap: .75rem; font-size: .9rem; line-height: 1.6; color: #D5E2F5 !important; }
.gjp-tips li i { width: 1.2rem; margin-top: .25rem; text-align: center; color: var(--pa) !important; flex: 0 0 auto; }
.gjp-tips span { color: inherit !important; }
.gjp-tips a, .gjp-link { color: var(--pa) !important; font-weight: 800; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }

/* lists */
.gjp-chiprow { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.gjp-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .gjp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .gjp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gjp-card .gjv-svc-sum b { color: #fff !important; }
.gjp-benefit { position: relative; display: flex; gap: .6rem; align-items: flex-start; margin: .1rem 0; padding: .7rem .85rem; border-radius: 16px; font-weight: 800; font-size: .95rem; line-height: 1.5; color: #FFE9A8 !important; background: linear-gradient(135deg, rgba(245,179,1,.16), rgba(245,179,1,.04)); border: 1px solid rgba(245,179,1,.35); }
.gjp-benefit i { margin-top: .2rem; color: #FFD36B !important; } .gjp-benefit span { color: inherit !important; }
.gjp-type { font-size: .72rem; font-weight: 800; color: #FFD36B !important; }
.gjp-det { position: relative; border-top: 1px solid rgba(255,255,255,.08); padding-top: .6rem; }
.gjp-det summary { cursor: pointer; list-style: none; font-weight: 800; font-size: .85rem; color: color-mix(in srgb, var(--a) 70%, #fff) !important; display: flex; justify-content: space-between; }
.gjp-det summary::-webkit-details-marker { display: none; }
.gjp-det summary::after { content: "+"; font-size: 1.2rem; line-height: 1; transition: transform .3s; }
.gjp-det[open] summary::after { transform: rotate(45deg); }
.gjp-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.gjp-chips span { padding: .25rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 700; color: #D5E2F5 !important; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.gjp-card .gjv-svc-act { flex-wrap: wrap; }
.gjp-card .gjv-svc-act .gjv-apply { flex: 1 1 100%; justify-content: center; }
.gjp-card .gjv-svc-act .gjv-more { flex: 1 1 auto; justify-content: center; }
.gjp-card a.gjv-apply, .gjp-card a.gjv-more { text-decoration: none; }
.gjp-card a.gjv-more { display: inline-flex; align-items: center; gap: .4rem; }
.gjp-card a.gjv-more i { color: inherit !important; }
.gjp-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: .4rem; padding: 2.5rem 1rem; text-align: center; border-radius: 24px; border: 1px dashed rgba(255,255,255,.2); color: #A5B4CC !important; }
.gjp-empty i { font-size: 2rem; color: var(--pa) !important; } .gjp-empty b { color: #fff !important; font-size: 1.1rem; }
.gjp-steps3 { grid-template-columns: 1fr; } @media (min-width: 800px) { .gjp-steps3 { grid-template-columns: repeat(3, 1fr) !important; } }
.gjp-steps4 { grid-template-columns: 1fr; } @media (min-width: 700px) { .gjp-steps4 { grid-template-columns: repeat(2, 1fr) !important; } } @media (min-width: 1100px) { .gjp-steps4 { grid-template-columns: repeat(4, 1fr) !important; } }

/* tenders */
.gjp-toolbar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.gjp-toolbar .gjp-chiprow { margin: 0; }
.gjp-find { position: relative; display: block; min-width: min(320px, 100%); }
.gjp-find i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #8FA3C0 !important; }
.gjp-find input { width: 100%; min-height: 46px; padding: 0 1rem 0 2.6rem; border-radius: 999px; background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #fff !important; }
.gjp-find input::placeholder { color: #6F819D !important; }
.gjp-prepcard { display: grid; justify-items: center; text-align: center; gap: .3rem; }
.gjp-ring { position: relative; width: 150px; height: 150px; }
.gjp-ring svg { width: 100%; height: 100%; filter: drop-shadow(0 0 14px rgba(255,170,60,.35)); }
.gjp-ring circle:last-child { transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1); }
.gjp-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2px; font-family: var(--gj-font); font-size: 2.3rem; color: #fff !important; font-variant-numeric: tabular-nums; }
.gjp-ring b small { font-size: .5em; margin-top: .35em; color: #FFC857 !important; }
.gjp-prepcard.gold .gjp-ring svg { filter: drop-shadow(0 0 20px rgba(245,179,1,.7)); }
.gjp-prep-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .gjp-prep-list { grid-template-columns: 1fr 1fr; } }
.gjp-prep-list li { display: flex; align-items: center; gap: .8rem; justify-content: space-between; padding: .7rem 1rem; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: border-color .3s, background .3s; }
.gjp-prep-list li.ok { border-color: rgba(124,242,156,.45); background: rgba(124,242,156,.07); }
.gjp-prep-list label { display: flex; align-items: center; gap: .7rem; cursor: pointer; font-weight: 700; font-size: .92rem; color: #EAF2FF !important; flex: 1; }
.gjp-prep-list label span { color: inherit !important; }
.gjp-prep-list input { width: 20px; height: 20px; accent-color: #7CF29C; flex: 0 0 auto; }
.gjp-prep-list li button { flex: 0 0 auto; min-height: 34px; padding: 0 .85rem; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: .78rem; color: #031018 !important; background: linear-gradient(135deg, var(--pa), var(--pb)); border: 0; }

/* legacy tender blocks, dressed in the void */
#view-tenders #tender-records, #view-tenders #tender-radar-panel, #tender-vip-banner { border-radius: 28px !important; background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015)) !important; border: 1px solid rgba(255,255,255,.1) !important; backdrop-filter: blur(30px); }
#tender-vip-banner { border-color: rgba(255,200,87,.4) !important; }
#view-tenders select, #view-tenders input[type="search"], #view-tenders input:not([type="checkbox"]) { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #fff !important; border-radius: 14px !important; color-scheme: dark; }
#view-tenders select option { background: #060E1F; color: #fff; }
#view-tenders #tenders-list-container > div { border-radius: 24px !important; background: linear-gradient(170deg, rgba(255,255,255,.065), rgba(255,255,255,.015)) !important; border: 1px solid rgba(255,255,255,.1) !important; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
#view-tenders #tenders-list-container > div:hover { transform: translateY(-4px); box-shadow: 0 0 60px rgba(255,200,87,.12); }
#view-tenders h3, #view-tenders h4 { font-family: var(--gj-font); }
#view-tenders .order-5 h3 { font-size: 1.3rem; }

/* grievance */
.gjp-ask { margin-top: 1.4rem; padding: .8rem; border-radius: 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(30px); max-width: 40rem; }
.gjp-ask:focus-within { border-color: color-mix(in srgb, var(--pa) 60%, transparent); box-shadow: 0 0 60px color-mix(in srgb, var(--pa) 20%, transparent); }
.gjp-ask textarea { display: block; width: 100%; resize: vertical; min-height: 96px; padding: .6rem .7rem; border: 0 !important; outline: 0 !important; background: transparent !important; color: #fff !important; font-size: 1.05rem; line-height: 1.6; font-family: inherit; }
.gjp-ask textarea::placeholder { color: #7F90AB !important; }
.gjp-ask-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .4rem; }
.gjp-mic { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); cursor: pointer; background: rgba(255,255,255,.08); color: #fff !important; display: grid; place-items: center; }
.gjp-mic i { color: inherit !important; }
.gjp-mic.on { background: #FB7185; border-color: #FB7185; animation: gjvPulse 1.2s infinite; }
.gjp-ladder { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: l; position: relative; }
.gjp-ladder li { position: relative; display: flex; gap: .9rem; padding-bottom: 1rem; }
.gjp-ladder li::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: linear-gradient(180deg, color-mix(in srgb, var(--pa) 60%, transparent), transparent); }
.gjp-ladder li:last-child { padding-bottom: 0; } .gjp-ladder li:last-child::before { display: none; }
.gjp-ladder b { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--gj-font); font-size: .95rem; color: #031018 !important; background: linear-gradient(135deg, var(--pa), var(--pb)); box-shadow: 0 0 20px color-mix(in srgb, var(--pa) 40%, transparent); }
.gjp-ladder h4 { margin: .1rem 0 0; font-size: .95rem; font-weight: 800; color: #fff !important; }
.gjp-ladder p { margin: .15rem 0 0; font-size: .82rem; line-height: 1.55; color: #A5B4CC !important; }
.gjp-g-res { padding: clamp(18px, 3vw, 30px); border-radius: 30px; background: linear-gradient(170deg, color-mix(in srgb, var(--pa) 10%, rgba(255,255,255,.05)), rgba(255,255,255,.02)); border: 1px solid color-mix(in srgb, var(--pa) 40%, transparent); box-shadow: 0 0 80px color-mix(in srgb, var(--pa) 12%, transparent); animation: gjvFade .4s; }
.gjp-g-res[hidden] { display: none !important; }
.gjp-g-res-top { display: flex; gap: 1rem; align-items: center; }
.gjp-g-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.4rem; color: #031018 !important; background: linear-gradient(135deg, var(--pa), var(--pb)); box-shadow: 0 0 30px color-mix(in srgb, var(--pa) 40%, transparent); flex: 0 0 auto; }
.gjp-g-ico i { color: #031018 !important; }
.gjp-g-res-top small { color: color-mix(in srgb, var(--pa) 70%, #fff) !important; font-weight: 800; letter-spacing: .08em; }
.gjp-g-res-top h3 { margin: .1rem 0 0 !important; font-family: var(--gj-font); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.8rem); color: #fff !important; }
.gjp-g-steps { margin: 1.1rem 0 0; padding-left: 1.3rem; display: grid; gap: .55rem; font-size: 1rem; line-height: 1.7; color: #D5E2F5 !important; }
.gjp-g-steps li::marker { color: var(--pa); font-weight: 800; }
.gjp-g-links, .gjp-g-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.gjp-g-links a { text-decoration: none; }
.gjp-tiles { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gjp-tiles { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1100px) { .gjp-tiles { grid-template-columns: repeat(4, 1fr); } }
.gjp-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; min-height: 110px; padding: 1rem; border-radius: 22px; cursor: pointer; text-align: left; font-weight: 800; font-size: .95rem; color: #EAF2FF !important; background: linear-gradient(170deg, rgba(255,255,255,.065), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(30px); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .3s; }
.gjp-tile i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.1rem; color: #031018 !important; background: linear-gradient(135deg, var(--pa), var(--pb)); }
.gjp-tile span { color: inherit !important; }
.gjp-tile:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--pa) 55%, transparent); box-shadow: 0 0 60px color-mix(in srgb, var(--pa) 16%, transparent); }
.gjp-help { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gjp-help { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1100px) { .gjp-help { grid-template-columns: repeat(4, 1fr); } }
.gjp-hl { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; align-items: center; padding: .8rem 1rem; border-radius: 20px; text-decoration: none; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .35s; }
.gjp-hl:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.gjp-hl i { grid-row: 1 / 3; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--pa) !important; background: color-mix(in srgb, var(--pa) 12%, transparent); }
.gjp-hl b { font-family: var(--gj-font); font-size: 1.35rem; line-height: 1.1; color: #fff !important; }
.gjp-hl span { font-size: .75rem; font-weight: 700; color: #A5B4CC !important; }

/* grievance letter modal must stay opaque on the void theme */
#grievance-letter-modal > div { background: #060E1F !important; border: 1px solid rgba(255,255,255,.14) !important; backdrop-filter: none !important; }

@media (max-width: 767px) {
  .gjp.gjv-hero { padding: 20px 16px 24px; }
  .gjp-personas { grid-template-columns: 1fr 1fr; }
  .gjp-ask-bar .gjv-btn { flex: 1 1 100%; }
  .gjp-ring { width: 124px; height: 124px; }
}
@media (prefers-reduced-motion: reduce) { .gjp-mic.on { animation: none; } .gjp-persona, .gjp-tile, .gjp-hl { transition: none; } }
