*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#070b14;
  color:white;
  font-family:Arial,sans-serif;
  display:flex;
}

/* SIDEBAR */

.sidebar{
  width:260px;
  min-height:100vh;
  background:#0d1320;
  border-right:1px solid rgba(255,122,0,0.2);
  padding:30px 20px;
  position:fixed;
  overflow-y:auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:40px;
}

.logo{
  width:55px;
  height:55px;
  background:#ff7a00;
  color:black;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:15px;
  font-size:26px;
  font-weight:bold;
  box-shadow:0 0 20px rgba(255,122,0,0.5);
}

.brand h1{
  color:#ff7a00;
  font-size:28px;
}

.brand p{
  color:#888;
  font-size:13px;
}

nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

nav a{
  padding:14px 16px;
  border-radius:14px;
  color:#ccc;
  text-decoration:none;
  transition:0.3s;
  font-weight:bold;
}

nav a:hover,
nav a.active{
  background:rgba(255,122,0,0.12);
  color:#ff7a00;
  box-shadow:0 0 15px rgba(255,122,0,0.1);
}

/* MAIN */

.main{
  margin-left:260px;
  width:100%;
  padding:35px;
}

/* TOPBAR */

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:30px;
}

.eyebrow{
  background:#ff7a00;
  color:black;
  display:inline-block;
  padding:7px 14px;
  border-radius:20px;
  font-size:12px;
  font-weight:bold;
  margin-bottom:10px;
}

.topbar h2{
  font-size:42px;
  color:#ff7a00;
}

.status-pill{
  padding:10px 18px;
  border-radius:30px;
  font-weight:bold;
}

.online{
  background:#00b300;
  color:white;
}

/* GRID */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  margin-bottom:30px;
}

/* CARD */

.card{
  background:#101827;
  border-radius:22px;
  padding:24px;
  border:1px solid rgba(255,122,0,0.2);
  transition:0.3s;
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:0 0 25px rgba(255,122,0,0.2);
}

.service-card h3{
  margin:18px 0 10px;
  font-size:30px;
}

.service-card p{
  color:#bbb;
  line-height:1.6;
}

.service-card strong{
  display:inline-block;
  margin-top:15px;
  font-size:15px;
  text-transform:uppercase;
}

/* TAG */

.tag{
  background:#ff7a00;
  color:black;
  padding:7px 14px;
  border-radius:20px;
  font-size:12px;
  font-weight:bold;
  display:inline-block;
}

.online-text{
  color:#00ff88;
}

/* STATS */

.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-bottom:30px;
}

.stat{
  background:#101827;
  border-radius:18px;
  padding:20px;
  border:1px solid rgba(255,122,0,0.2);
}

.stat span{
  color:#aaa;
}

.stat strong{
  display:block;
  margin-top:10px;
  font-size:32px;
  color:#ff7a00;
}

/* LOGS */

.logs-card{
  margin-top:30px;
  margin-bottom:30px;
}

.section-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.section-title h3{
  margin-top:12px;
  font-size:28px;
}

/* LIVE */

.pulse{
  color:#00ff88;
  animation:pulse 1s infinite;
  font-weight:bold;
}

@keyframes pulse{
  0%{opacity:0.3;}
  50%{opacity:1;}
  100%{opacity:0.3;}
}

/* TABLE */

.table-wrap{
  overflow-x:auto;
  margin-top:20px;
}

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

th{
  text-align:left;
  color:#ff7a00;
  padding:15px;
  border-bottom:1px solid rgba(255,122,0,0.2);
}

td{
  padding:15px;
  border-bottom:1px solid rgba(255,255,255,0.05);
  color:#ddd;
}

tr:hover td{
  background:rgba(255,122,0,0.05);
}

/* LINKS */

.panel-link{
  text-decoration:none;
  color:white;
}

.panel-link:hover{
  color:white;
}

/* BUTTONS */

a.tag{
  text-decoration:none;
  transition:0.3s;
}

a.tag:hover{
  transform:scale(1.05);
  box-shadow:0 0 15px rgba(255,122,0,0.3);
}

/* RESPONSIVE */

@media(max-width:900px){

  body{
    flex-direction:column;
  }

  .sidebar{
    width:100%;
    min-height:auto;
    position:relative;
  }

  .main{
    margin-left:0;
    padding:20px;
  }

  .topbar{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }

}
