/* EGAMANA.LK Login Page User-Friendly Premium UI Patch */
:root{
  --eg-navy:#071b3a;
  --eg-deep:#061226;
  --eg-green:#0ba34f;
  --eg-green2:#19c56d;
  --eg-text:#081b3a;
  --eg-muted:#63748d;
  --eg-line:#e2eaf5;
  --eg-bg:#f6f9fd;
}
*{box-sizing:border-box}
body.eg-login-page{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--eg-bg);color:var(--eg-text)}
a{text-decoration:none;color:inherit}.eg-wrap{width:min(1360px,calc(100% - 72px));margin:auto}
.eg-topnav{height:88px;background:rgba(255,255,255,.95);border-bottom:1px solid rgba(226,234,245,.95);position:sticky;top:0;z-index:50;box-shadow:0 12px 30px rgba(7,27,58,.06);backdrop-filter:blur(18px)}
.eg-nav-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:28px}.eg-brand{display:flex;align-items:center;gap:12px;font-weight:950}.eg-brand img{height:62px;width:auto;object-fit:contain}.eg-brand b{display:block;font-size:24px;letter-spacing:-.8px;color:#092b5f}.eg-brand small{display:block;font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#687993;margin-top:2px}.eg-nav-links{display:flex;align-items:center;gap:34px;font-weight:900;color:#0b1f3a}.eg-nav-links a{padding:34px 0 30px;position:relative}.eg-nav-links a:hover:after{content:"";position:absolute;left:0;right:0;bottom:19px;height:3px;background:var(--eg-green);border-radius:99px}.eg-login-btn{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0ba34f,#07883f);color:#fff;font-weight:950;padding:15px 24px;border-radius:15px;box-shadow:0 14px 28px rgba(9,148,74,.22)}
.eg-login-hero{position:relative;min-height:calc(100vh - 88px);padding:56px 0 76px;overflow:hidden;background:linear-gradient(90deg,rgba(5,21,44,.90),rgba(5,21,44,.62) 52%,rgba(5,21,44,.42)),url('gamana-hero-bus-road.jpg') center/cover no-repeat}.eg-login-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:115px;background:linear-gradient(180deg,transparent,var(--eg-bg));pointer-events:none}.eg-login-grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr 500px;gap:76px;align-items:center;min-height:610px}.eg-login-copy{color:#fff}.eg-trust-pill{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);padding:12px 18px;border-radius:999px;font-weight:950;backdrop-filter:blur(14px)}.eg-trust-pill span{width:12px;height:12px;background:var(--eg-green2);border-radius:50%;box-shadow:0 0 0 8px rgba(25,197,109,.15)}.eg-login-copy h1{font-size:62px;line-height:1.06;letter-spacing:-2px;margin:24px 0 18px;max-width:760px}.eg-login-copy h1 strong{color:#20cf76}.eg-login-copy p{font-size:20px;line-height:1.65;font-weight:750;color:rgba(255,255,255,.93);max-width:700px;margin:0}.eg-feature-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.eg-feature-row div{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.14);color:#fff;padding:13px 17px;border-radius:14px;font-weight:950;backdrop-filter:blur(12px)}
.eg-login-card{background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.80));border:1px solid rgba(255,255,255,.75);border-radius:30px;padding:34px;box-shadow:0 34px 90px rgba(0,0,0,.28);backdrop-filter:blur(22px)}.eg-card-head{display:flex;align-items:center;gap:16px;margin-bottom:24px}.eg-card-icon{width:60px;height:60px;border-radius:20px;background:linear-gradient(135deg,#0ba34f,#07883f);display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;box-shadow:0 14px 30px rgba(9,148,74,.28)}.eg-card-head h2{font-size:32px;margin:0 0 5px;letter-spacing:-.8px}.eg-card-head p{margin:0;color:var(--eg-muted);font-weight:750}.eg-form label{display:block;font-size:13px;font-weight:950;margin-bottom:9px}.eg-phone-field{display:flex;margin-bottom:16px}.eg-phone-field span{height:58px;min-width:100px;padding:0 18px;display:flex;align-items:center;justify-content:center;background:#f3f7fc;border:1px solid #dce5f1;border-right:0;border-radius:15px 0 0 15px;font-weight:950;color:#081b3a}.eg-phone-field input{height:58px;border:1px solid #dce5f1;border-radius:0 15px 15px 0;background:#fff;color:#081b3a;padding:0 16px;font-weight:850;flex:1;font-size:15px;outline:none}.eg-phone-field input:focus{border-color:#10a251;box-shadow:0 0 0 4px rgba(16,162,81,.12)}.eg-primary-btn{width:100%;min-height:60px;border:0;border-radius:15px;background:linear-gradient(135deg,#12ad59,#078e43);color:#fff;font-weight:950;font-size:17px;cursor:pointer;box-shadow:0 16px 30px rgba(9,148,74,.25)}.eg-primary-btn:hover{transform:translateY(-1px)}.eg-or{display:flex;align-items:center;gap:18px;margin:28px 0;color:#62728b;font-weight:950}.eg-or:before,.eg-or:after{content:"";height:1px;background:rgba(7,27,58,.16);flex:1}.eg-social{height:56px;border-radius:15px;background:#fff;color:#082552;display:flex;align-items:center;justify-content:center;font-weight:950;margin-top:14px;border:1px solid #e3ebf7;box-shadow:0 10px 24px rgba(7,27,58,.06)}.eg-social:hover{border-color:#0ba34f;background:#f4fbf7}.eg-note{margin:22px 0 0;color:#53657f;font-weight:750;line-height:1.5}.eg-back{display:inline-block;margin-top:16px;font-weight:950;color:#0b8a43}
/* Keep existing floating theme/language/chatbot controls safe */
.gamana-ui-switcher{z-index:9999}.gamana-chatbot{z-index:9998}
@media(max-width:980px){.eg-wrap{width:min(100% - 28px,1360px)}.eg-topnav{height:auto}.eg-nav-inner{padding:12px 0}.eg-nav-links{display:none}.eg-brand img{height:54px}.eg-login-grid{grid-template-columns:1fr;gap:28px;min-height:auto}.eg-login-copy h1{font-size:42px}.eg-login-card{max-width:560px}.eg-login-hero{padding:34px 0 90px}.eg-feature-row{display:none}}
@media(max-width:560px){.eg-login-copy h1{font-size:34px}.eg-login-copy p{font-size:16px}.eg-login-card{padding:22px;border-radius:24px}.eg-card-head h2{font-size:26px}.eg-phone-field{flex-direction:column}.eg-phone-field span{border-radius:14px 14px 0 0;border-right:1px solid #dce5f1}.eg-phone-field input{border-radius:0 0 14px 14px}.eg-login-btn{padding:12px 16px}.eg-brand b{font-size:20px}}
