/* TenderHelp Admin • 2026 refresh • additive overrides; original template remains */
:root { --th-orange:#e99a32; --th-saffron:#ed8b23; --th-red:#cf3c46; --th-ink:#172435; --th-line:#e9edf3; --th-soft:#fff7ee; --th-surface:#fff; }
html { scroll-behavior:smooth; }
body { font-feature-settings:"cv11","ss01"; background:#f6f7fb; }
.pc-container .pc-content { max-width:1740px; margin-inline:auto; padding-top:26px; }
.pc-header { background:rgba(255,255,255,.94)!important; backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border-bottom:1px solid var(--th-line); box-shadow:0 2px 15px rgba(29,36,59,.035); }
.pc-sidebar { background:#fff!important; border-right:1px solid #eff1f5!important; }
.pc-sidebar .pc-navbar .pc-link { border-radius:11px; margin-inline:11px; transition:background .18s ease,color .18s ease,transform .18s ease; }
.pc-sidebar .pc-navbar .pc-link:hover { background:#fff4e7; color:#a84c18; transform:translateX(2px); }
.pc-sidebar .pc-navbar .pc-link.th-active { background:linear-gradient(95deg,#fff2e1,#fff8ee); color:#a94120; box-shadow:inset 3px 0 var(--th-saffron); font-weight:700; }
.pc-sidebar .pc-caption label { letter-spacing:.1em; font-size:.66rem; text-transform:uppercase; color:#8892a2; }
.pc-container .card { border:1px solid #ebedf4!important; border-radius:18px!important; background:#fff; box-shadow:0 5px 21px rgba(33,42,66,.04); transition:box-shadow .22s ease, transform .22s ease; overflow:hidden; }
.pc-container .card:hover { box-shadow:0 14px 34px rgba(34,44,72,.085); }
.pc-container .card-header { border-bottom:1px solid #edf0f5; padding:19px 23px; background:linear-gradient(120deg,rgba(254,248,241,.75),#fff 72%); }
.pc-container .card-body { padding:22px!important; }
.pc-container .card h3 { letter-spacing:-.025em; font-weight:720; }
.pc-container .table { border-collapse:separate; border-spacing:0; min-width:640px; }
.pc-container .table thead th { background:#fff8f0; color:#615146; border-bottom:1px solid #f2e0cf; font-size:.71rem; letter-spacing:.07em; text-transform:uppercase; font-weight:740; white-space:nowrap; padding:13px 14px; }
.pc-container .table tbody tr { transition:background .16s ease; }
.pc-container .table tbody tr:hover { background:#fffaf5; }
.pc-container .table td { padding:13px 14px; border-bottom:1px solid #f0f2f6; font-size:.88rem; vertical-align:middle; }
.pc-container .form-control, .pc-container .form-select, .pc-header .form-control { border-radius:10px!important; border:1px solid #dde2ea!important; background:#fff; min-height:41px; transition:border-color .18s,box-shadow .18s; }
.pc-container .form-control:focus, .pc-container .form-select:focus, .pc-header .form-control:focus { border-color:#e8a15d!important; box-shadow:0 0 0 3px rgba(233,154,50,.16)!important; outline:0; }
.pc-container .btn { border-radius:10px; font-weight:650; transition:transform .16s ease, box-shadow .16s ease; }
.pc-container .btn:hover { transform:translateY(-1px); }
.pc-container .btn-primary, .pc-container .bg-primary { background:#bd522e!important; border-color:#bd522e!important; color:#fff!important; }
.pc-container .btn-outline-primary { color:#ae472c!important; border-color:#eac0a7!important; }
.pc-container .btn-outline-primary:hover { background:#fff2e4!important; }
.pc-container .pagination { gap:5px; flex-wrap:wrap; }
.pc-container .pagination a, .pc-container .pagination strong { display:inline-flex; align-items:center; justify-content:center; min-width:36px; height:36px; padding:7px; border:1px solid var(--th-line); border-radius:9px; }
.pc-container .pagination a:hover { background:#fff3e4; color:#9d3d1e; }
.pc-container .table-responsive { border-radius:12px; scrollbar-width:thin; }
.pc-container .text-primary-500 { color:#bb542c!important; }
.th-hero { position:relative; overflow:hidden; border-radius:23px; padding:30px 34px; margin-bottom:22px; background:linear-gradient(108deg,#321f28 0%,#60312c 56%,#ac5b2e 100%); color:#fff; box-shadow:0 14px 35px rgba(77,42,48,.19); }
.th-hero:before,.th-hero:after { content:''; position:absolute; border:1px solid rgba(255,255,255,.12); border-radius:50%; pointer-events:none; }
.th-hero:before { width:290px;height:290px;right:-50px;top:-165px; } .th-hero:after { width:430px;height:430px;right:65px;bottom:-370px; }
.th-hero-inner { position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:25px;flex-wrap:wrap; }
.th-kicker { display:block;color:#ffd49c;text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;font-weight:750;margin-bottom:9px; }
.th-hero h1 {font-size:clamp(1.45rem,2.25vw,2.22rem);font-weight:800;color:#fff!important;letter-spacing:-.045em;line-height:1.16;margin:0 0 11px;}
.th-hero p {max-width:620px;color:#f9ddc8;font-size:.9rem;margin:0;}
.th-hero-actions {display:flex;gap:9px;flex-wrap:wrap;}
.th-hero-actions a {display:inline-flex;align-items:center;gap:8px; padding:11px 16px;border-radius:10px;background:#fff;color:#7a3926;font-weight:760;text-decoration:none;box-shadow:0 5px 15px rgba(0,0,0,.08);}
.th-hero-actions a.th-ghost {background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.21);}
.th-stat {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 23px;background:#fff;border:1px solid var(--th-line);border-radius:15px;box-shadow:0 7px 20px rgba(24,31,47,.04);min-width:0;}
.th-stat strong {font-size:clamp(1.25rem,2vw,1.9rem);display:block;letter-spacing:-.04em;color:#2f3241;line-height:1.2;}
.th-stat small {font-size:.74rem;color:#758093;font-weight:650;letter-spacing:.04em;text-transform:uppercase;}
.th-stat i {display:grid;place-items:center;width:44px;height:44px;border-radius:13px;font-size:22px;background:#fff1df;color:#b96c2f;}
.th-stat-band {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px;}
.th-notice {padding:15px 18px;border-radius:12px;border:1px solid #ffd3b1;background:#fff7ef;color:#8e4726;margin-bottom:16px;font-size:.88rem;}
.th-section-title { display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:8px 0 15px; }
.th-section-title h2 {font-size:1.17rem;font-weight:800;letter-spacing:-.035em;margin:0;color:var(--th-ink);}
.th-section-title a {color:#a44928;text-decoration:none;font-size:.86rem;font-weight:700;}
.th-pill {display:inline-block;border-radius:100px;padding:4px 9px;background:#fff0db;color:#a85d19;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
.th-pill.th-muted {background:#f1f3f8;color:#697587;}
.th-filter-card {border:1px solid var(--th-line);border-radius:16px;padding:16px 20px;background:#fff;box-shadow:0 5px 21px rgba(22,32,54,.035);}
.th-filter-card .input-group {display:flex;flex-wrap:wrap;gap:8px;align-items:stretch;}
.th-filter-card .input-group > * {margin:0!important;flex:1 1 155px;max-width:100%;}
.th-filter-card .input-group .btn {flex:0 0 auto;}
.th-command-backdrop {position:fixed;inset:0;display:none;align-items:flex-start;justify-content:center;background:rgba(15,23,42,.58);backdrop-filter:blur(5px);z-index:200000;padding:12vh 15px 20px;}
.th-command-backdrop[aria-hidden="false"] {display:flex;}
.th-command {width:min(560px,100%);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 35px 90px rgba(0,0,0,.24);border:1px solid #f4ede8;}
.th-command input {width:100%;border:0;border-bottom:1px solid var(--th-line);padding:22px 24px;font-size:1.02rem;outline:0;color:#212c3b;}
.th-command-list {padding:10px;max-height:340px;overflow:auto;}
.th-command-list a {display:flex;align-items:center;gap:10px;padding:13px 15px;border-radius:10px;text-decoration:none;color:#314052;font-size:.91rem;}
.th-command-list a:hover,.th-command-list a:focus {background:#fff4e6;color:#ad5629;}
.th-command-footer {display:flex;justify-content:space-between;padding:13px 20px;font-size:.72rem;color:#748092;background:#fafbfc;border-top:1px solid #eef0f3;}
.th-key {border:1px solid #dfe5ea;border-radius:6px;padding:2px 5px;background:#fff;font-family:inherit;}
.pc-container .th-fade {animation:th-rise .38s ease both;}
@keyframes th-rise {from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
[data-pc-theme="dark"] .pc-header,[data-pc-theme="dark"] .pc-sidebar {background:#18202d!important;border-color:#2d3646!important;}
[data-pc-theme="dark"] .pc-container .card,[data-pc-theme="dark"] .th-stat,[data-pc-theme="dark"] .th-filter-card {background:#1e2735;color:#edf2f6;border-color:#344052!important;}
[data-pc-theme="dark"] .th-stat strong,[data-pc-theme="dark"] .th-section-title h2 {color:#f5efe8;}
[data-pc-theme="dark"] .pc-container .table thead th {background:#293545;color:#e7c6a5;border-color:#39485b;}
[data-pc-theme="dark"] .pc-container .table tbody tr:hover {background:#283445;}
[data-pc-theme="dark"] .pc-container .table td {border-color:#374253;}
[data-pc-theme="dark"] .pc-container .card-header {background:#222e40;border-color:#364255;}
@media (max-width:960px){.th-stat-band{grid-template-columns:repeat(2,minmax(0,1fr))}.th-hero{padding:26px}.pc-container .pc-content{padding-inline:14px;}}
@media (max-width:560px){.th-stat-band{grid-template-columns:1fr 1fr;gap:9px}.th-stat{padding:13px}.th-stat i{display:none}.th-hero-actions a{flex:1 1 auto;justify-content:center}.pc-container .card-body{padding:15px!important}.th-filter-card{padding:12px}.th-hero{padding:24px 20px}.th-hero-actions{width:100%}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
