#zovan-install{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);z-index:10000;display:flex;align-items:center;gap:12px;background:#0A1A4A;color:#fff;border-radius:14px;padding:10px 10px 10px 12px;box-shadow:0 12px 32px -8px rgba(7,22,64,.55);width:min(420px,calc(100% - 24px));box-sizing:border-box;font-size:14px}
#zovan-install span{flex:1;min-width:0}
#zovan-install img{width:40px;height:40px;border-radius:10px}
#zovan-install b{display:block}#zovan-install small{display:block;color:#B9C6E4;font-size:12px}
#zovan-install .zi-go{background:#0A5BFF;color:#fff;border:0;border-radius:9px;padding:8px 14px;font-weight:600;cursor:pointer}
#zovan-install .zi-x{background:transparent;color:#B9C6E4;border:0;font-size:22px;line-height:1;padding:4px 8px;cursor:pointer}
/* ZOVAN brand colour for main buttons */
#rcmloginsubmit,.btn-primary,.formbuttons .btn.mainaction,.floating-action-buttons a.compose{background-color:#0A5BFF!important;border-color:#0A5BFF!important}
#layout-menu .popover-header img,#logo{border-radius:12px}
#login-form #logo{max-width:96px;max-height:96px}

/* ===================== ZOVAN Mail login ===================== */
body.zl-login{font-family:"Poppins","Segoe UI",system-ui,sans-serif;background:#fff}
body.zl-login #layout{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:100vh;height:auto}
.zl-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:44px 56px;color:#fff;overflow:hidden;
  background:radial-gradient(900px 520px at 90% 105%,rgba(10,91,255,.42),transparent 62%),radial-gradient(600px 400px at -10% -10%,rgba(8,145,178,.22),transparent 60%),
  linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px) 0 0/44px 44px,linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px) 0 0/44px 44px,#071640}
