/*
Theme Name: GBO ONE Enterprise Theme
Theme URI: https://gbosolutions.com/
Author: GBO Solutions Ltd
Description: Application-style ERP theme for GBO ONE — Business Operating System for SMEs, with role-aware staff and client portals, responsive navigation and client brand inheritance.
Version: 5.0.0
License: GPL-2.0-or-later
Text Domain: gbo-enterprise-suite
*/
:root{--gbo-blue:#0175ca;--gbo-navy:#00345a;--gbo-red:#fa353c;--gbo-bg:#f4f7fb;--gbo-card:#fff;--gbo-text:#18324b;--gbo-muted:#698095;--gbo-line:#dce5ef}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--gbo-bg);color:var(--gbo-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.site-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.gbo-side{background:linear-gradient(180deg,var(--gbo-navy),#0a4e8f);color:#fff;padding:24px 18px;position:sticky;top:0;height:100vh}.gbo-brand{display:flex;gap:12px;align-items:center;padding:6px 6px 26px}.gbo-mark{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--gbo-blue),var(--gbo-red));display:grid;place-items:center;font-weight:900;color:#fff}.gbo-brand strong{font-size:18px;display:block}.gbo-brand small{color:#cfe8ff}.gbo-nav a{display:flex;align-items:center;color:#ddebfa;text-decoration:none;padding:11px 12px;border-radius:10px;margin:3px 0;font-size:14px}.gbo-nav a:hover,.gbo-nav a.current,.gbo-nav .current-menu-item>a{background:rgba(255,255,255,.11);color:#fff}.gbo-nav a.current{box-shadow:inset 3px 0 0 var(--gbo-red)}.gbo-sidefoot{position:absolute;bottom:24px;left:24px;right:24px;font-size:11px;color:#b7d6f2}.gbo-main{min-width:0}.gbo-top{height:72px;background:#fff;border-bottom:1px solid var(--gbo-line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:20}.gbo-top .motto{font-weight:800;color:var(--gbo-navy);font-size:13px}.gbo-top .motto span{color:var(--gbo-red)}.gbo-user{font-size:13px;color:var(--gbo-muted);display:flex;align-items:center;gap:9px;font-weight:600}
.gbo-user-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--gbo-blue),var(--gbo-navy));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;flex:0 0 32px}.gbo-content{padding:28px 30px;max-width:1480px;margin:0 auto}.gbo-page-title h1{color:var(--gbo-navy);margin:0 0 5px}.gbo-page-title p{color:var(--gbo-muted);margin-top:0}.gbo-footer{padding:22px 30px;color:#75889b;font-size:12px;text-align:center}.entry-content>*,.page-content>*{max-width:none}.entry-content a{color:var(--gbo-blue)}.button,.wp-element-button,button,input[type=submit]{border-radius:9px!important}.gbo-mobilebar{display:none}.gbo-mark-logo{width:46px;height:46px;border-radius:14px;object-fit:contain;background:#fff;padding:4px}
.gbo-mark-wordmark{max-width:100%;width:auto;height:38px;object-fit:contain;background:#fff;border-radius:10px;padding:6px 10px;box-shadow:0 4px 14px rgba(0,0,0,.12)}.gbo-status-bar{display:flex;gap:16px;font-size:12px;color:var(--gbo-muted)}.gbo-status-bar b{color:var(--gbo-navy);font-size:14px}.gbo-status-loading{color:var(--gbo-muted);font-style:italic}.gbo-client-branded .gbo-top .motto span{display:none}@media(max-width:900px){.gbo-status-bar{display:none}.site-shell{display:block}.gbo-side{display:none}.gbo-top{padding:0 16px;height:64px}.gbo-content{padding:18px 14px}.gbo-mobilebar{display:flex;gap:12px;overflow:auto;background:var(--gbo-navy);padding:10px 12px}.gbo-mobilebar a{color:#fff;text-decoration:none;white-space:nowrap;font-size:12px;padding:7px 10px;border-radius:8px;background:rgba(255,255,255,.08)}.gbo-mobilebar a.current{background:var(--gbo-red)}}
/* Public landing page (front-page.php) - shown to logged-out visitors and used as the login entry point. */
body.gbo-landing{margin:0}
.gbo-landing-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.gbo-landing-top{background:#fff;border-bottom:1px solid var(--gbo-line);position:sticky;top:0;z-index:30}
.gbo-landing-topbar{display:flex;align-items:center;justify-content:space-between;height:76px}
.gbo-landing-brand{display:flex;align-items:center;text-decoration:none}
.gbo-landing-logo{height:40px;width:auto;display:block}
.gbo-landing-cta{background:var(--gbo-blue);color:#fff;text-decoration:none;padding:11px 20px;border-radius:9px;font-weight:700;font-size:14px}
.gbo-landing-cta:hover{filter:brightness(0.92)}
.gbo-landing-hero{background:linear-gradient(135deg,var(--gbo-navy),#0a4e8f);color:#fff;padding:64px 0}
.gbo-landing-hero-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:48px;align-items:center}
.gbo-landing-hero-copy{text-align:left}
.gbo-landing-hero-photo img{width:100%;height:auto;border-radius:20px;box-shadow:0 20px 50px rgba(0,0,0,.35);object-fit:cover;aspect-ratio:4/5;max-height:480px}
.gbo-landing-eyebrow{display:inline-block;letter-spacing:.18em;font-size:12px;font-weight:800;color:#a9d8ff;margin-bottom:14px}
.gbo-landing-hero h1{font-size:36px;line-height:1.15;margin:0 0 18px}
.gbo-landing-hero p{font-size:16px;color:#d9e9fb;max-width:520px;margin:0 0 30px}
.gbo-landing-hero p strong{color:#fff}
.gbo-landing-actions{display:flex;gap:14px;flex-wrap:wrap}
.gbo-landing-btn{text-decoration:none;padding:13px 26px;border-radius:10px;font-weight:700;font-size:15px}
.gbo-landing-btn.primary{background:var(--gbo-red);color:#fff}
.gbo-landing-btn.primary:hover{filter:brightness(0.92)}
.gbo-landing-btn.ghost{border:1.5px solid rgba(255,255,255,.5);color:#fff}
.gbo-landing-btn.ghost:hover{background:rgba(255,255,255,.1)}
.gbo-landing-section{padding:64px 0}
.gbo-landing-section h2{text-align:center;color:var(--gbo-navy);font-size:26px;margin:0 0 34px}
.gbo-landing-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}
.gbo-landing-card{background:#fff;border:1px solid var(--gbo-line);border-radius:16px;padding:26px;box-shadow:0 5px 18px rgba(20,55,85,.05)}
.gbo-landing-card h3{color:var(--gbo-navy);margin:0 0 8px;font-size:17px}
.gbo-landing-card p{color:var(--gbo-muted);margin:0;font-size:14px;line-height:1.55}
.gbo-landing-values{background:#eef4fa}
.gbo-landing-values-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
.gbo-landing-values-grid div{background:#fff;border-radius:14px;padding:20px;border:1px solid var(--gbo-line)}
.gbo-landing-values-grid strong{display:block;color:var(--gbo-navy);margin-bottom:6px}
.gbo-landing-values-grid span{color:var(--gbo-muted);font-size:13px}
.gbo-landing-footer{background:var(--gbo-navy);color:#cfe0f2;padding:50px 0 20px}
.gbo-landing-footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:26px;margin-bottom:30px}
.gbo-landing-footer strong{color:#fff;display:block;margin-bottom:8px}
.gbo-landing-footer a{color:#cfe0f2}
.gbo-landing-footer p{margin:0;font-size:13px;line-height:1.6}
.gbo-landing-copyright{border-top:1px solid rgba(255,255,255,.15);padding-top:16px;font-size:12px;color:#9fc0dd;text-align:center}
.gbo-nav-login{background:rgba(255,255,255,.14)!important;font-weight:700}
@media(max-width:900px){.gbo-landing-hero-grid{grid-template-columns:1fr}.gbo-landing-hero-photo{order:-1;max-width:320px;margin:0 auto}.gbo-landing-hero-copy{text-align:center}.gbo-landing-hero p{margin-left:auto;margin-right:auto}.gbo-landing-actions{justify-content:center}}
@media(max-width:640px){.gbo-landing-hero h1{font-size:28px}.gbo-landing-hero{padding:44px 0}}

/* GBO ONE v5 application refinements */
.gbo-side:before{content:"GBO ONE";display:block;font-size:10px;letter-spacing:.18em;font-weight:900;color:#8fc8f3;margin:0 6px 12px}.gbo-nav a:first-child{font-weight:800}.gbo-top{box-shadow:0 3px 14px rgba(8,47,87,.035)}.gbo-content{width:100%}.page-content .gbo-one-front{padding:0}.gbo-one-front .gbo-one-hero{margin-top:0}
