* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

.container {
  max-width: 750px;
  margin: 0 auto;
  padding: 20px;
}

/* 头部 */
.header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.avatar-icon {
  font-size: 20px;
}

.user-label {
  font-size: 14px;
  color: #666;
}

/* 主标题 */
.main-title {
  text-align: center;
  margin: 40px 0;
}

.title-text {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.title-sub {
  font-size: 14px;
  color: #999;
}

/* 特色卡片 */
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.feature-list {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
}

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

.feature-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.feature-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.feature-desc {
  font-size: 12px;
  color: #999;
}

.apply-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.apply-btn:hover {
  transform: translateY(-2px);
}

.apply-btn:active {
  transform: translateY(0);
}

/* 表单卡片 */
.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px 0;
}

.label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.required {
  color: #ff4d4f;
  margin-right: 4px;
}

.input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

.input:focus {
  border-color: #667eea;
}

select.input {
  appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path fill="%23999" d="M0 0l6 8 6-8z"/></svg>') no-repeat right 12px center;
  background-color: #fff;
  cursor: pointer;
}

.divider {
  height: 1px;
  background: #f0f0f0;
}

/* 协议 */
.agreement {
  margin-bottom: 20px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.agree-text {
  font-size: 13px;
  color: #666;
}

.link {
  color: #667eea;
}

/* 提交按钮 */
.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 结果页 */
.result-card {
  background: #fff;
  border-radius: 16px;
  padding: 60px 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-top: 60px;
}

.result-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
}

.result-icon.success {
  background: #52c41a;
}

.result-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.result-desc {
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
}

.back-btn {
  padding: 12px 40px;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.back-btn:hover {
  background: #5568d3;
}

/* 地区输入 */
.region-input-wrapper {
  display: flex;
  gap: 10px;
}

.region-input-wrapper .input {
  flex: 1;
  cursor: pointer;
}

.location-btn {
  padding: 12px 16px;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

/* 地区选择器 */
.region-picker {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  align-items: flex-end;
}

.picker-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
}

.picker-content {
  position: relative;
  background: #fff;
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

.picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.picker-header button {
  background: none;
  border: none;
  color: #667eea;
  font-size: 16px;
  cursor: pointer;
}

.picker-header span {
  font-size: 16px;
  font-weight: bold;
}

.picker-body {
  display: flex;
  gap: 10px;
  padding: 20px;
}

.picker-body select {
  flex: 1;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
}

/* 地图选择器 */
.map-picker {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  align-items: flex-end;
}

.map-content {
  position: relative;
  background: #fff;
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.map-header button {
  background: none;
  border: none;
  color: #667eea;
  font-size: 16px;
  cursor: pointer;
}

.map-header span {
  font-size: 16px;
  font-weight: bold;
}

.map-address {
  padding: 15px 20px;
  background: #f5f5f5;
  color: #666;
  font-size: 14px;
  text-align: center;
}
