body {
  font-family: system-ui, sans-serif;
  background: #f6f4ee;
  margin: 0;
}

header {
  background: #0f766e;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
}

.grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  max-height: 15px;
  gap: 20px;
}

.card {
  background: white;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  display: inline;
}
.card:hover {
    box-shadow: 0 8px 20px rgba(255,255,255,.085);
    transition: box-shadow .3s ease-in-out;
}


.badge {
  display: inline;
  padding: 2px 12px;
  background: #10b981;
  color: white;
  border-radius: 999px;
  margin-bottom: 10px;
}

.card-table {
    border: 5; 
    border-spacing: 20px;
}

.login {
  max-width: 360px;
  margin: 120px auto;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.login input, .login button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
}


/* student stuff on teacher dashboard */

.student-grid {
    padding: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 20px;
}

.student-card {
    background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
    
}
.nickname {
    color: red;
}

