body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}
.quiz-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 90%;
    max-width: 900px;
}
.quiz-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.quiz-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1890ff;
    margin-bottom: 0.5rem;
}
.timer {
    font-size: 1rem;
    color: #ff4d4f;
    font-weight: bold;
}
.question {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}
.options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.option {
    background-color: #f5f5f5;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.3s;
}
.option.selected {
    background-color: #e6f7ff;
    border-color: #1890ff;
}
.option:hover {
    background-color: #e6f7ff;
    border-color: #1890ff;
}
.correct-answer {
    margin-top: 1rem;
    font-weight: bold;
    color: #52c41a;
    text-align: center;
}
.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}
.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}
.btn-primary {
    background-color: #1890ff;
    color: white;
}
.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}
.btn:hover {
    opacity: 0.8;
}
/* Toast样式 */
.toast {
      position: fixed;
      top: 600px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #333;
      color: white;
      padding: 12px 24px;
      border-radius: 4px;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      z-index: 1000;
  }

  .toast.show {
      opacity: 1;
  }

  .warn {
    /* background-color: red; */
    color: red;
  }
  .correct {
    color: green;
    /* background-color: green; */
  }

.selected{
    font-weight: bold;
}