:root{
  --cold-charcoal:#00040F;
  --deep-harbor:#0A3A62;
  --royal-ascent:#1162A6;
  --pinnacle-blue:#2D95EA;
  --summit-gold:#E9C170;
  --snowcap:#F5FBFC;
  --mist:#C7E3F9;
  --white:#FFFFFF;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: Arial, sans-serif;
  background: var(--snowcap);
  color: var(--cold-charcoal);
}

.topbar{
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.topbar-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}

.brand-mark{
  height:46px;
  padding:4px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-mark img{
  width:auto;
  height:36px;
  object-fit:contain;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand-text .line1{
  font-weight:800;
  color: var(--deep-harbor);
  letter-spacing:.4px;
}

.brand-text .line2{
  font-weight:800;
  color: var(--royal-ascent);
  letter-spacing:.4px;
}

.topbar-note{
  color:rgba(0,0,0,.55);
  font-weight:700;
  font-size:13px;
}

.hero{
  padding: 46px 22px 18px;
  background: radial-gradient(1200px 500px at 50% 0%, rgba(199,227,249,.85) 0%, rgba(245,251,252,1) 60%);
}

.hero-inner{
  max-width:1200px;
  margin:0 auto;
  text-align:center;
}

h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 38px);
  color: var(--cold-charcoal);
  font-weight: 800;
  letter-spacing: -1px;
}

.subhead{
  margin: 0 auto 10px;
  max-width:920px;
  color: rgba(0,0,0,.70);
  font-size:18px;
  line-height:1.5;
}

.quote{
  margin: 12px auto 0;
  max-width:820px;
  color: var(--pinnacle-blue);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
}

.center-icon{
  display:flex;
  justify-content:center;
  padding:20px 0 0;
}

.icon-badge{
  width:192px;
  height:192px;
  border-radius:28px;
  background: linear-gradient(135deg, rgba(17,98,166,.10), rgba(45,149,234,.08));
  border: 1px solid rgba(10,58,98,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:center;
}

.icon-badge img{
  width:75%;
  height:auto;
  object-fit:contain;
}

.panel-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:26px 22px 60px;
  display:flex;
  justify-content:center;
}

.panel{
  width:min(820px, 100%);
  background: var(--white);
  border: 1px solid rgba(10,58,98,.10);
  border-radius:20px;
  box-shadow: 0 18px 46px rgba(0,0,0,.08);
  padding:22px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:stretch;
}

.panel-left{
  padding:10px 10px 10px 12px;
  text-align:left;
}

.pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(199,227,249,.75);
  color: var(--deep-harbor);
  font-weight:800;
  font-size:12px;
  letter-spacing:.3px;
}

.panel-left h2{
  margin:12px 0 8px;
  color: var(--deep-harbor);
  font-size:22px;
  letter-spacing:-.2px;
}

.panel-left p{
  margin:0;
  color: rgba(0,0,0,.66);
  line-height:1.5;
  font-size:14px;
}

.note-block{
  margin-top:10px !important;
}

.note-block strong{
  color: var(--deep-harbor);
}

.panel-right{
  background: linear-gradient(180deg, rgba(245,251,252,1) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid rgba(10,58,98,.08);
  border-radius:16px;
  padding:16px;
  text-align:left;
}

label{
  display:block;
  font-weight:800;
  color: var(--deep-harbor);
  font-size:13px;
  margin:10px 0 6px;
}

input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border: 1px solid rgba(0,0,0,.16);
  outline:none;
  font-size:14px;
  background: var(--white);
}

input:focus{
  border-color: rgba(45,149,234,.75);
  box-shadow: 0 0 0 4px rgba(45,149,234,.12);
}

.btn{
  width:100%;
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px;
  border:none;
  background: var(--royal-ascent);
  color: var(--white);
  font-weight:900;
  letter-spacing:.2px;
  cursor:pointer;
  font-size:14px;
}

.btn:hover{
  opacity:.96;
}

.small{
  margin-top:10px;
  font-size:12px;
  color: rgba(0,0,0,.56);
  line-height:1.4;
}

.small a{
  color: var(--pinnacle-blue);
  font-weight:800;
  text-decoration:none;
}

