* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body {
  --main-bg-color: #2ab34b;
  --main-text-color: #333;
  --main-layout-color: #eee;
  --main-border-radius: 12px;
  --main-box-shadow-color: #ddd;
  --main-padding: 20px;
  --main-font-size: 14px;
  --main-box-shadow: 0 0 4px var(--main-box-shadow-color);

  /* background: #2ab34b; */
  line-height: 1.6;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: var(--main-font-size);
  color: var(--main-text-color);
}

.page {
  flex: 1;
  /* display: flex; */
  /* align-items: center; */
  padding: var(--main-padding);
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.active {
  display: flex;
  flex-direction: column;
}

.btn {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: var(--main-bg-color);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 模态窗口样式 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  color: #333;
}

.modal-title {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
  color: #2e7d32;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #2e7d32;
  margin: 20px auto;
  position: relative;
}

.checkmark:after {
  content: "";
  position: absolute;
  left: 25px;
  top: 15px;
  width: 20px;
  height: 40px;
  border: 1px solid white;
  border-width: 0 5px 5px 0;
  transform: rotate(45deg);
}
