/* ZEAM_CHANNELS_FULL_OPS_V50 */

body.zs50-channels-full .zs48-table-panel{
  display:none!important;
}

.zs50-board{
  margin:20px 0;
  border:1px solid rgba(40,231,255,.18);
  border-radius:38px;
  background:
    radial-gradient(circle at 86% 0%,rgba(40,231,255,.10),transparent 36%),
    linear-gradient(120deg,rgba(255,255,255,.052),transparent 28%,rgba(40,231,255,.032)),
    linear-gradient(145deg,rgba(10,34,54,.72),rgba(1,8,17,.93));
  box-shadow:0 0 42px rgba(0,170,255,.11), inset 0 1px 0 rgba(255,255,255,.045);
  overflow:hidden;
}

.zs50-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:22px 22px 0;
}

.zs50-title{
  color:#fff;
  font-size:23px;
  font-weight:1000;
}

.zs50-sub{
  color:#93aabd;
  font-size:12px;
  line-height:1.8;
  margin-top:5px;
}

.zs50-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  border:1px solid rgba(255,217,130,.24);
  border-radius:999px;
  background:rgba(255,217,130,.08);
  color:#ffe4aa;
  padding:0 11px;
  font-size:11px;
  font-weight:1000;
  white-space:nowrap;
}

.zs50-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:22px;
}

.zs50-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(40,231,255,.15);
  border-radius:30px;
  background:
    radial-gradient(circle at 86% 0%,rgba(40,231,255,.11),transparent 34%),
    linear-gradient(145deg,rgba(3,18,31,.90),rgba(1,8,17,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 0 28px rgba(0,170,255,.065);
  padding:18px;
}

.zs50-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.zs50-identity{
  display:flex;
  gap:12px;
  align-items:center;
  min-width:0;
}

.zs50-avatar{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border:1px solid rgba(40,231,255,.20);
  border-radius:20px;
  background:rgba(9,36,56,.72);
  color:#28e7ff;
  font-size:14px;
  font-weight:1000;
  box-shadow:0 0 20px rgba(40,231,255,.10);
}

.zs50-name{
  color:#fff;
  font-size:19px;
  font-weight:1000;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.zs50-meta{
  color:#93aabd;
  font-size:12px;
  margin-top:5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.zs50-status{
  display:inline-flex;
  min-height:32px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(40,231,255,.17);
  border-radius:999px;
  background:rgba(1,10,19,.66);
  color:#dffcff;
  padding:4px 11px;
  font-size:11px;
  font-weight:1000;
}

.zs50-status.active{
  border-color:rgba(80,255,200,.24);
  color:#baffea;
  background:rgba(80,255,200,.08);
}

.zs50-status.inactive{
  border-color:rgba(255,120,152,.23);
  color:#ffc6d2;
  background:rgba(255,120,152,.08);
}

.zs50-status.warning{
  border-color:rgba(255,217,130,.24);
  color:#ffe4aa;
  background:rgba(255,217,130,.08);
}

.zs50-card-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}

.zs50-kpi{
  min-height:82px;
  border:1px solid rgba(40,231,255,.11);
  border-radius:18px;
  background:rgba(1,10,19,.50);
  padding:11px;
}

.zs50-kpi small{
  display:block;
  color:#93aabd;
  font-size:10px;
  font-weight:900;
  margin-bottom:8px;
}

.zs50-kpi strong{
  color:#fff;
  font-size:21px;
  line-height:1;
}

.zs50-card-note{
  margin-top:14px;
  border:1px solid rgba(40,231,255,.10);
  border-radius:18px;
  background:rgba(255,255,255,.025);
  color:#b8d0df;
  font-size:12px;
  line-height:1.8;
  padding:12px;
}

.zs50-progress{
  height:8px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  margin-top:12px;
}

.zs50-progress span{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg,#8f4cff,#28e7ff,#ff8b3d);
  box-shadow:0 0 15px rgba(40,231,255,.24);
}

.zs50-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:16px;
}

.zs50-btn{
  display:inline-flex;
  min-height:42px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(40,231,255,.18);
  border-radius:15px;
  background:rgba(1,10,19,.65);
  color:#e8fbff!important;
  text-decoration:none!important;
  padding:0 12px;
  font-size:12px;
  font-weight:1000;
  cursor:pointer;
}

.zs50-btn.primary{
  border-color:rgba(40,231,255,.48);
  background:linear-gradient(135deg,rgba(20,125,255,.34),rgba(1,10,19,.82));
}

.zs50-btn.gold{
  border-color:rgba(255,217,130,.26);
  color:#ffe4aa!important;
  background:rgba(255,217,130,.08);
}

.zs50-btn.red{
  border-color:rgba(255,120,152,.26);
  color:#ffc6d2!important;
  background:rgba(255,120,152,.08);
}

.zs50-drawer-backdrop{
  position:fixed;
  inset:0;
  z-index:9998;
  background:rgba(0,0,0,.52);
  backdrop-filter:blur(10px);
  display:none;
}

.zs50-drawer-backdrop.open{
  display:block;
}

.zs50-drawer{
  position:fixed;
  top:18px;
  bottom:18px;
  left:18px;
  z-index:9999;
  width:min(760px,calc(100vw - 36px));
  overflow:auto;
  border:1px solid rgba(40,231,255,.22);
  border-radius:32px;
  background:
    radial-gradient(circle at 82% 0%,rgba(40,231,255,.12),transparent 34%),
    linear-gradient(145deg,rgba(5,22,38,.97),rgba(1,8,17,.98));
  box-shadow:0 0 70px rgba(0,0,0,.52),0 0 40px rgba(0,170,255,.12),inset 0 1px 0 rgba(255,255,255,.05);
  transform:translateX(-110%);
  transition:transform .22s ease;
  color:#f4fbff;
  direction:rtl;
}

.zs50-drawer.open{
  transform:translateX(0);
}

.zs50-drawer-head{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px;
  background:linear-gradient(180deg,rgba(5,22,38,.98),rgba(5,22,38,.86));
  border-bottom:1px solid rgba(40,231,255,.12);
  backdrop-filter:blur(12px);
}

.zs50-drawer-title{
  color:#fff;
  font-size:22px;
  font-weight:1000;
}

.zs50-drawer-body{
  padding:18px;
}

.zs50-detail-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.zs50-detail-box{
  border:1px solid rgba(40,231,255,.12);
  border-radius:18px;
  background:rgba(1,10,19,.52);
  padding:12px;
}

.zs50-detail-box small{
  display:block;
  color:#93aabd;
  font-size:10px;
  margin-bottom:7px;
  font-weight:900;
}

.zs50-detail-box b{
  color:#fff;
  font-size:13px;
  word-break:break-word;
}

.zs50-edit-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
  border:1px solid rgba(255,217,130,.14);
  border-radius:22px;
  padding:14px;
  background:rgba(255,217,130,.035);
}