/* Login Page Footer */

.login-footer{
  margin-top:60px;
  padding:22px 20px;
  border-top:1px solid rgba(0,0,0,.06);
  background:var(--snowcap);
}

.login-footer-inner{
  max-width:1100px;
  margin:auto;
  text-align:center;
  font-size:13px;
  line-height:1.7;
  color:rgba(0,0,0,.65);
}

.login-footer a{
  color:var(--royal-ascent);
  text-decoration:none;
  font-weight:600;
}

.login-footer a:hover{
  text-decoration:underline;
}

.footer-copy{
  margin-top:4px;
  font-size:12px;
  color:rgba(0,0,0,.5);
}

@media (max-width: 860px){
  .panel{grid-template-columns: 1fr;}
  .brand{min-width:auto;}
  .topbar-inner{flex-direction:column; align-items:flex-start;}
}
.login-error{
  max-width:820px;
  margin:20px auto 0;
  padding:12px 16px;
  border-radius:12px;
  background:rgba(220,53,69,0.08);
  border:1px solid rgba(220,53,69,0.18);
  color:#842029;
  font-size:14px;
}

.otp-section{
  display:none;
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(10,58,98,.08);
}

.otp-section.show{
  display:block;
}

.otp-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.28);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:20px;
}

.otp-popup.show{
  display:flex;
}

.otp-popup-box{
  width:min(420px, 100%);
  background:var(--white);
  border-radius:18px;
  padding:24px 22px;
  box-shadow:0 18px 46px rgba(0,0,0,.18);
  text-align:center;
  border:1px solid rgba(10,58,98,.10);
}

.otp-popup-title{
  font-size:20px;
  font-weight:800;
  color:var(--deep-harbor);
  margin-bottom:10px;
}

.otp-popup-text{
  font-size:14px;
  color:rgba(0,0,0,.72);
  line-height:1.5;
  margin-bottom:18px;
}

.popup-btn{
  padding:10px 18px;
  border:none;
  border-radius:12px;
  background:var(--royal-ascent);
  color:var(--white);
  font-weight:800;
  cursor:pointer;
  min-width:110px;
}

.popup-btn:hover{
  opacity:.96;
}

/* =========================================
   Staff App Shell
========================================= */

.staff-sidebar{
  width:250px;
  background:#0a3a62;
  color:#ffffff;
  padding:24px 18px;
  display:flex;
  flex-direction:column;
  gap:18px;
  flex-shrink:0;

  position:fixed;
  top:0;
  left:0;
  height:100vh;
  overflow-y:auto;
}

/* Collapsed Sidebar */

body.sidebar-collapsed .staff-sidebar{
  width:72px;
  padding:24px 10px;
}

body.sidebar-collapsed .staff-brand-title,
body.sidebar-collapsed .staff-brand-subtitle,
body.sidebar-collapsed .staff-nav-group-title,
body.sidebar-collapsed .staff-nav a{
  font-size:0;
}

body.sidebar-collapsed .main{
  margin-left:72px;
  width:calc(100% - 72px);
}

body.sidebar-collapsed .staff-topbar{
  left:72px;
}

.staff-brand{
  display:flex;
  align-items:center;
  gap:14px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.15);
  min-width:0;
}

.staff-brand img{
  width:52px;
  height:52px;
  object-fit:contain;
  flex-shrink:0;
}

.staff-brand-title{
  font-size:28px;
  font-weight:800;
  line-height:1;
  letter-spacing:.3px;
  color:#ffffff;
}

.staff-brand-subtitle{
  font-size:14px;
  color:rgba(255,255,255,.75);
  margin-top:4px;
}

.staff-nav-group-title{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:rgba(255,255,255,.75);
  margin:8px 0 4px;
}

.staff-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.staff-nav a{
  text-decoration:none;
  color:#ffffff;
  padding:12px 14px;
  border-radius:12px;
  display:block;
  background:rgba(255,255,255,.05);
  transition:background .15s ease;
  font-weight:600;
}

.staff-nav a:hover{
  background:rgba(255,255,255,.12);
}

.staff-nav a.active{
  background:rgba(255,255,255,.18);
}

