/* InfraTrack v2.9.7 Premium Procurement UI */
:root{--it-red:#a00000;--it-red2:#c40000;--it-ink:#071226;--it-muted:#65748b;--it-border:#dde6f3;--it-soft:#f6f8fc;--it-card:#fff;--it-blue:#2563eb;--it-green:#059669;--it-amber:#d97706;}
body{background:#f5f7fb!important;color:var(--it-ink)}
.procurement-shell,.procurement-page,.page-content:has(.procurement-table),main:has(.procurement-table){--btn-radius:14px}.procurement-hero,.procurement-header{background:linear-gradient(180deg,#fff,#f9fbff);border:1px solid var(--it-border);border-radius:22px;padding:24px 28px;margin-bottom:22px;box-shadow:0 18px 45px rgba(15,23,42,.06)}
.procurement-hero h1,.procurement-header h1{font-size:30px;letter-spacing:-.04em;margin:0 0 8px}.procurement-hero p,.procurement-header p{color:var(--it-muted);font-size:15px;margin:0}.procurement-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:16px 0 18px}.procurement-filters{display:flex;gap:10px;flex-wrap:wrap}.procurement-search{min-width:320px;max-width:520px;flex:1;border:1px solid var(--it-border);border-radius:16px;padding:13px 16px;background:#fff;box-shadow:0 10px 25px rgba(15,23,42,.04);font-weight:600}.procurement-table-wrap,.procurement-list-card,.card:has(.procurement-table){background:#fff!important;border:1px solid var(--it-border)!important;border-radius:22px!important;box-shadow:0 22px 50px rgba(15,23,42,.07)!important;overflow:hidden!important}.procurement-table,table.procurement-table{width:100%;border-collapse:separate!important;border-spacing:0!important}.procurement-table thead th,.procurement-table th{background:#f8fafc!important;color:#52637a!important;text-transform:uppercase;font-size:12px!important;letter-spacing:.06em;font-weight:800!important;padding:16px 18px!important;border-bottom:1px solid #e8eef7!important}.procurement-table tbody td,.procurement-table td{padding:18px!important;border-bottom:1px solid #eef2f7!important;vertical-align:middle!important}.procurement-table tbody tr:hover{background:#fbfdff!important}.it-action-group,.btn-group,.proc-actions{display:inline-flex!important;gap:10px!important;align-items:center!important;justify-content:flex-start!important}.it-btn,.btn-soft,.btn-primary,.btn-premium,.btn-outline-premium,.proc-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:38px!important;min-width:82px!important;padding:0 16px!important;border-radius:12px!important;font-size:13px!important;line-height:1!important;font-weight:800!important;text-decoration:none!important;border:1px solid transparent!important;cursor:pointer!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease!important;white-space:nowrap!important}.it-btn-open,.btn-soft,.btn-outline-premium{background:#fff!important;color:var(--it-red)!important;border-color:#dbe4f0!important;box-shadow:0 8px 20px rgba(15,23,42,.04)!important}.it-btn-open:hover,.btn-soft:hover,.btn-outline-premium:hover{background:#fff7f7!important;border-color:#f0b4b4!important;color:var(--it-red)!important;transform:translateY(-2px)!important;box-shadow:0 14px 28px rgba(160,0,0,.12)!important}.it-btn-compare,.btn-primary,.btn-premium{background:linear-gradient(135deg,var(--it-red),#c70000)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 12px 26px rgba(160,0,0,.18)!important}.it-btn-compare:hover,.btn-primary:hover,.btn-premium:hover{transform:translateY(-2px)!important;box-shadow:0 16px 34px rgba(160,0,0,.26)!important}.it-btn-disabled,.btn-disabled,button[disabled]{background:#eef2f7!important;color:#9aa7b7!important;border-color:#e4ebf5!important;box-shadow:none!important;cursor:not-allowed!important;transform:none!important}.it-btn-new,.btn-new,a[href$='/new'],a[href*='new-request'],a[href*='/procurement/new']{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:44px!important;padding:0 22px!important;border-radius:14px!important;background:linear-gradient(135deg,var(--it-red),#c70000)!important;color:#fff!important;border:0!important;font-weight:900!important;font-size:14px!important;text-decoration:none!important;box-shadow:0 16px 34px rgba(160,0,0,.18)!important;transition:.18s ease!important}.it-btn-new:hover,.btn-new:hover,a[href$='/new']:hover,a[href*='new-request']:hover,a[href*='/procurement/new']:hover{transform:translateY(-2px)!important;box-shadow:0 20px 42px rgba(160,0,0,.26)!important}.status-badge,.badge-status,.status-pill{display:inline-flex;align-items:center;height:30px;border-radius:999px;padding:0 12px;font-size:12px;font-weight:900;background:#f1f5f9;color:#334155}.status-open,.status-pending{background:#fff7ed;color:#c2410c}.status-approved,.status-received{background:#ecfdf5;color:#047857}.status-closed{background:#eef2ff;color:#3730a3}.it-modal-backdrop{position:fixed;inset:0;background:rgba(7,18,38,.48);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;z-index:99999}.it-modal-backdrop.show{display:flex}.it-modal-card{width:min(440px,92vw);background:#fff;border:1px solid rgba(221,230,243,.9);border-radius:24px;box-shadow:0 30px 90px rgba(15,23,42,.25);padding:26px}.it-modal-icon{width:54px;height:54px;border-radius:18px;background:#fff1f1;color:var(--it-red);display:flex;align-items:center;justify-content:center;font-size:25px;margin-bottom:14px}.it-modal-title{font-size:22px;font-weight:900;letter-spacing:-.03em;margin:0 0 8px;color:var(--it-ink)}.it-modal-text{font-size:15px;color:var(--it-muted);line-height:1.5;margin:0 0 22px}.it-modal-actions{display:flex;justify-content:flex-end;gap:10px}.it-modal-cancel,.it-modal-delete{height:42px;border-radius:14px;padding:0 18px;font-weight:900;border:1px solid var(--it-border);cursor:pointer}.it-modal-cancel{background:#fff;color:#334155}.it-modal-delete{background:linear-gradient(135deg,var(--it-red),#c70000);color:#fff;border:0}.line-items-table input,.line-items-table select,.procurement-table input,.procurement-table select{border:1px solid var(--it-border)!important;border-radius:12px!important;padding:11px 13px!important;background:#fff!important}.line-items-total,.grand-total-box{background:#fff7f7!important;border:1px solid #ffd5d5!important;border-radius:18px!important;padding:16px 20px!important;color:var(--it-red)!important;font-weight:900!important}.quote-complete{border-left:5px solid var(--it-green)!important}.quote-incomplete{border-left:5px solid var(--it-amber)!important;opacity:.78}.quote-incomplete::after{content:'Incomplete quote';display:inline-flex;margin-left:8px;background:#fff7ed;color:#c2410c;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900}
@media(max-width:900px){.procurement-toolbar{flex-direction:column;align-items:stretch}.procurement-search{min-width:0}.it-action-group,.btn-group,.proc-actions{flex-wrap:wrap}.procurement-table th,.procurement-table td{padding:14px 12px!important}.it-btn,.btn-soft,.btn-primary{min-width:76px}}
