*{box-sizing:border-box}

body{
  margin:0;
  background:#07121a;
  color:#eef5f8;
  font-family:Arial,sans-serif;
}

.topbar{
  padding:22px 28px;
  border-bottom:1px solid #1f3947;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#091923;
}

.eyebrow{
  color:#54b9df;
  letter-spacing:2px;
  font-size:10px;
  font-weight:700;
}

h1{
  margin:5px 0 0;
  font-size:22px;
}

.actions{
  display:flex;
  gap:8px;
}

button,.actions a{
  padding:9px 14px;
  background:#0b5d7c;
  border:1px solid #2b7894;
  border-radius:6px;
  color:#fff;
  text-decoration:none;
  cursor:pointer;
}

main{
  max-width:1700px;
  margin:auto;
  padding:25px;
}

.summary-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-bottom:20px;
}

.summary-card{
  background:#0b1c27;
  border:1px solid #203b49;
  border-radius:9px;
  padding:20px;
}

.summary-card label{
  display:block;
  color:#7899aa;
  font-size:10px;
  text-transform:uppercase;
  margin-bottom:10px;
}

.summary-card strong{
  font-size:25px;
}

.tabs{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.tab{
  background:#0c1b25;
  border-color:#27414e;
}

.tab.active{
  background:#0d6685;
}

.panel{
  display:none;
  background:#0a1821;
  border:1px solid #213a47;
  border-radius:9px;
  overflow:auto;
}

.active-panel{display:block}

.panel-head{
  padding:18px;
  border-bottom:1px solid #203642;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.panel-head h2{
  margin:0;
  font-size:17px;
}

.panel-head p{
  color:#7f98a5;
  font-size:12px;
  margin:4px 0 0;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:12px;
  border-bottom:1px solid #192f3a;
  text-align:left;
  font-size:12px;
}

th{
  color:#7897a7;
  font-size:10px;
}

.empty,.placeholder{
  text-align:center;
  color:#718995;
  padding:35px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  padding:20px;
}

input,select{
  width:100%;
  padding:11px;
  border-radius:5px;
  border:1px solid #284553;
  background:#08151d;
  color:#fff;
}

#saveBtn{
  margin:0 20px 20px;
}

#toast{
  position:fixed;
  right:20px;
  bottom:20px;
  padding:10px 15px;
  background:#195340;
  border-radius:6px;
  opacity:0;
}

#toast.show{opacity:1}

@media(max-width:900px){
  .summary-grid,.form-grid{
    grid-template-columns:1fr;
  }
}

.rtgs-action-bar{
  padding:20px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  border-top:1px solid #203844;
}

.rtgs-action-bar button{
  min-height:38px;
  background:#0d2633;
  border:1px solid #315363;
  color:#eaf6fb;
}

.rtgs-action-bar .primary{
  background:#08769a;
}

.rtgs-action-bar .send{
  background:#087d5c;
}

.rtgs-action-bar button:disabled{
  opacity:.35;
  cursor:not-allowed;
}

.rtgs-status-strip{
  margin:0 20px 20px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid #203d49;
  border-radius:7px;
  overflow:hidden;
}

.rtgs-status-strip > div{
  padding:14px;
  background:#091a23;
  border-right:1px solid #203d49;
}

.rtgs-status-strip > div:last-child{
  border-right:0;
}

.rtgs-status-strip label{
  display:block;
  font-size:9px;
  color:#6f929f;
  text-transform:uppercase;
  margin-bottom:7px;
}

.rtgs-status-strip strong{
  font-size:12px;
}

@media(max-width:900px){
  .rtgs-status-strip{
    grid-template-columns:1fr;
  }
}