.staff-sidebar-footer{
  margin-top:auto;
  font-size:12px;
  color:rgba(255,255,255,.75);
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.15);
}

.main{
  flex:1;
  min-width:0;
  margin-left:250px;
  width:calc(100% - 250px);
}

.content{
  padding:26px;
  margin-top:72px;
}

.staff-topbar{
  position:fixed;
  top:0;
  left:250px;
  right:0;
  height:72px;
  background:#ffffff;
  border-bottom:1px solid #d9e3ea;
  padding:18px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  z-index:1000;
}

.staff-topbar-left h1{
  margin:0;
  font-size:30px;
  color:#12385b;
}

.staff-topbar-left p{
  margin:6px 0 0;
  color:#5f7385;
  font-size:14px;
}

.staff-topbar-right{
  text-align:right;
  font-size:14px;
  color:#5f7385;
}

.staff-topbar-right strong{
  color:#12385b;
}

.staff-topbar-heading{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.staff-topbar-titles{
  display:flex;
  flex-direction:column;
}

.staff-sidebar-toggle{
  width:44px;
  height:44px;
  border:none;
  border-radius:12px;
  background:#eef3f6;
  color:#12385b;
  font-size:22px;
  font-weight:800;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.staff-sidebar-toggle:hover{
  background:#e3edf5;
}

.staff-user-menu{
  position:relative;
  display:inline-block;
  padding-bottom:4px;
}

.staff-user-trigger{
  background:none;
  border:none;
  padding:8px 12px;
  border-radius:12px;
  cursor:pointer;
  text-align:right;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  min-width:220px;
}

.staff-user-trigger:hover{
  background:rgba(17,98,166,.06);
}

.staff-user-name{
  color:#12385b;
  font-size:14px;
}

.staff-user-meta{
  color:#5f7385;
  font-size:14px;
}

.staff-user-dropdown{
  position:absolute;
  top:100%;
  right:0;
  margin-top:0;
  min-width:190px;
  background:#ffffff;
  border:1px solid #d9e3ea;
  border-radius:14px;
  box-shadow:0 14px 28px rgba(0,0,0,.10);
  padding:8px;
  display:none;
  z-index:1100;
}

.staff-user-dropdown a{
  display:block;
  text-decoration:none;
  color:#12385b;
  font-weight:600;
  padding:10px 12px;
  border-radius:10px;
}

.staff-user-dropdown a:hover{
  background:#eef3f6;
}

.staff-user-menu:hover .staff-user-dropdown{
  display:block;
}

@media (max-width: 900px){
  .staff-sidebar{
    width:100%;
    position:relative;
    height:auto;
    overflow:visible;
  }

  .main{
    margin-left:0;
    width:100%;
  }

  .staff-topbar{
    position:relative;
    top:auto;
    left:auto;
    right:auto;
    height:auto;
    flex-direction:column;
    align-items:flex-start;
  }

  .staff-topbar-right{
    text-align:left;
  }

  .content{
    margin-top:0;
  }
}
.peaco-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.28);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
  padding:20px;
}

.peaco-modal-overlay.show{
  display:flex;
}

.peaco-modal-card{
  width:min(560px, 100%);
  background:var(--white);
  border:1px solid rgba(10,58,98,.10);
  border-radius:20px;
  box-shadow:0 18px 46px rgba(0,0,0,.18);
  padding:28px 24px;
  text-align:left;
}

.peaco-modal-title{
  margin:0 0 14px;
  font-size:32px;
  line-height:1.1;
  color:var(--deep-harbor);
  font-weight:800;
}

.peaco-modal-text{
  margin:0 0 14px;
  font-size:16px;
  line-height:1.6;
  color:rgba(0,0,0,.72);
}

.peaco-modal-actions{
  margin-top:20px;
  display:flex;
  justify-content:flex-end;
}

.peaco-modal-btn{
  min-width:220px;
  padding:12px 22px;
  border:none;
  border-radius:12px;
  background:var(--royal-ascent);
  color:var(--white);
  font-weight:800;
  font-size:16px;
  cursor:pointer;
}

.peaco-modal-btn:hover{
  opacity:.96;
}