body{
  margin:0;
  background:#07132C;
  color:white;
  font-family:'Open Sans',sans-serif;
}

.student-dashboard{
  display:flex;
  min-height:100vh;
}

.student-sidebar{
  width:260px;
  background:#081028;
  border-right:1px solid rgba(255,255,255,0.06);
  padding:35px 20px;
  position:fixed;
  height:100vh;
}

.sidebar-logo{
  font-size:42px;
  font-weight:700;
  margin-bottom:40px;
}

.sidebar-logo span{
  color:#6C63FF;
}

.sidebar-menu{
  list-style:none;
  padding:0;
  margin:0;
}

.sidebar-menu li{
  margin-bottom:15px;
}

.sidebar-menu a,
.sidebar-logout-btn{
  width:100%;
  height:55px;
  border:none;
  display:flex;
  align-items:center;
  padding:0 18px;
  border-radius:16px;
  text-decoration:none;
  color:white;
  background:transparent;
  cursor:pointer;
  font-size:15px;
  transition:0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu .active{
  background:#6C63FF;
}

.sidebar-logout-btn:hover{
  background:#EF4444;
}

.student-main{
  flex:1;
  margin-left:260px;
  padding:40px;
}

.student-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:35px;
}

.student-topbar h1{
  font-size:48px;
  margin-bottom:10px;
}

.student-topbar p{
  color:#CBD5E1;
}

.topbar-profile{
  display:flex;
  align-items:center;
  gap:15px;
}

.topbar-profile img{
  width:60px;
  height:60px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #6C63FF;
}

.learning-stats{
  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  margin-bottom:40px;
}

.stats-card{
  background:#13203B;
  border-radius:24px;
  padding:30px;
  border:1px solid rgba(255,255,255,0.06);
}

.stats-card h2{
  font-size:42px;
  margin-bottom:10px;
}

.stats-card p{
  color:#CBD5E1;
}

.learning-grid{
  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(380px,1fr));
  gap:30px;
}

.learning-card{
  background:#13203B;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.06);
  transition:0.3s;
}

.learning-card:hover{
  transform:translateY(-8px);
}

.learning-thumbnail{
  width:100%;
  height:240px;
  overflow:hidden;
}

.learning-thumbnail img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.learning-content{
  padding:25px;
}

.learning-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 16px;
  border-radius:50px;
  background:#6C63FF;
  color:white;
  font-size:13px;
  margin-bottom:18px;
}

.learning-content h3{
  font-size:24px;
  margin-bottom:14px;
}

.learning-content p{
  color:#CBD5E1;
  line-height:1.8;
  margin-bottom:18px;
}

.last-topic{
  color:#8B5CF6;
  font-size:14px;
  margin-bottom:18px;
}

.progress-bar{
  width:100%;
  height:10px;
  border-radius:50px;
  background:#0F172A;
  overflow:hidden;
  margin-bottom:10px;
}

.progress-fill{
  height:100%;
  background:#6C63FF;
}

.progress-text{
  color:#CBD5E1;
  margin-bottom:20px;
}

.resume-btn{
  width:100%;
  height:55px;
  border:none;
  border-radius:16px;
  background:#6C63FF;
  color:white;
  cursor:pointer;
  font-size:15px;
  font-weight:600;
}

.empty-state{
  background:#13203B;
  border-radius:24px;
  padding:60px;
  text-align:center;
  color:#CBD5E1;
}

@media(max-width:768px){

  .student-sidebar{
    display:none;
  }

  .student-main{
    margin-left:0;
    padding:20px;
  }

  .student-topbar{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }

  .student-topbar h1{
    font-size:36px;
  }

}