.dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  border-radius: 10px;
  display: none; /* 默认隐藏 */
  z-index: 1000;
  width: 80%; /* 可调节宽度 */
  max-width: 400px;
}

.dialog-content {
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;  /* Smooth fade-in effect */
}

.line-options {
  margin: 20px 0;
}

.line-btn {
  background-color: #3a85ff; /* 按钮背景色 */
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#line1 {
  background-color: #ea4e3d; /* 1号线路按钮的颜色 */
}

#line2 {
  background-color: #ffb900; /* 2号线路按钮的颜色 */
}

#line1:hover, #line2:hover, #enter-button:hover, #close-dialog:hover {
  background-color: #333; /* 按钮悬浮效果 */
}


.enterBut {
  padding: 8px 15px;
  background-color: #007aff;
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
}


#close-dialog {
  background-color: #28a745; /* 进入和关闭按钮的颜色 */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#close-dialog {
  background-color: #dc3545; /* 关闭按钮的颜色 */
}

.line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.lines-space{
  
}

.lines {
 
}


.line-icon {
  display: inline-block;
  width: 5Px;
  height: 28Px;
  border-radius: 2Px;
  background-color: #04be02;
}

.line-1 {
  height: 14Px;
}

.line-2 {
  height: 22Px;
}

.text-success {
  width: 55px;
  font-size: 18px;
  color:#04be02;
}

.refresh {
  text-align: right;
  margin-bottom: 25px;
}