body {
  background-color: #f7f8fa;
  color: #333;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.mt-yellow {
  background-color: #FFD000 !important;
  color: #333 !important;
  font-weight: bold !important;
  border: none !important;
}

.card {
  background: #fff;
  margin-top: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  margin: 12px 16px;
}

.section-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.required::after {
  content: '*';
  color: #ee0a24;
  margin-left: 2px;
}

/* 美团风格头部 - 完全使用你的本地图片，没有遮罩层 */
.meituan-header {
  background: url('../meituanzhifu.png') center/cover no-repeat;
  padding: 20px 20px 25px;
  text-align: center;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 移除了遮罩层::before */

.meituan-logo-container {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 24px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  margin-bottom: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.meituan-logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

.header-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.98);
  padding: 14px 24px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.header-title {
  font-size: 20px;
  font-weight: 800;
  color: #222;
  margin: 0;
  letter-spacing: 0.5px;
}

.header-subtitle {
  font-size: 14px;
  color: rgba(34, 34, 34, 0.95);
  margin-top: 6px;
  font-weight: 600;
}

/* 步骤条样式调整 */
.van-steps {
  padding: 18px 20px 12px !important;
  background: #fff;
  margin-top: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 12px 12px;
}

.van-step__circle {
  background-color: #FFD000 !important;
}

/* 图片上传区 */
.upload-grid {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.upload-item {
  flex: 1;
  min-width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-box {
  width: 100%;
  aspect-ratio: 1.5;
  background: #f7f8fa;
  border: 2px dashed #dcdee0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-box:hover {
  border-color: #FFD000;
  background: #fffdf0;
}

.upload-box span {
  font-size: 11px;
  color: #969799;
  margin-top: 4px;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-label {
  font-size: 12px;
  margin-top: 8px;
  color: #666;
  font-weight: 500;
}

/* 辅助图片特殊样式 */
.support-upload-grid {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.support-upload-item {
  flex: 1;
  min-width: 30%;
  max-width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-upload-box {
  width: 100%;
  aspect-ratio: 1.5;
  background: #f7f8fa;
  border: 2px dashed #dcdee0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.support-upload-box:hover {
  border-color: #FFD000;
  background: #fffdf0;
}

.support-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 10;
  cursor: pointer;
  transition: background 0.3s;
}

.support-delete-btn:hover {
  background: rgba(255, 0, 0, 0.7);
}

.support-count {
  font-size: 11px;
  color: #969799;
  margin-top: 4px;
}

/* 美团风格底部 - 带背景图片 */
.meituan-footer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%),
    url('https://img.meituan.net/csc/2022/03/15/1647334567892.jpg') center/cover no-repeat;
  padding: 20px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.meituan-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.footer-logo {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-text {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-text p {
  margin: 4px 0;
}

.footer-security {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.security-icon {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.security-text {
  font-size: 12px;
  color: #555;
  font-weight: 500;
}

/* 按钮区域 */
.button-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #ebedf0;
  z-index: 100;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
}

.collector-tag {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-bottom: 8px;
  background: #f8f9fa;
  padding: 6px 12px;
  border-radius: 16px;
  display: inline-block;
  border: 1px solid #eaeaea;
  font-weight: 500;
}

.collector-container {
  text-align: center;
  margin-bottom: 10px;
}

.required-field .van-field__label::after {
  content: '*';
  color: #ee0a24;
  margin-left: 2px;
}

/* Vant组件样式调整 */
.van-cell-group--inset {
  margin: 12px 16px !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* 主容器 */
#app {
  padding-bottom: 140px;
}

/* 图片预览样式 */
.preview-container {
  position: relative;
}

/* 提示文字样式 */
.hint-text {
  font-size: 12px;
  color: #999;
  margin-top: -8px;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 375px) {
  .meituan-header {
    padding: 16px 15px 20px;
    min-height: 180px;
  }

  .meituan-logo {
    width: 120px;
  }

  .header-title {
    font-size: 18px;
  }

  .header-subtitle {
    font-size: 13px;
  }

  .card {
    margin: 10px 12px;
    padding: 14px;
  }

  .upload-item {
    min-width: 100%;
  }

  .support-upload-item {
    min-width: 45%;
    max-width: 45%;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.meituan-header {
  animation: fadeIn 0.5s ease-out;
}

.card {
  animation: fadeIn 0.3s ease-out;
}
.amount-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

/* 卡片按钮 */
.amount-btn {
  width: calc(33.33% - 8px);
  background: #f7f8fa;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 14px 0;
  text-align: center;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;

  /* 关键：移动端优化 */
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
}

/* 点击反馈（替代 hover） */
.amount-btn:active {
  transform: scale(0.96);
  background: #fff7cc;
}

/* 选中状态（重点） */
.amount-btn.selected {
  background: #ffd000;
  border-color: #ffd000;
  color: #222;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(255, 208, 0, 0.3);
}