.zl-top{display:inline-flex;flex-direction:column;align-items:flex-start}
.zl-logo{height:46px;width:auto}
.zl-tag{display:block;font-weight:600;font-size:11px;letter-spacing:.62em;color:#8FB0FF;margin:8px 0 0 60px}
.zl-hero{max-width:520px}
.zl-eyebrow{font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#8FB0FF}
.zl-hero h2{font-size:clamp(28px,3vw,40px);line-height:1.12;font-weight:800;letter-spacing:-.015em;margin:12px 0 14px;color:#fff}
.zl-hero p{color:#B9C6E4;font-size:15.5px;line-height:1.6;margin:0}
.zl-feats{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:16px}
.zl-feats li{display:flex;gap:14px;align-items:flex-start}
.zl-fi{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);display:grid;place-items:center;flex-shrink:0}
.zl-fi svg{width:20px;height:20px;stroke:#8FB0FF;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.zl-feats b{display:block;font-weight:600;font-size:15px}.zl-feats span{color:#9FB0D3;font-size:13.5px}
.zl-foot{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12.5px;color:#9FB0D3;border-top:1px solid rgba(255,255,255,.09);padding-top:16px}
.zl-foot span{display:inline-flex;align-items:center;gap:8px}
.zl-dot{width:8px;height:8px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 3px rgba(34,197,94,.2);display:inline-block}
/* right side */
body.zl-login #layout-content{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0;padding:40px 24px;background:#F3F6FB;min-height:100vh;box-sizing:border-box}
body.zl-login #layout-content > #logo{display:none!important}
body.zl-login #login-form{margin:0 auto!important;top:auto!important;width:100%;max-width:420px!important;background:#fff;border:1px solid #DCE3EE;border-radius:16px;padding:34px 32px 26px;box-shadow:0 24px 48px -28px rgba(7,22,64,.35);box-sizing:border-box}
.zl-head{margin-bottom:22px}
.zl-mini{display:none;flex-direction:column;align-items:flex-start;margin-bottom:22px}.zl-mini img{height:30px;width:auto}.zl-mini .zl-tag{color:#0A5BFF;margin:6px 0 0 39px;font-size:9.5px}
.zl-head h1{font-size:26px;font-weight:800;color:#081536;margin:0 0 6px;letter-spacing:-.01em}
.zl-head p{margin:0;color:#56637A;font-size:14px}
body.zl-login #login-form{text-align:left}
body.zl-login #login-form table,body.zl-login #login-form tbody,body.zl-login #login-form tr{display:block;width:100%}
body.zl-login #login-form tr.row{margin:0 0 14px!important}
body.zl-login #login-form td.title{display:none!important}
body.zl-login #login-form td.input{display:flex!important;width:100%;padding:0!important;position:relative}
body.zl-login #login-form td.input .form-control{flex:1;min-width:0;width:auto}
body.zl-login #login-form .input-group{position:relative;flex-wrap:nowrap}
body.zl-login #login-form .input-group-prepend{display:flex}
body.zl-login #login-form .input-group-text{display:flex;align-items:center;height:48px;box-sizing:border-box;background:#fff;border-color:#DCE3EE;border-radius:10px 0 0 10px;color:#56637A;padding:0 12px}
body.zl-login #login-form .form-control{height:48px;font-size:15px;border-color:#DCE3EE;border-radius:0 10px 10px 0;font-family:inherit;color:#081536}
body.zl-login #login-form .form-control:focus{border-color:#0A5BFF;box-shadow:0 0 0 3px rgba(10,91,255,.15)}
body.zl-login #login-form .input-group:focus-within .input-group-text{border-color:#0A5BFF;color:#0A5BFF}
#zl-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:5;background:none;border:0;color:#0A5BFF;font:600 12.5px "Poppins",sans-serif;padding:6px 8px;cursor:pointer}
body.zl-login #rcmloginpwd{padding-right:64px}
body.zl-login #login-form .formbuttons{margin:20px 0 0}
body.zl-login #rcmloginsubmit{width:100%;height:50px;border-radius:10px;font:600 15.5px "Poppins",sans-serif;text-transform:none!important;letter-spacing:0!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#0A5BFF!important;border-color:#0A5BFF!important;box-shadow:0 10px 22px -10px rgba(10,91,255,.7)}
body.zl-login #rcmloginsubmit:hover{background:#0848CC!important}
.zl-arr{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2.2}
.zl-help{margin-top:18px;border-top:1px solid #E1E7F0;padding-top:14px}
.zl-help p{display:flex;gap:8px;align-items:flex-start;margin:0 0 6px;font-size:12.5px;color:#56637A;line-height:1.5}
.zl-help svg{width:15px;height:15px;stroke:#56637A;fill:none;stroke-width:1.8;flex-shrink:0;margin-top:2px}
body.zl-login #login-footer{margin-top:18px;text-align:center;font-size:12px;color:#8A95A8}
body.zl-login #messagestack{z-index:20}
@media (max-width:900px){
  /* Phone: full-screen app layout. Navy brand header on top, white sign-in sheet filling the rest */
  body.zl-login,body.zl-login html{background:#071640}
  body.zl-login #layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100vh;min-height:100dvh;
    background:radial-gradient(420px 260px at 100% 0,rgba(10,91,255,.45),transparent 70%),linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px) 0 0/36px 36px,linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px) 0 0/36px 36px,#071640}
  .zl-brand{display:flex;background:transparent;padding:calc(26px + env(safe-area-inset-top)) 24px 34px;gap:22px;justify-content:flex-start}
  .zl-logo{height:34px}.zl-tag{font-size:9.5px;margin:6px 0 0 45px}
  .zl-hero h2{font-size:25px;margin:8px 0 0;max-width:15ch}
  .zl-hero p,.zl-feats,.zl-foot{display:none}
  .zl-eyebrow{font-size:10.5px}
  body.zl-login #layout-content{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;min-height:0;padding:0;background:transparent}
  body.zl-login #login-form{flex:1;display:flex!important;flex-direction:column;max-width:none!important;border:0;border-radius:26px 26px 0 0;padding:30px 24px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -12px 30px -18px rgba(0,0,0,.5)}
  .zl-mini{display:none}
  .zl-head h1{font-size:24px}
  body.zl-login #login-footer{margin-top:auto;padding-top:18px}
}
/* dark mode */
html.dark-mode body.zl-login #layout-content{background:#0B1222}
html.dark-mode body.zl-login #login-form{background:#111A2E;border-color:#22304D}
html.dark-mode .zl-head h1{color:#fff}html.dark-mode .zl-head p,html.dark-mode .zl-help p{color:#9FB0D3}
html.dark-mode .zl-mini img{filter:brightness(0) invert(1)}
@media (max-width:900px){html.dark-mode body.zl-login #layout-content{background:transparent}}
html.dark-mode body.zl-login #login-form .form-control,html.dark-mode body.zl-login #login-form .input-group-text{background:#0B1222;border-color:#22304D;color:#E6ECF7}
html.dark-mode .zl-help{border-top-color:#22304D}
.zl-forgot a{color:#0A5BFF;font-weight:600;text-decoration:none;margin-right:4px}.zl-forgot a:hover{text-decoration:underline}
.zl-help p.zl-forgot{display:block}
