.sm-register-form-wrap {
  max-width: 800px;
  margin: 30px auto;
  /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;*/
  color: #333;
  line-height: 1.6;
}

.sm-register-form-wrap h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}

#sm-registration-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid #eaeaea;
}

/* 修改：使用 Flex 布局让 label 和控件同行 */
.form-group {
  display: flex;
  align-items: center;
  gap: 12px; /* label 与输入框间距 */
  margin-bottom: 20px;
  flex-wrap: wrap; /* 防止溢出换行（小屏友好） */
}

.form-group label {
  flex: 0 0 160px; /* 固定 label 宽度，不伸缩 */
  text-align: right;
  font-weight: 300;
  color: #2c3e50;
  font-size: 15px;
  position: relative;
}

/* 必填星号 * */
.form-group label::after {
  content: "*";
  color: #e74c3c;
  margin-left: 4px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
  flex: 1; /* 自动填充剩余空间 */
  min-width: 200px; /* 最小宽度，防止太窄 */
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #bdc3c7;
  border-radius: 8px;
  background-color: #fdfdfd;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  background-color: #fff;
}

.form-group_option {
  display: flex;
  align-items: center;
  gap: 12px; /* label 与输入框间距 */
  margin-bottom: 20px;
  flex-wrap: wrap; /* 防止溢出换行（小屏友好） */
}
.form-group_option label {
  flex: 0 0 160px; /* 固定 label 宽度，不伸缩 */
  text-align: right;
  font-weight: 300;
  color: #2c3e50;
  font-size: 15px;
  position: relative;
}
.form-group_option label::after {
  color: #e74c3c;
  margin-left: 4px;
}

.form-group_option input[type="text"],
.form-group_option input[type="tel"],
.form-group_option input[type="date"],
.form-group_option select {
  flex: 1; /* 自动填充剩余空间 */
  min-width: 200px; /* 最小宽度，防止太窄 */
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #bdc3c7;
  border-radius: 8px;
  background-color: #fdfdfd;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group_option input:focus,
.form-group_option select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  background-color: #fff;
}

/* 省市区下拉框：保持三等分同行 */
#province,
#city,
#area {
  flex: 1;
  min-width: 120px;
  padding: 12px 14px;
  font-size: 15px;
  text-align: center; /* 可选：让文字居中 */
}

/* 可选：微调省市区之间的间距 */
.form-group#location-group {
  gap: 6px;
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.radio-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
  font-size: 15px;
  color: #555;
}

.radio-group input[type="radio"] {
  margin-right: 6px;
  accent-color: #d64f37;
}

#sm-registration-form button[type="submit"] {
  background-color: #d64f37;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: block;
  width: 100%;
  margin-top: 20px;
}

#sm-registration-form button[type="submit"]:hover {
  background-color: #d64127;
  transform: translateY(-2px);
}

#sm-registration-form button[type="submit"]:active {
  transform: translateY(0);
}

#sm-message {
  margin-top: 15px;
  font-size: 14px;
}

#sm-message .notice {
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
}

#sm-message .notice-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#sm-message .notice-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.ddu-drop-area {
  width: 80%;
  min-height: 100px;
  max-width: 800px;
  margin: 20px auto;

  border: 3px dashed #d64f37;
  border-radius: 12px;

  background-color: #f8f9fa;
  color: #333;
  padding: 40px;

  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中 */
  align-items: flex-end; /* ✅ 改为靠右对齐 */

  transition: all 0.3s ease;
}

.drop-area-content {
  display: flex;
  flex-direction: row;
  align-items: center; /* 垂直居中 */
  text-align: right;
}

.ddu-drop-area.dragover {
  border: 3px solid #d64f37 !important;
  background-color: #e3f2fd !important;
  box-shadow: 0 0 15px rgba(0, 115, 170, 0.4) !important;
  transform: scale(1.02);
  transition: all 0.2s ease !important;
}
.file-selection {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.choose-file-btn {
  margin-right: 10px;
  padding: 5px 10px;
  border: none;
  background-color: #d64f37;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.choose-file-btn:hover {
  background-color: #d7634f;
}

.ddu-drop-area:hover {
  border-style: solid;
  border-color: #d7634f;
  background-color: #f1f3f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.signup-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    align-items: center;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 46px;
    min-width: 60px;
}

/* 返回按钮 */
.btn-back {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-back:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

/* 详情按钮 */
.btn-detail {
    background: #e8f5ff;
    color: #005a87;
    border: 1px solid #b3d9ff;
}

.btn-detail:hover {
    background: #d0ebff;
    border-color: #99ccff;
}

/* 提交作品按钮 */
.btn-upload {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    cursor: pointer;
}

.btn-upload:hover:not(.disabled) {
    background: #dcedc8;
    border-color: #81c784;
}

/* 禁用状态 */
.btn-upload.disabled {
    background: #f5f5f5;
    color: #999;
    border: 1px solid #ddd;
    cursor: not-allowed;
    pointer-events: none;
}

/* 付款按钮 - 突出显示 */
.btn-pay {
    background: #0073aa;
    color: white;
    border: 1px solid #005a87;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-baoming {
    background: #e15137;
    color: white;
    font-size: 24px;
    border: 1px solid #b33a27;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-baoming:hover {
    background: #ca3e28;
    border-color: #b93728;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


.btn-pay:hover {
    background: #005a87;
    border-color: #004066;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 统一操作按钮区域 */
.signup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* 通用按钮样式 */
.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 36px;
    border: 1px solid transparent;
}

/* 默认按钮颜色 */
.action-btn {
    background: #f0f0f0;
    color: #333;
}

.action-btn:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 详情按钮 - 蓝色 */
.btn-detail {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #90caf9;
}

.btn-detail:hover {
    background: #bbdefb;
    border-color: #64b5f6;
}

/* 下载按钮 - 绿色 */
.btn-download {
    background: #e8f5e8;
    color: #2e7d32;
    border-color: #a5d6a7;
}

.btn-download:hover {
    background: #c8e6c9;
    border-color: #81c784;
}

/* 返回按钮可保持默认灰色 */


@media (max-width: 768px) {
  #sm-registration-wrapper {
    padding: 15px;
  }
  #sm-registration-form {
    padding: 20px;
  }
  .form-group input,
  .form-group select {
    font-size: 14px;
    padding: 10px 12px;
  }
  #sm-registration-form button[type="submit"] {
    padding: 12px 20px;
    font-size: 15px;
  }
}
