*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:
    radial-gradient(circle at top left,#1e293b,#020617 60%);
  color:white;
  min-height:100vh;
  overflow-x:hidden;
}

.bg-glow{
  position:fixed;
  width:500px;
  height:500px;
  border-radius:50%;
  filter:blur(120px);
  opacity:0.3;
  z-index:0;
}

.glow1{
  background:#22c55e;
  top:-150px;
  left:-150px;
}

.glow2{
  background:#3b82f6;
  bottom:-150px;
  right:-150px;
}

.container{
  position:relative;
  z-index:1;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:25px;
}

.dashboard{
  width:100%;
  max-width:1200px;
  display:grid;
  grid-template-columns:320px 1fr;
  gap:25px;
}

.sidebar{
  background:rgba(15,23,42,0.75);
  backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:30px;
  padding:30px;
  box-shadow:0 15px 40px rgba(0,0,0,0.45);
}

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

.logo-icon{
  width:65px;
  height:65px;
  border-radius:18px;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:30px;
  box-shadow:0 10px 30px rgba(34,197,94,0.4);
}

.logo h1{
  font-size:26px;
  font-weight:700;
}

.logo p{
  color:#94a3b8;
  font-size:13px;
}

.nav-btn{
  width:100%;
  border:none;
  padding:16px;
  border-radius:18px;
  background:#111827;
  color:white;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  margin-bottom:15px;
  transition:0.3s;
}

.nav-btn:hover{
  transform:translateY(-2px);
}

.active{
  background:linear-gradient(135deg,#22c55e,#16a34a);
}

.danger{
  background:linear-gradient(135deg,#ef4444,#dc2626);
}

.content{
  background:rgba(15,23,42,0.75);
  backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:30px;
  padding:35px;
  box-shadow:0 15px 40px rgba(0,0,0,0.45);
}

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

.topbar h2{
  font-size:30px;
  font-weight:700;
}

.status{
  padding:10px 18px;
  border-radius:999px;
  background:rgba(34,197,94,0.15);
  color:#4ade80;
  font-size:14px;
  font-weight:600;
}

.hero{
  background:
    linear-gradient(
      135deg,
      rgba(34,197,94,0.2),
      rgba(59,130,246,0.18)
    );

  border-radius:28px;
  padding:35px;
  margin-bottom:30px;
}

.hero h1{
  font-size:42px;
  margin-bottom:12px;
  line-height:1.1;
}

.hero p{
  color:#cbd5e1;
  line-height:1.8;
  font-size:15px;
}

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

.card{
  background:#111827;
  border-radius:24px;
  padding:25px;
  transition:0.3s;
  border:1px solid rgba(255,255,255,0.05);
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 35px rgba(0,0,0,0.35);
}

.card h3{
  margin-bottom:18px;
  font-size:18px;
}

.card p{
  color:#94a3b8;
  line-height:1.8;
}

.input-box input{
  width:100%;
  padding:15px;
  border:none;
  border-radius:16px;
  background:#1e293b;
  color:white;
  margin-top:10px;
  outline:none;
  font-size:15px;
}

.input-box input::placeholder{
  color:#64748b;
}

.btn{
  width:100%;
  padding:15px;
  border:none;
  border-radius:16px;
  margin-top:15px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-green{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:white;
}

.btn-red{
  background:linear-gradient(135deg,#ef4444,#dc2626);
  color:white;
}

.pair-box{
  margin-top:18px;
  background:#0f172a;
  border-radius:18px;
  padding:20px;
  text-align:center;
  border:1px dashed rgba(255,255,255,0.08);
}

.pair-box small{
  color:#94a3b8;
}

.pair-box span{
  font-size:30px;
  font-weight:700;
  color:#4ade80;
  letter-spacing:4px;
}

.big-text{
  font-size:42px;
  margin-top:20px;
  margin-bottom:15px;
  font-weight:700;
}

.settings-page{
  display:none;
}

.setting{
  background:#111827;
  border-radius:20px;
  padding:18px 20px;
  margin-bottom:15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border:1px solid rgba(255,255,255,0.05);
}

.setting h4{
  margin-bottom:5px;
}

.switch{
  position:relative;
  width:60px;
  height:32px;
}

.switch input{
  display:none;
}

.slider{
  position:absolute;
  inset:0;
  background:#374151;
  border-radius:999px;
  transition:0.3s;
}

.slider:before{
  content:"";
  position:absolute;
  width:24px;
  height:24px;
  left:4px;
  top:4px;
  background:white;
  border-radius:50%;
  transition:0.3s;
}

input:checked + .slider{
  background:#22c55e;
}

input:checked + .slider:before{
  transform:translateX(28px);
}

@media(max-width:950px){

  .dashboard{
    grid-template-columns:1fr;
  }

}

@media(max-width:600px){

  .content{
    padding:22px;
  }

  .hero h1{
    font-size:30px;
  }

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

}
