.loading-note {
  text-align: center;
  color: #948d80;
  padding: 60px 0;
}

.login-card {
  max-width: 380px;
  margin: 80px auto;
  padding: 36px 30px;
  background: #fff;
  border: 1px solid #f0e9dc;
  border-radius: var(--radius-lg);
  text-align: center;
}

.login-card h1 {
  font-size: 22px;
  margin: 0 0 8px;
}

.login-card p {
  color: #6b665e;
  font-size: 14px;
  margin: 0 0 22px;
}

.login-card .btn {
  width: 100%;
  justify-content: center;
}

.dev-login {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #e8e1d6;
}

.dev-note {
  font-size: 12px;
  color: #b5793a;
  background: var(--tint-yellow);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.dev-login input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid #e8e1d6;
  font-family: var(--font-sans);
  margin-bottom: 10px;
  box-sizing: border-box;
}

.dev-login .btn {
  width: 100%;
}

.teacher-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 24px 80px;
}

.teacher-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.teacher-top h1 {
  font-size: 24px;
  margin: 0;
}

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

.class-card {
  background: #fff;
  border: 1px solid #f0e9dc;
  border-radius: var(--radius-lg);
  padding: 20px;
}

.class-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.class-code {
  font-size: 14px;
  color: #6b665e;
  margin: 0 0 16px;
}

.class-code strong {
  letter-spacing: 0.1em;
  color: var(--color-primary-dark);
}

.class-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qr-holder {
  margin-top: 14px;
  padding: 14px;
  background: #fbf7f0;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
}

.qr-holder svg {
  width: 160px;
  height: 160px;
}

.empty-note {
  color: #948d80;
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
}