.zs50-edit-form label{
  display:grid;
  gap:6px;
  color:#a8bfd0;
  font-size:11px;
  font-weight:900;
}

.zs50-edit-form input,
.zs50-edit-form select,
.zs50-edit-form textarea{
  width:100%;
  min-height:42px;
  border:1px solid rgba(40,231,255,.18);
  border-radius:15px;
  background:#020b15;
  color:#f4fbff;
  padding:0 11px;
}

.zs50-edit-form textarea{
  min-height:86px;
  padding:10px 11px;
  resize:vertical;
}

.zs50-edit-form .wide{
  grid-column:span 2;
}

.zs50-mini-charts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:16px;
}

.zs50-chart{
  border:1px solid rgba(40,231,255,.12);
  border-radius:20px;
  background:rgba(1,10,19,.52);
  padding:13px;
}

.zs50-chart-title{
  color:#fff;
  font-size:14px;
  font-weight:1000;
  margin-bottom:12px;
}

.zs50-rank{
  display:grid;
  gap:9px;
}

.zs50-rank-row{
  display:grid;
  grid-template-columns:100px 1fr 48px;
  gap:8px;
  align-items:center;
  color:#dffcff;
  font-size:11px;
  font-weight:900;
}

.zs50-rank-name{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.zs50-track{
  height:14px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.07);
}

.zs50-fill{
  display:block;
  height:100%;
  min-width:4px;
  border-radius:999px;
  background:linear-gradient(90deg,#28e7ff,#147dff);
}

.zs50-raw{
  margin-top:16px;
  border:1px solid rgba(40,231,255,.12);
  border-radius:20px;
  background:rgba(1,10,19,.52);
  padding:13px;
}

.zs50-raw pre{
  white-space:pre-wrap;
  word-break:break-word;
  color:#b8d0df;
  font-size:11px;
  line-height:1.7;
  margin:0;
}

.zs50-toast{
  position:fixed;
  left:22px;
  bottom:22px;
  z-index:10000;
  display:none;
  max-width:420px;
  border:1px solid rgba(40,231,255,.22);
  border-radius:18px;
  background:rgba(1,10,19,.92);
  color:#e8fbff;
  padding:14px;
  box-shadow:0 0 34px rgba(0,0,0,.36);
}

.zs50-toast.open{
  display:block;
}

@media(max-width:1100px){
  .zs50-card-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .zs50-board{
    border-radius:26px;
  }

  .zs50-head{
    display:grid;
    grid-template-columns:1fr;
  }

  .zs50-card-grid{
    padding:14px;
  }

  .zs50-card-metrics,
  .zs50-detail-grid,
  .zs50-mini-charts,
  .zs50-edit-form{
    grid-template-columns:1fr;
  }

  .zs50-edit-form .wide{
    grid-column:span 1;
  }

  .zs50-drawer{
    top:8px;
    bottom:8px;
    left:8px;
    width:calc(100vw - 16px);
    border-radius:24px;
  }
}
