/* reset.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #f5f5f5;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* 禁用iPhone中Safari的字号自动调整 */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* 移动端通用样式 */
.container {
  max-width: 100%;
  min-height: 100vh;
  padding: 20px 15px;
  margin: 0 auto;
  position: relative;
}

.btn {
  display: block;
  width: 100%;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 22px;
  font-size: 16px;
  font-weight: bold;
  margin: 15px 0;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background-color: #1989fa;
  color: white;
}

.btn-secondary {
  background-color: #f2f2f2;
  color: #666;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 14px;
}

.form-input {
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 15px;
  background-color: white;
  font-size: 14px;
}

.form-select {
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 15px;
  background-color: white;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8.825L1.175 4 0 5.175 6 11.175 12 5.175 10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  font-size: 14px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: white;
  display: flex;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

.nav-item.active {
  color: #1989fa;
}

.nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

.page-content {
  padding-bottom: 70px; /* 为底部导航留出空间 */
}

.card {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.success-info {
  padding: 20px;
  text-align: center;
  background-color: #f0f9eb;
  border-radius: 8px;
  margin: 20px 0;
  color: #67c23a;
}

.error-info {
  padding: 20px;
  text-align: center;
  background-color: #fef0f0;
  border-radius: 8px;
  margin: 20px 0;
  color: #f56c6c;
}

.code-box {
  background-color: #f7f7f7;
  border-radius: 4px;
  padding: 15px;
  text-align: center;
  margin: 15px 0;
  word-break: break-all;
  font-family: monospace;
  border: 1px dashed #ddd;
}

.page-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}

/* 开发中的功能提示 */
.dev-notice {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.dev-notice-content {
  text-align: center;
  padding: 30px;
} 