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

body{
  font-family:'Inter',sans-serif;
  background:#071120;
  color:white;
  overflow-x:hidden;
}

.dashboard-body{
  display:flex;
  background:
  linear-gradient(
    135deg,
    #071120,
    #0b1730,
    #111f40
  );
  min-height:100vh;
}

/* SIDEBAR */

.sidebar{
  width:280px;
  min-height:100vh;
  background:rgba(10,20,40,0.95);
  backdrop-filter:blur(20px);
  border-right:1px solid rgba(255,255,255,0.08);
  padding:30px 20px;
  position:fixed;
  left:0;
  top:0;
  z-index:1000;
  overflow-y:auto;
}

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

.logo-circle{
  width:55px;
  height:55px;
  border-radius:18px;
  background:
  linear-gradient(
    135deg,
    #2f7cff,
    #00d4ff
  );
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:800;
}

.sidebar-logo h1{
  font-size:28px;
  font-weight:800;
}

.sidebar-nav{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.sidebar-nav a{
  text-decoration:none;
  color:#d7e4ff;
  padding:15px 18px;
  border-radius:18px;
  transition:0.3s;
  font-size:15px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:14px;
}

.sidebar-nav a:hover{
  background:
  linear-gradient(
    135deg,
    #2f7cff,
    #00d4ff
  );
  transform:translateX(6px);
  box-shadow:
  0 10px 30px
  rgba(0,212,255,0.25);
}

/* MAIN CONTENT */

.main-content{
  margin-left:280px;
  width:100%;
  padding:30px;
}

/* TOPBAR */

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

.search-bar{
  flex:1;
}

.search-bar input{
  width:100%;
  padding:16px 20px;
  border:none;
  border-radius:18px;
  background:rgba(255,255,255,0.08);
  color:white;
  font-size:15px;
  outline:none;
}

.topbar-actions{
  display:flex;
  align-items:center;
  gap:16px;
}

.topbar-btn{
  width:52px;
  height:52px;
  border-radius:16px;
  border:none;
  cursor:pointer;
  background:rgba(255,255,255,0.08);
  color:white;
  font-size:20px;
  transition:0.3s;
}

.topbar-btn:hover{
  transform:translateY(-3px);
  background:#2f7cff;
}

/* HERO */

.hero-profile{
  background:
  linear-gradient(
    135deg,
    rgba(47,124,255,0.25),
    rgba(0,212,255,0.15)
  );

  border:1px solid rgba(255,255,255,0.08);

  border-radius:30px;

  padding:35px;

  display:flex;

  justify-content:space-between;

  align-items:center;

  gap:30px;

  margin-bottom:30px;
}

.hero-left{
  display:flex;
  align-items:center;
  gap:24px;
}

.hero-avatar{
  width:120px;
  height:120px;
  border-radius:30px;
  object-fit:cover;
}

.hero-user-info h2{
  font-size:34px;
  margin-bottom:8px;
}

.hero-user-info p{
  color:#b9d4ff;
  line-height:1.6;
}

/* STATS */

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

.stat-card{
  background:rgba(255,255,255,0.08);
  border-radius:24px;
  padding:28px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.3s;
}

.stat-card:hover{
  transform:translateY(-6px);
}

.stat-card h3{
  font-size:16px;
  color:#b5d0ff;
  margin-bottom:10px;
}

.stat-card h1{
  font-size:34px;
}

/* QUICK GRID */

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

.quick-card{
  background:
  linear-gradient(
    135deg,
    rgba(47,124,255,0.15),
    rgba(0,212,255,0.08)
  );

  padding:28px;

  border-radius:28px;

  cursor:pointer;

  transition:0.35s;

  border:1px solid rgba(255,255,255,0.08);
}

.quick-card:hover{
  transform:
  translateY(-10px)
  scale(1.02);
}

.quick-card .icon{
  font-size:38px;
  margin-bottom:18px;
}

.quick-card h2{
  font-size:22px;
  margin-bottom:10px;
}

.quick-card p{
  color:#bdd7ff;
  line-height:1.6;
}

/* FLOATING BUTTON */

.floating-button{
  position:fixed;
  right:30px;
  bottom:30px;

  width:70px;
  height:70px;

  border-radius:24px;

  border:none;

  cursor:pointer;

  background:
  linear-gradient(
    135deg,
    #2f7cff,
    #00d4ff
  );

  color:white;

  font-size:30px;

  z-index:1000;
}

/* MOBILE */

.mobile-topbar{
  display:none;
}

@media(max-width:900px){

  .sidebar{
    left:-320px;
    transition:0.3s;
  }

  .sidebar.show-sidebar{
    left:0;
  }

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

  .dashboard-topbar{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-profile{
    flex-direction:column;
    align-items:flex-start;
  }

  .stats-grid,
  .quick-grid{
    grid-template-columns:1fr;
  }

}
