/* ===== Login Page ===== */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.login-card {
  width: 400px;
  background: #fff;
  border-radius: 8px;
  padding: 40px 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.login-title    { text-align: center; font-size: 32px; color: #303133; margin-bottom: 4px; }
.login-subtitle { text-align: center; color: #909399; margin-bottom: 28px; font-size: 14px; }
.captcha-row    { display: flex; gap: 12px; align-items: center; }
.captcha-img    { cursor: pointer; border: 1px solid #DCDFE6; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.captcha-img canvas { display: block; }

/* Role Selector */
.role-selector-wrapper { width: 100%; }
.role-selector-label {
  font-size: 13px;
  color: #606266;
  margin-bottom: 8px;
  font-weight: 500;
}
.role-selector {
  display: flex;
  gap: 12px;
  width: 100%;
}
.role-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  border: 2px solid #DCDFE6;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  font-size: 14px;
  color: #606266;
  background: #FAFAFA;
}
.role-option:hover {
  border-color: #b3bfff;
  background: #f5f7ff;
}
.role-option.active {
  border-color: #667eea;
  background: linear-gradient(135deg, #f0f2ff 0%, #e8ecff 100%);
  color: #667eea;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102,126,234,.18);
}

/* ===== Student Page ===== */
.student-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}
.student-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px;
}
.student-card {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  text-align: center;
  transition: transform .2s;
}
.student-card:hover { transform: translateY(-4px); }
.card-badge {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.card-body       { text-align: left; margin-bottom: 20px; }
.card-row        { padding: 5px 0; font-size: 14px; border-bottom: 1px dashed #eee; }
.card-row .label { color: #909399; }

/* ===== Turns Page ===== */
.turns-page    { min-height: 100vh; padding: 24px 40px; background: #F5F7FA; }
.page-header   { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.page-header h2 { font-size: 20px; color: #303133; }
.turns-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.turn-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.turn-card h3       { font-size: 18px; margin-bottom: 14px; color: #303133; }
.turn-actions-row   { display: flex; gap: 8px; margin-bottom: 14px; }
.turn-time          { font-size: 13px; color: #606266; margin: 4px 0; }
.turn-time .time-label { color: #909399; }
.turn-status        { margin: 12px 0; display: flex; align-items: center; gap: 12px; }
.countdown          { font-size: 13px; color: #E6A23C; font-weight: 500; }
.turn-enter-btn     { margin-top: 8px; }
