/*
Theme Name: Leister Portal Theme
Theme URI: https://international-contractor.com/
Author: Leister International Contractors (U) Ltd
Description: Responsive branded front-end portal with role dashboard layouts for the Leister Business Portal.
Version: 2.0.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: leister-portal-theme
*/
:root{--navy:#101a35;--navy2:#1b2b50;--blue:#5167ed;--blue2:#394dd1;--gold:#d9ad58;--ink:#1e2942;--muted:#7f8aa3;--line:#e7ebf3;--bg:#f5f7fb;--white:#fff;--green:#19a77b;--red:#e05a68;--shadow:0 8px 26px rgba(25,42,82,.055)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{text-decoration:none;color:var(--blue)}button,input,select,textarea{font:inherit}.lp-shell{min-height:100vh}.lp-topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:100}.lp-brand{display:flex;align-items:center;gap:11px;color:var(--ink)}.lp-brand-mark{height:42px;width:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(140deg,var(--gold),#f1d99e);color:var(--navy);font-weight:900;font-size:24px}.lp-brand b,.lp-brand small{display:block}.lp-brand b{font-size:14px}.lp-brand small{font-size:10px;color:var(--muted)}.lp-top-actions{display:flex;align-items:center;gap:15px}.lp-user{display:flex;align-items:center;gap:9px}.lp-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#edf0ff;color:var(--blue);font-weight:800}.lp-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:10px 15px;background:var(--blue);color:#fff!important;font-weight:700;font-size:12px;cursor:pointer}.lp-btn:hover{background:var(--blue2)}.lp-btn-quiet{background:#edf0ff;color:var(--blue)!important}.lp-btn-gold{background:var(--gold);color:var(--navy)!important}.lp-layout{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:calc(100vh - 76px)}.lp-sidebar{background:var(--navy);padding:22px 14px;display:flex;flex-direction:column;gap:2px}.lp-side-caption{padding:15px 13px 7px;color:#8390b1;font-size:9px;letter-spacing:1.4px;font-weight:800}.lp-nav{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:9px;color:#bfc8dc;font-size:12px}.lp-nav:hover,.lp-nav.active{background:#263657;color:#fff}.lp-nav.active{box-shadow:inset 3px 0 var(--gold)}.lp-nav-icon{width:20px;text-align:center;font-size:16px}.lp-side-foot{margin-top:auto;padding:16px 12px;color:#8e9ab6;font-size:10px;border-top:1px solid #ffffff16}.lp-main{padding:28px;min-width:0;max-width:1700px;width:100%;margin:0 auto}.lp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:22px}.lp-eyebrow{font-size:9px;font-weight:800;letter-spacing:1.5px;color:var(--blue);text-transform:uppercase}.lp-head h1{font-size:25px;letter-spacing:-.7px;margin:5px 0}.lp-subtitle{color:var(--muted);margin:0;font-size:12px}.lp-demo{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;background:#fff6df;border:1px solid #f4e3b7;border-radius:8px;color:#8c6927;font-size:10px;font-weight:800}.lp-welcome{background:linear-gradient(115deg,#182747,#263c68);color:white;border-radius:16px;padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px;overflow:hidden;position:relative}.lp-welcome h2{margin:5px 0 6px;font-size:21px}.lp-welcome p{margin:0;color:#d0d8e8;font-size:12px;max-width:600px}.lp-welcome .lp-eyebrow{color:#e4c16e}.lp-welcome-art{font-size:65px;opacity:.22;line-height:1}.lp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.lp-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px;box-shadow:var(--shadow);min-width:0}.lp-stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.lp-stat-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#eef0ff;color:var(--blue);font-size:17px}.lp-trend{font-size:10px;color:var(--green);font-weight:800}.lp-stat-label{display:block;color:var(--muted);font-size:11px;margin-top:12px}.lp-stat-value{display:block;font-size:24px;line-height:1.25;letter-spacing:-.6px;margin-top:2px}.lp-stat-note{font-size:10px;color:var(--muted)}.lp-content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:17px;margin-bottom:18px}.lp-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.lp-card h2,.lp-card h3{margin:0;font-size:14px}.lp-card-head p{font-size:10px;color:var(--muted);margin:4px 0 0}.lp-chart{width:100%;height:190px;display:block}.lp-chart-legend{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin-top:5px}.lp-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;background:var(--blue)}.lp-dot.gold{background:var(--gold)}.lp-bars{display:flex;align-items:end;gap:11px;height:150px;padding:12px 3px 0;border-bottom:1px solid var(--line)}.lp-bar-col{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px}.lp-bar-pair{height:calc(100% - 18px);display:flex;align-items:end;gap:3px;width:100%;justify-content:center}.lp-bar{width:12px;border-radius:5px 5px 0 0;background:var(--blue);min-height:4px}.lp-bar.alt{background:#d9b45f}.lp-bar-label{font-size:9px;color:var(--muted)}.lp-ring-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lp-ring-item{text-align:center}.lp-ring{--progress:72;width:88px;height:88px;margin:5px auto 9px;border-radius:50%;background:conic-gradient(var(--blue) calc(var(--progress)*1%),#edf0f6 0);display:grid;place-items:center;position:relative}.lp-ring:before{content:"";position:absolute;inset:8px;border-radius:50%;background:#fff}.lp-ring strong{position:relative;font-size:17px}.lp-ring-label{font-size:10px;color:var(--muted)}.lp-progress-row{margin:14px 0}.lp-progress-top{display:flex;justify-content:space-between;font-size:10px;margin-bottom:6px}.lp-progress-top span:last-child{color:var(--muted)}.lp-progress{height:7px;border-radius:10px;background:#edf0f6;overflow:hidden}.lp-progress span{display:block;height:100%;border-radius:10px;background:var(--blue)}.lp-progress.gold span{background:var(--gold)}.lp-progress.green span{background:var(--green)}.lp-list{display:flex;flex-direction:column}.lp-list-row{display:flex;align-items:flex-start;gap:10px;padding:11px 0;border-bottom:1px solid #f0f2f7}.lp-list-row:last-child{border-bottom:0}.lp-list-icon{height:31px;width:31px;border-radius:9px;background:#f0f2ff;color:var(--blue);display:grid;place-items:center;flex:none}.lp-list-row strong{font-size:11px;display:block}.lp-list-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.lp-status{display:inline-flex;align-items:center;border-radius:30px;padding:4px 8px;font-size:9px;font-weight:800;background:#e8f8f1;color:#16835f}.lp-status.warn{background:#fff3d8;color:#946a14}.lp-status.danger{background:#ffeaed;color:#bc4050}.lp-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.lp-module{display:flex;gap:12px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);transition:.15s}.lp-module:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#cfd5ff}.lp-module-icon{width:39px;height:39px;border-radius:11px;background:#eef0ff;display:grid;place-items:center;color:var(--blue);font-size:18px;flex:none}.lp-module strong{display:block;font-size:12px}.lp-module small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.lp-chat{margin-top:18px}.lp-chat-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);gap:15px}.lp-chat-feed{height:220px;overflow:auto;background:#f8f9fc;border:1px solid var(--line);border-radius:10px;padding:12px}.lp-chat-message{padding:10px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:8px;max-width:92%}.lp-chat-message.mine{margin-left:auto;background:#edf0ff}.lp-chat-message b{font-size:10px}.lp-chat-message p{font-size:11px;margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.lp-chat-compose{display:flex;gap:8px;margin-top:9px}.lp-chat-compose textarea{width:100%;min-height:43px;max-height:100px;resize:vertical;border:1px solid var(--line);border-radius:9px;padding:10px;background:#fff}.lp-chat-status{font-size:10px;color:var(--muted);margin-top:6px}.lp-table-wrap{overflow:auto}.lp-table{width:100%;border-collapse:collapse;min-width:540px}.lp-table th,.lp-table td{text-align:left;padding:11px 9px;border-bottom:1px solid #eef0f5;font-size:10px}.lp-table th{color:var(--muted);font-weight:700;background:#fafbfe}.lp-table td strong{font-size:11px}.lp-empty{padding:18px;text-align:center;color:var(--muted);font-size:11px}.lp-form-wrap{max-width:480px;margin:35px auto;background:#fff;padding:30px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.lp-form-wrap h1{font-size:25px;margin:8px 0}.lp-form-wrap p{color:var(--muted);font-size:12px}.lp-form-wrap label{display:block;font-size:11px;font-weight:700;margin:13px 0 6px}.lp-form-wrap input,.lp-form-wrap select,.lp-form-wrap textarea{width:100%;border:1px solid #dfe4ef;border-radius:9px;padding:12px;background:#fff}.lp-form-wrap .button,.lp-form-wrap input[type=submit]{display:inline-block;width:100%;background:var(--blue);color:#fff;border:0;font-weight:800;cursor:pointer;margin-top:16px}.lp-form-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:17px;font-size:11px}.lp-notice{border-radius:9px;padding:11px 13px;margin:12px 0;background:#edf8f3;color:#147b58;font-size:11px}.lp-notice.error{background:#fff0f1;color:#b73547}.lp-footer{padding:16px 25px;text-align:center;color:#9aa3b5;font-size:10px}.lp-mobile-toggle{display:none}.lp-notification{position:relative}.lp-count{display:inline-grid;place-items:center;background:#e65b69;color:white;border-radius:20px;min-width:17px;height:17px;font-size:9px;margin-left:4px}.lp-mobile-nav{display:none}
@media(max-width:1150px){.lp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-content-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.lp-topbar{height:65px;padding:0 14px}.lp-brand small{display:none}.lp-brand-mark{width:36px;height:36px}.lp-top-actions{gap:8px}.lp-user-name{display:none}.lp-layout{display:block}.lp-sidebar{display:none}.lp-sidebar.open{display:flex;position:fixed;z-index:99;top:65px;bottom:0;left:0;width:260px;overflow:auto;box-shadow:12px 0 25px #101a3533}.lp-mobile-toggle{display:inline-flex;border:0;background:#f0f2fa;border-radius:8px;padding:8px 10px;color:var(--navy)}.lp-main{padding:18px 13px}.lp-head h1{font-size:22px}.lp-welcome{padding:18px}.lp-welcome-art{display:none}.lp-grid{gap:10px}.lp-card{padding:13px}.lp-stat-value{font-size:20px}.lp-content-grid,.lp-chat-layout{grid-template-columns:1fr}.lp-module-grid{grid-template-columns:1fr}.lp-ring{width:74px;height:74px}.lp-ring strong{font-size:15px}.lp-ring-list{gap:3px}.lp-top-actions .lp-notification-text{display:none}.lp-form-wrap{margin:18px 10px;padding:22px}}
