/* Extracted from website/index.html */
/* =========================================================
   SERVER USAGE — COMPACT SIZE PASS
   ========================================================= */

.sm-server-usage{
  width:min(1060px,calc(100% - 40px)) !important;
  margin:72px auto 86px !important;
}


/* HEADER */

.sm-server-title-row{
  margin-bottom:38px !important;
}

.sm-server-title-row h2{
  font-size:38px !important;
  line-height:1 !important;
  letter-spacing:-.045em !important;
}

.sm-global-live{
  gap:8px !important;
  font-size:10px !important;
}

.sm-global-live i{
  width:7px !important;
  height:7px !important;
  box-shadow:
    0 0 0 4px rgba(154,124,244,.07),
    0 0 12px rgba(154,124,244,.22)
    !important;
}


/* =========================================================
   TWO COLUMN LAYOUT
   ========================================================= */

.sm-server-layout{
  grid-template-columns:
    430px minmax(0,1fr)
    !important;

  gap:58px !important;
}


/* =========================================================
   GLOBE — SHRUNK WAY DOWN
   ========================================================= */

.sm-server-globe{
  width:430px !important;
  height:430px !important;

  aspect-ratio:1 !important;

  margin:0 !important;
}

#smInteractiveGlobe{
  width:410px !important;
  height:410px !important;

  max-width:410px !important;
  max-height:410px !important;
}


/* =========================================================
   RIGHT PANEL
   ========================================================= */

.sm-server-panel{
  border-radius:12px !important;
}


/* selected area */

.sm-selected{
  padding:24px 25px 22px !important;
}

.sm-selected-label{
  margin-bottom:13px !important;

  font-size:8px !important;
  letter-spacing:.14em !important;
}

.sm-selected-heading{
  gap:9px !important;
  margin-bottom:20px !important;
}

.sm-selected-heading strong{
  font-size:21px !important;
}

.sm-selected-heading span{
  font-size:12px !important;
}


/* metric boxes */

.sm-selected-metrics{
  gap:8px !important;
}

.sm-selected-metrics>div{
  min-height:65px !important;

  padding:12px 14px !important;

  border-radius:8px !important;
}

.sm-selected-metrics small{
  margin-bottom:6px !important;

  font-size:8px !important;
}

.sm-selected-metrics strong{
  font-size:14px !important;
}


/* load */

.sm-load-line{
  margin-top:17px !important;
}

.sm-load-line>div:first-child{
  margin-bottom:7px !important;
  font-size:10px !important;
}

.sm-load-track{
  height:5px !important;
}


/* =========================================================
   NODE ROWS
   ========================================================= */

.sm-node-row{
  grid-template-columns:
    9px minmax(0,1fr) auto
    !important;

  gap:12px !important;

  min-height:68px !important;

  padding:
    12px 20px
    !important;
}

.sm-node-row.is-selected::before{
  width:2px !important;
}

.sm-live-dot{
  width:6px !important;
  height:6px !important;
}

.sm-node-row.is-live .sm-live-dot{
  box-shadow:
    0 0 0 3px rgba(154,124,244,.08),
    0 0 9px rgba(154,124,244,.22)
    !important;
}

.sm-node-identity>div{
  gap:7px !important;
}

.sm-node-identity strong{
  font-size:12px !important;
}

.sm-node-identity em{
  padding:3px 6px !important;

  border-radius:5px !important;

  font-size:7px !important;
}

.sm-node-identity>small{
  margin-top:4px !important;
  font-size:9px !important;
}

.sm-node-list-value{
  min-width:42px !important;
  font-size:10px !important;
}


/* =========================================================
   FOOTER
   ========================================================= */

.sm-server-footer{
  padding:13px 20px !important;
}

.sm-server-footer b{
  font-size:10px !important;
}

.sm-server-footer small{
  font-size:8px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:900px){

  .sm-server-layout{
    grid-template-columns:1fr !important;
    gap:32px !important;
  }

  .sm-server-globe{
    width:min(390px,100%) !important;
    height:auto !important;

    margin:auto !important;
  }

  #smInteractiveGlobe{
    width:100% !important;
    height:auto !important;

    max-width:390px !important;
    max-height:390px !important;
  }

  .sm-server-panel{
    width:min(570px,100%) !important;
    margin:auto !important;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:620px){

  .sm-server-usage{
    width:calc(100% - 28px) !important;
    margin:55px auto 65px !important;
  }

  .sm-server-title-row{
    margin-bottom:25px !important;
  }

  .sm-server-title-row h2{
    font-size:31px !important;
  }

  .sm-server-globe{
    width:min(330px,100%) !important;
  }

  #smInteractiveGlobe{
    max-width:330px !important;
    max-height:330px !important;
  }

  .sm-selected{
    padding:19px 17px !important;
  }

  .sm-selected-heading strong{
    font-size:19px !important;
  }

  .sm-selected-metrics>div{
    min-height:61px !important;
  }

  .sm-node-row{
    min-height:62px !important;
    padding:11px 15px !important;
  }

}
