/* xf-agui1: agent pages bigger on computer (login, dashboard, statement, booking form). Phones unchanged. */
/* login */
@media (min-width:992px){ body.xf-aglogin{zoom:1.25} }
/* dashboard + statement */
@media (min-width:1200px){ .ag{zoom:1.1} }
@media (min-width:1500px){ .ag{zoom:1.2} }
@media (min-width:1800px){ .ag{zoom:1.3} }
.ag-kpi .h{white-space:nowrap;gap:6px}
.ag-kpi .h span{overflow:hidden;text-overflow:ellipsis}
@media (min-width:992px){ .ag-kpi .b b{font-size:28px!important;line-height:1.1} }
/* booking form: plans, packs and documents use the full width; bigger text */
@media (min-width:992px){
  #bkForm .xbf-step[data-title="Plan"], #bkForm .xbf-step[data-docs]{grid-column:1/-1}
  #bkForm .xbf-plans{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important}
  #bkForm .xbf-docs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px}
  #bkForm .xbf-doc{flex-direction:column;align-items:flex-start}
  #bkForm .xbk-l{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
}
@media (min-width:1200px){ .xbf-main{zoom:1.08} }
@media (min-width:1600px){ .xbf-main{zoom:1.2} }
.xbk-pc{padding:8px 10px}
.xbk-pc .n{font-size:13px}
.xbk-pc .m{font-size:11.5px}
.xbk-pc .m b{font-size:14px}
.xbk-h b{font-size:16px}
.xbk-h small{font-size:12px}
.xbk-g{font-size:12px}
.xbk-tvn{font-size:12.5px}
/* xf-agui2: agent login on computer - two halves: brand + benefits on the left, the login card on the right */
@media (min-width:992px){
  body.xf-aglogin{zoom:1!important}
  .agl{display:grid!important;grid-template-columns:minmax(0,1fr) 460px;grid-template-areas:"brand card" "mf card" "foot card";column-gap:72px;row-gap:26px;align-items:center;align-content:center;max-width:none!important;width:100%!important;margin:0!important;min-height:100vh;padding:40px max(48px, calc((100vw - 1100px) / 2))!important;box-sizing:border-box}
  .agl-brand{grid-area:brand;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;gap:16px!important;align-self:end;margin:0!important}
  .agl-brand img{height:64px!important;width:auto!important}
  .agl-brand b{font-size:14px!important;letter-spacing:.08em;opacity:.75}
  .agl-brand::after{content:"Agent portal";display:block;font-size:46px;font-weight:800;color:#fff;line-height:1.05}
  .agl-card{grid-area:card;width:auto!important;max-width:none!important;padding:36px!important;margin:0!important}
  .agl-card h2{font-size:28px!important}
  .agl-sub{font-size:15px!important}
  .agl-f>span{font-size:14px!important}
  .agl-f input{font-size:17px!important}
  .agl-btn{min-height:54px;font-size:17px!important}
  .agl-help{font-size:13.5px!important}
  .agl-mf{grid-area:mf;display:flex!important;flex-direction:column!important;gap:16px!important;align-self:start;margin:0!important;width:auto!important}
  .agl-mf span{display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;font-size:18px!important;font-weight:600;color:#e2e8f0!important;text-align:left!important;width:auto!important;min-height:0!important;cursor:default}
  .agl-mf span i{width:46px;height:46px;border-radius:13px;background:rgba(255,255,255,.1);display:flex!important;align-items:center;justify-content:center;font-size:20px!important;margin:0!important}
  .agl-foot{grid-area:foot;justify-content:flex-start!important;margin:0!important}
}
/* xf-agui3: phone - agent login (brand + "Agent portal", bigger card, benefits as one plain line) and a bigger statement */
@media (max-width:991px){
  .agl-brand{flex-direction:column!important;gap:8px!important;align-items:center!important}
  .agl-brand img{height:52px!important;width:auto!important}
  .agl-brand b{font-size:12px!important;letter-spacing:.08em;opacity:.8}
  .agl-brand::after{content:"Agent portal";display:block;font-size:30px;font-weight:800;color:#fff;line-height:1.1}
  .agl-card h2{font-size:24px!important}
  .agl-sub{font-size:14px!important}
  .agl-f>span{font-size:14px!important}
  .agl-f input{font-size:16px!important}
  .agl-btn{min-height:52px;font-size:17px!important}
  .agl-help{font-size:13px!important}
  .agl-mf{display:flex!important;justify-content:center;gap:14px!important;flex-wrap:wrap}
  .agl-mf span{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;font-size:13px!important;color:#cbd5e1!important;width:auto!important;min-height:0!important;white-space:nowrap;cursor:default}
  .agl-mf span i{font-size:15px!important;margin:0!important;color:#a5b4fc}
  .st-head .co b,.st-head b{font-size:15px!important;white-space:nowrap}
  .st-head small,.st-head span{font-size:13px!important}
  .st-sum>*>small{font-size:12.5px!important}
  .st-sum>*>b{font-size:19px!important}
  .st-meta{font-size:13.5px!important;row-gap:8px!important}
  .st-meta *{font-size:13.5px!important}
  .st-meta b{font-size:15px!important}
  .st-empty{font-size:15px!important}
  .st-act a,.st-act button{font-size:15px!important;min-height:46px}
  .st-foot{font-size:12px!important}
  .st-bar a,.st-bar button,.st-bar .st-mo{font-size:15px!important}
}
