/* The sidebar every signed-in screen shows (the dashboard and the Blade screens), grouped: Sales, Flights, Hotels, DMC, Accounts, Admin.
   One source for its look: the dashboard loads this after its own styles, the Blade screens load it with admin.css. Colours are written out
   (not variables) because the two stylesheets name their variables differently. */
.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#07172d;color:#fff;padding:22px 14px 14px;display:flex;flex-direction:column;z-index:10;font-family:'DM Sans',system-ui,sans-serif;font-size:14px;line-height:1.4}
.sidebar .brand{font:800 22px Manrope,sans-serif;text-decoration:none;color:#fff;display:flex;align-items:center;gap:9px;padding:0 6px 4px}
.sidebar .brand>span:last-child,.sidebar .brand span{color:#4ce0d2}
.sidebar .brand-mark{width:32px;height:32px;border-radius:10px;background:#12314a;display:grid;place-items:center;color:#4ce0d2!important}
.side-home{margin:10px 0 0;padding-bottom:8px;border-bottom:1px solid #12263d;flex:0 0 auto}
.side-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;margin:6px -8px 0;padding:0 8px;scrollbar-width:thin;scrollbar-color:#27405e transparent}
.side-scroll::-webkit-scrollbar{width:6px}.side-scroll::-webkit-scrollbar-thumb{background:#27405e;border-radius:6px}
.side-label{display:flex;align-items:center;justify-content:space-between;width:calc(100% - 16px);margin:16px 8px 4px;padding:4px 4px;background:none;border:0;border-radius:6px;font:700 10px 'DM Sans',sans-serif;letter-spacing:.16em;color:#668098;cursor:pointer;text-align:left}
.side-label:hover{color:#9eb4c8}
.side-label i{font-style:normal;font-size:11px;transition:transform .15s}
.side-label[aria-expanded=false] i{transform:rotate(-90deg)}
.sidebar nav[hidden]{display:none}
.side-scroll>.side-label:first-child{margin-top:6px}
.sidebar nav{display:grid;gap:2px}
.sidebar nav a{color:#9eabba;text-decoration:none;padding:8px 12px;border-radius:9px;display:flex;align-items:center;gap:11px;font-weight:600;font-size:13.5px}
.sidebar nav a:hover{color:#fff;background:#0d2540}
.sidebar nav a span{font-size:15px;width:20px;text-align:center;flex:0 0 auto}
.sidebar nav a b{margin-left:auto;background:#16344c;color:#8aa5b7;padding:2px 7px;border-radius:10px;font-size:11px}
.sidebar nav a b[hidden]{display:none}
.sidebar nav a.active{color:#fff;background:#12314a}
.sidebar nav a.active span,.sidebar nav a.active b{color:#4ce0d2}
.sidebar nav a.primary{background:#0e9183;color:#fff;margin:2px 0 4px;padding:10px 12px;font-weight:700;box-shadow:0 4px 14px rgba(14,145,131,.28)}
.sidebar nav a.primary:hover{background:#12a496;color:#fff}
.sidebar nav a.primary span,.sidebar nav a.primary.active span{color:#fff}
.sidebar nav a.primary.active{background:#0e9183;box-shadow:0 0 0 2px #4ce0d2 inset,0 4px 14px rgba(14,145,131,.28)}
.side-bottom{margin-top:10px;padding-top:8px;border-top:1px solid #12263d;flex:0 0 auto}
.sidebar .avatar{width:34px;height:34px;border-radius:50%;background:#d9f5ef;color:#08766b;display:grid;place-items:center;font-size:11px;font-weight:800;flex:0 0 auto}
.side-bottom button,.side-agency{width:100%;border:0;background:none;color:#fff;display:flex;align-items:center;gap:9px;text-align:left;padding:8px 5px;font:inherit;cursor:pointer;text-decoration:none;border-radius:9px}
.side-agency:hover,.side-bottom button#companyBtn:hover{background:#0d2540}
.side-bottom button span:nth-child(2),.side-agency span:nth-child(2){font-weight:700;font-size:13px}
.side-bottom button small,.side-agency small{display:block;color:#7690a4;font-weight:400;font-size:11px}
.side-bottom button i{margin-left:auto}

/* hide the menu for more room (a desktop screen; a phone already folds it away). The choice is remembered. */
.sb-hide{position:absolute;top:24px;right:10px;width:26px;height:26px;border-radius:8px;border:1px solid #1d3552;background:#0b2036;color:#8aa5b7;cursor:pointer;font:700 15px/1 'DM Sans',sans-serif;padding:0;display:grid;place-items:center}
.sb-hide:hover{color:#fff;background:#12314a}
.sb-show{display:none}
@media(min-width:851px){
  .sb-hidden .sidebar{transform:translateX(-100%);visibility:hidden}
  .sb-hidden .shell,.sb-hidden main{margin-left:0}
  .sb-hidden .sb-show{display:grid;position:fixed;left:10px;top:12px;z-index:30;width:34px;height:34px;place-items:center;border-radius:9px;border:1px solid #2a3d5c;background:#07172d;color:#fff;cursor:pointer;font-size:16px;padding:0;box-shadow:0 4px 14px rgba(15,30,50,.25)}
  .sb-hidden .sb-show:hover{background:#12314a}
  .sb-hidden .pagebar{padding-left:3.4rem}
  .sb-hidden .topbar{padding-left:56px}
  .sb-hidden .imp-mini{display:block;position:fixed;right:10px;bottom:10px;z-index:30}
}
@media(max-width:850px){.sb-hide{display:none}}

/* a platform owner looking at an agency: a small card under the brand, and on a phone a small button in the corner */
.side-imp{margin:8px 6px 0;flex:0 0 auto}
.side-imp button{background:#0f9d8a;color:#fff;border:0;border-radius:7px;padding:4px 10px;font:700 11px 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap}
.side-imp button:hover{background:#12b39e}
.imp-mini{display:none;margin:0}
.imp-mini button{background:#12233f;color:#fff;border:1px solid #2a3d5c;border-radius:999px;padding:.35rem .8rem;font:700 .78rem 'DM Sans',sans-serif;cursor:pointer;box-shadow:0 4px 14px rgba(15,30,50,.3)}

/* the Blade screens: the page sits beside the sidebar; a slim bar with the menu button replaces it on a phone */
.shell{margin-left:238px;min-width:0}
.pagebar{display:flex;align-items:center;gap:.8rem;padding:.6rem 1.25rem 0;min-height:56px;position:relative;z-index:20}
.pagebar .menu-btn,.pagebar .brand-sm{display:none}
.pagebar .usermenu{margin-left:auto}
.pagebar .menu-btn{background:none;border:1px solid #2a3d5c;color:#fff;border-radius:8px;padding:.25rem .6rem;font-size:1.1rem;cursor:pointer}
.pagebar .brand-sm{font:800 1.05rem Manrope,sans-serif;color:#fff;text-decoration:none}
.pagebar .brand-sm span{color:#4ce0d2}

/* the signed-in person at the top right: a round photo (or initials) opening a small menu */
.usermenu{position:relative;font-family:'DM Sans',system-ui,sans-serif;font-size:14px}
.um-btn{width:38px;height:38px;border-radius:50%;border:2px solid #fff;background:#102a43;color:#fff;font:800 12px 'DM Sans',sans-serif;cursor:pointer;padding:0;display:grid;place-items:center;overflow:hidden;box-shadow:0 0 0 1px #cfd8e3}
.um-btn:hover,.um-btn[aria-expanded=true]{box-shadow:0 0 0 2px #16b7a4}
.um-btn img,.um-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.um-panel{position:absolute;right:0;top:46px;width:272px;background:#fff;color:#12233f;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 14px 40px rgba(15,30,50,.2);padding:14px;z-index:60}
.um-panel[hidden]{display:none}
.um-head{display:flex;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid #e9eef4;margin-bottom:8px}
.um-avatar{width:52px;height:52px;border-radius:50%;background:#102a43;color:#fff;display:grid;place-items:center;font:800 16px 'DM Sans',sans-serif;overflow:hidden;flex:0 0 auto}
.um-head strong{display:block;font-size:14px;line-height:1.25}
.um-head small{display:block;color:#6d788b;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.um-photo{margin:0}
.um-link{display:block;width:100%;text-align:left;background:none;border:0;padding:7px 8px;border-radius:8px;color:#0b6f66;font:600 13px 'DM Sans',sans-serif;cursor:pointer}
.um-link:hover{background:#eef6f5}
.um-out{margin:8px 0 0;padding-top:8px;border-top:1px solid #e9eef4}
.um-out button{width:100%;background:#fff;border:1px solid #d5dde8;color:#12233f;border-radius:8px;padding:8px;font:700 13px 'DM Sans',sans-serif;cursor:pointer}
.um-out button:hover{background:#f3f6f8}
.um-flash{position:absolute;right:0;top:46px;width:max-content;max-width:280px;padding:8px 12px;border-radius:9px;font:600 12.5px 'DM Sans',sans-serif;box-shadow:0 8px 24px rgba(15,30,50,.18);animation:umfade 6s forwards;z-index:55}
.um-flash.ok{background:#e3f4ea;color:#157347;border:1px solid #b7e0c8}
.um-flash.bad{background:#fde8e6;color:#b42318;border:1px solid #f1b8b2}
@keyframes umfade{0%,80%{opacity:1}100%{opacity:0;visibility:hidden}}

@media(max-width:850px){
  .sidebar{transform:translateX(-100%);transition:.25s;box-shadow:none}
  .sidebar.open{transform:none;box-shadow:0 0 0 100vmax rgba(7,19,37,.45)}
  .shell{margin-left:0}
  .pagebar{background:#07172d;color:#fff;padding:.6rem .9rem;min-height:0;position:sticky;top:0}
  .pagebar .menu-btn,.pagebar .brand-sm{display:inline-block}
  .pagebar .um-btn{border-color:#07172d}
  .imp-mini{display:block;position:fixed;right:10px;bottom:10px;z-index:30}
}
@media print{.sidebar,.pagebar,.imp-mini,.sb-show,.usermenu{display:none!important}.shell{margin-left:0}}
