/* Students page-specific styles */

.students-hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:16px;
  margin-top:18px;
  align-items:stretch;
}
@media (max-width: 920px){
  .students-hero{ grid-template-columns:1fr; }
}

.panel{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 16px;
  padding: 14px;
  color: var(--muted);
  line-height:1.7;
}

.panel b{ color: var(--text); }

.action-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:900;
  cursor:pointer;
}

.btn.primary{
  border:1px solid rgba(139,92,246,.45);
  background: rgba(139,92,246,.12);
}

.btn:hover{ opacity:.95; }

.tools{
  display:grid;
  gap:10px;
}

.tools input, .tools select{
  width:100%;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}

.tools input::placeholder{
  color: rgba(174,185,214,.75);
}

.small{
  font-size: 13px;
  color: var(--muted);
  line-height:1.7;
}

.list-wrap{
  margin-top:14px;
  display:grid;
  gap:12px;
}

.student-item{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  align-items:center;
  padding:14px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
}

@media (max-width: 920px){
  .student-item{ grid-template-columns:1fr; }
}

.student-left{
  display:grid;
  gap:6px;
}

.student-name{
  font-weight:900;
  letter-spacing:.2px;
}

.student-meta{
  color: var(--muted);
  font-size: 14px;
  line-height:1.6;
}

.student-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.linkbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
}

.linkbtn.primary{
  border:1px solid rgba(139,92,246,.45);
  background: rgba(139,92,246,.12);
}

.linkbtn:hover{ opacity:.95; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight:800;
  font-size:12px;
}

.badge.ok{
  border-color: rgba(60,200,120,.25);
  background: rgba(60,200,120,.08);
  color: rgba(210,255,230,.85);
}

.badge.todo{
  border-color: rgba(255,200,80,.25);
  background: rgba(255,200,80,.08);
  color: rgba(255,235,200,.85);
}

.hr{
  height:1px;
  background: var(--line);
  margin: 12px 0;
}
