:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border:none;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.25s;
}


/*除了LogPage以外的按钮尽量使用这里的样式*/
.btn {
  outline:none;
  padding: 10px 24px;
  margin:10px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #fff;
}

.btn-primary {
  background-color: #9370DB;
  color: white;
  box-shadow: 0 4px 10px rgba(147, 112, 219, 0.3);
}

.btn-primary:hover {
  background-color: #8a63d2;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #e6e6fa;
  color: #666;
  box-shadow: 0 4px 10px rgba(230, 230, 250, 0.3);
}

.btn-secondary:hover {
  background-color: #dcdcdc;
  transform: translateY(-2px);
}

/*信息展示在card上*/
.card {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.flow-container{
  padding:4%;
  margin:0;
  display: flex;
  flex-direction: column;
  width: 92%;
  height: 100%;
  overflow:auto;
}

#app {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  min-width: 100vw;
  position: relative;
  display: flex;
  justify-content:center;
  align-items:center;
  flex-direction: column;
  box-sizing: border-box;
  overflow:auto;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
