/* =========================================================
   VPSLOOK PRO MAX WEB DASHBOARD
   ========================================================= */

.vps-pro-body{
  margin:0;
  background:#f3f6fb;
  color:#18212b;
  font-family:Inter,Segoe UI,Arial,sans-serif;
}

.vps-pro-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:14px 20px;
  background:#f8fbff;
  border-bottom:1px solid #d8e2ef;
}

.vps-pro-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.vps-pro-brand img{
  width:34px;
  height:34px;
  object-fit:contain;
}

.vps-pro-brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}

.vps-pro-brand-text strong{
  font-size:15px;
  font-weight:800;
  color:#102131;
}

.vps-pro-brand-text span{
  font-size:11px;
  color:#708297;
}

.vps-pro-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.vps-pro-actions .act{
  min-height:30px;
  border:none;
  border-radius:6px;
  padding:6px 12px;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  box-shadow:none;
  width:auto;
}

.vps-pro-actions .green{background:#20c26b;color:#fff;}
.vps-pro-actions .blue{background:#4380ff;color:#fff;}
.vps-pro-actions .red{background:#f05b57;color:#fff;}
.vps-pro-actions .orange{background:#f6b13f;color:#fff;}
.vps-pro-actions .gray{background:#d9e1eb;color:#364657;}
.vps-pro-actions .dark{background:#7e8794;color:#fff;}
.vps-pro-actions .ghost{
  background:#ffffff;
  border:1px solid #d7e0ea;
  color:#546476;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.vps-pro-shell{
  padding:12px;
}

.vps-module-bar{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:center;
  padding:8px 10px;
  background:#f8fbff;
  border:1px solid #d8e2ef;
  border-radius:8px;
  margin-bottom:10px;
}

.vps-module-bar .mod{
  width:auto;
  min-height:26px;
  border:none;
  border-radius:4px;
  padding:5px 10px;
  background:#153d7a;
  color:#fff;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
  box-shadow:none;
}

.vps-module-bar .mod.active{
  background:#2d74ea;
}

.vps-breadcrumb-box{
  background:#fbfdff;
  border:1px solid #d8e2ef;
  border-radius:8px;
  padding:10px 12px;
  margin-bottom:10px;
}

.crumb-top{
  display:flex;
  gap:6px;
  margin-bottom:6px;
}

.crumb-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  border-radius:999px;
  background:#eef4fc;
  border:1px solid #d8e4f4;
  color:#4f6478;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
}

.crumb-line{
  font-size:13px;
  color:#13283c;
  margin-bottom:4px;
}

.vps-breadcrumb-box p{
  margin:0;
  font-size:11px;
  color:#76889a;
}

.vps-focus-card{
  background:#ffffff;
  border:1px solid #d8e2ef;
  border-top:3px solid #18b86c;
  border-radius:8px;
  padding:12px;
  margin-bottom:10px;
}

.focus-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  margin-bottom:12px;
}

.focus-left{
  flex:1;
  min-width:0;
}

.focus-mode-tabs{
  display:flex;
  gap:8px;
  margin-bottom:8px;
}

.focus-mode-tabs .mode{
  font-size:9px;
  font-weight:800;
  color:#6e8196;
  text-transform:uppercase;
}

.focus-mode-tabs .mode.active{
  color:#132a3f;
}

.focus-title-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:6px;
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#18b86c;
  flex:0 0 auto;
}

.focus-title-row h2{
  margin:0;
  font-size:24px;
  line-height:1.05;
  color:#102335;
  letter-spacing:-0.03em;
}

.online-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:3px 8px;
  border-radius:999px;
  background:#e9faef;
  border:1px solid #bde6ca;
  color:#18a75f;
  font-size:10px;
  font-weight:800;
}

.focus-desc{
  margin:0 0 10px;
  font-size:11px;
  color:#6d8094;
  line-height:1.45;
}

.focus-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.focus-meta span{
  display:inline-flex;
  align-items:center;
  padding:4px 7px;
  border-radius:4px;
  background:#f4f8fc;
  border:1px solid #dce6f2;
  color:#5f7387;
  font-size:9px;
  white-space:nowrap;
}

.focus-health{
  width:130px;
  text-align:right;
  flex:0 0 auto;
}

.health-label{
  font-size:10px;
  color:#6f8297;
  margin-bottom:4px;
}

.health-score{
  font-size:38px;
  line-height:1;
  font-weight:900;
  color:#16ad62;
  letter-spacing:-0.05em;
}

.health-state{
  font-size:11px;
  color:#6f8297;
  font-weight:700;
  margin-top:4px;
}

.live-metrics-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
}

.metric-box{
  background:#fbfdff;
  border:1px solid #dbe5f0;
  border-radius:6px;
  padding:10px;
}

.metric-label{
  font-size:10px;
  font-weight:800;
  color:#5f6f84;
  margin-bottom:6px;
  text-transform:uppercase;
}

.metric-value{
  font-size:22px;
  font-weight:900;
  letter-spacing:-0.03em;
  margin-bottom:2px;
}

.metric-sub{
  font-size:10px;
  color:#8190a2;
  margin-bottom:8px;
}

.metric-box.cpu .metric-value{color:#2f7ef7;}
.metric-box.ram .metric-value{color:#7a5bf5;}
.metric-box.disk .metric-value{color:#16b86b;}
.metric-box.net .metric-value{color:#f4a400;}
.metric-box.svc .metric-value{color:#15283b;}

.metric-bar{
  height:8px;
  background:#162335;
  border-radius:999px;
  overflow:hidden;
}

.metric-bar span{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#5ca7ff,#7a5bf5);
}

.metric-box.disk .metric-bar span{
  background:linear-gradient(90deg,#22d07f,#16b86b);
}

.metric-box.net .metric-bar span{
  background:linear-gradient(90deg,#f5c14f,#f4a400);
}

.metric-box.svc .metric-bar span{
  background:linear-gradient(90deg,#21c56e,#21c56e);
}

.double-operational-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:10px;
}

.pro-panel{
  background:#ffffff;
  border:1px solid #d8e2ef;
  border-radius:8px;
  padding:10px;
}

.panel-title{
  font-size:13px;
  font-weight:800;
  color:#15283b;
  margin-bottom:8px;
}

.alert-list{
  display:grid;
  gap:6px;
}

.alert-row{
  min-height:24px;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #f2dcb3;
  background:#fff8ea;
  color:#c98018;
  border-radius:4px;
  padding:0 10px;
  font-size:10px;
}

.alert-row .bullet{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#f4a400;
  flex:0 0 auto;
}

.ssh-mini-meta{
  font-size:10px;
  color:#6e8093;
  margin-bottom:6px;
}

.ssh-command-input{
  width:100%;
  min-height:32px;
  border-radius:4px;
  border:1px solid #d9e3ef;
  background:#f9fbfe;
  padding:8px 10px;
  font-size:11px;
  color:#1d2b39;
  margin-bottom:6px;
}

.ssh-helper{
  font-size:10px;
  color:#708196;
  margin-bottom:8px;
}

.ssh-fast-actions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:4px;
}

.ssh-fast-actions button{
  width:100%;
  min-height:26px;
  border:none;
  border-radius:4px;
  background:#4d82eb;
  color:#fff;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}

.center-economy-row{
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:10px;
  align-items:start;
}

.fleet-panel,
.economy-panel{
  background:#ffffff;
  border:1px solid #d8e2ef;
  border-radius:8px;
  padding:10px;
}

.with-action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.table-refresh{
  width:auto;
  min-height:24px;
  border:none;
  border-radius:4px;
  padding:4px 10px;
  font-size:10px;
  background:#d7e2ef;
  color:#45596c;
  font-weight:700;
}

.fleet-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  flex-wrap:wrap;
}

.fleet-toolbar label{
  font-size:10px;
  color:#5b6e83;
}

.fleet-toolbar input{
  min-height:24px;
  border-radius:4px;
  border:1px solid #d9e3ef;
  padding:4px 8px;
  font-size:10px;
  background:#f9fbfe;
}

.fleet-toolbar button{
  width:auto;
  min-height:24px;
  border:none;
  border-radius:4px;
  padding:4px 10px;
  font-size:10px;
  background:#e9eef5;
  color:#405163;
  font-weight:700;
}

.fleet-table-wrap{
  overflow:auto;
  border:1px solid #dfe8f1;
  border-radius:6px;
}

.fleet-table{
  width:100%;
  border-collapse:collapse;
  min-width:1180px;
  background:#fff;
}

.fleet-table thead th{
  background:#f4f8fc;
  color:#55697d;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.04em;
  padding:8px 8px;
  border-bottom:1px solid #dde7f2;
  text-align:left;
  white-space:nowrap;
}

.fleet-table tbody td{
  padding:8px 8px;
  border-bottom:1px solid #edf2f7;
  font-size:10px;
  color:#213245;
  white-space:nowrap;
}

.fleet-table tbody tr:hover{
  background:#f8fbff;
}

.row-green{background:#f3fcf7;}
.row-red{background:#fff5f5;}
.row-gray{background:#f9fafc;}

.fleet-console-placeholder{
  height:26px;
  margin-top:8px;
  border:1px solid #d8e2ef;
  border-radius:4px;
  background:#eff4fa;
}

.economy-sub{
  margin:0 0 10px;
  font-size:10px;
  color:#6f8196;
  line-height:1.45;
}

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

.econ-tab{
  padding:4px 8px;
  border-radius:999px;
  font-size:9px;
  font-weight:800;
  background:#eef4fb;
  border:1px solid #dbe5f2;
  color:#5c6f84;
}

.econ-tab.active{
  background:#2d74ea;
  border-color:#2d74ea;
  color:#fff;
}

.focus-inline-box{
  border:1px solid #dce6f2;
  border-radius:6px;
  padding:8px;
  background:#fbfdff;
  margin-bottom:10px;
}

.small-title{
  font-size:9px;
  font-weight:800;
  color:#738499;
  text-transform:uppercase;
  margin-bottom:3px;
}

.focus-inline-box strong{
  display:block;
  font-size:12px;
  color:#1b3044;
}

.small-note{
  font-size:10px;
  color:#718396;
  margin-top:3px;
}

.economy-mini-strip{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:6px;
  margin-bottom:10px;
}

.strip-card{
  background:#fbfdff;
  border:1px solid #dce6f2;
  border-radius:6px;
  padding:8px;
}

.strip-card strong{
  display:block;
  margin-top:6px;
  font-size:13px;
  color:#18314a;
}

.economy-summary-head{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:6px;
  margin-bottom:10px;
}

.economy-summary-head > div{
  background:#fbfdff;
  border:1px solid #dce6f2;
  border-radius:6px;
  padding:8px;
}

.economy-summary-head strong{
  display:block;
  font-size:11px;
  color:#1a3044;
  margin-top:3px;
}

.economy-kpi-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:6px;
  margin-bottom:10px;
}

.kpi-card{
  background:#fbfdff;
  border:1px solid #dce6f2;
  border-radius:6px;
  padding:8px;
}

.kpi-top{
  font-size:9px;
  font-weight:800;
  color:#73849a;
  text-transform:uppercase;
  margin-bottom:6px;
}

.kpi-value{
  font-size:24px;
  line-height:1;
  font-weight:900;
  color:#152d44;
  letter-spacing:-0.04em;
  margin-bottom:8px;
}

.kpi-bar{
  height:7px;
  background:#12263a;
  border-radius:999px;
  overflow:hidden;
}

.kpi-bar span{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#2d74ea,#8cb2ff);
}

.economy-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-bottom:10px;
}

.detail-box{
  background:#fbfdff;
  border:1px solid #dce6f2;
  border-radius:6px;
  padding:8px;
}

.detail-title{
  font-size:10px;
  font-weight:800;
  color:#6c8095;
  text-transform:uppercase;
  margin-bottom:8px;
}

.detail-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:4px 0;
  border-bottom:1px solid #edf2f8;
  font-size:10px;
  color:#6c7f92;
}

.detail-row:last-child{
  border-bottom:none;
}

.detail-row strong{
  color:#192f44;
  text-align:right;
}

.economy-footer-box{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  background:#fbfdff;
  border:1px solid #dce6f2;
  border-radius:6px;
  padding:10px;
}

.economy-footer-box strong{
  display:block;
  font-size:12px;
  color:#183149;
  margin-bottom:4px;
}

.economy-footer-box p{
  margin:0;
  font-size:10px;
  color:#718397;
  line-height:1.45;
}

.economy-footer-box button{
  width:auto;
  min-height:28px;
  border:none;
  border-radius:4px;
  background:#4b82eb;
  color:#fff;
  padding:6px 12px;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}

@media (max-width: 1500px){
  .live-metrics-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .center-economy-row{
    grid-template-columns:1fr;
  }

  .economy-kpi-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width: 1100px){
  .focus-head{
    flex-direction:column;
  }

  .double-operational-row{
    grid-template-columns:1fr;
  }

  .economy-summary-head,
  .economy-mini-strip,
  .economy-detail-grid{
    grid-template-columns:1fr;
  }

  .economy-kpi-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width: 760px){
  .vps-pro-topbar{
    flex-direction:column;
    align-items:flex-start;
  }

  .live-metrics-grid{
    grid-template-columns:1fr;
  }

  .economy-kpi-grid{
    grid-template-columns:1fr;
  }

  .vps-module-bar{
    justify-content:flex-start;
  }
}