/* 我要出海 — 对齐 WantToGoView.vue / 设计稿（仅 CSS，不改 form HTML） */

.wtg-page {
  background: #f3f4f6;
}

/* ---------- 顶区 Hero ---------- */
.wtg-hero {
  color: #fff;
  padding: 48px 0;
  background: linear-gradient(171deg, #003973f0 0%, #00245d 55%, #003872fa 100%);
}

.wtg-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.wtg-hero h1 {
  margin: 0 0 12px;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.wtg-hero p {
  margin: 0;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- 主内容两栏 ---------- */
.wtg-main {
  max-width: 90%;
  margin: 0 auto;
  padding: 48px 16px;
}

.wtg-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .wtg-grid {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.wtg-form-col {
  min-width: 0;
}
.el-form-item__label-wrap {
    float: left;
    width: 100%;
    margin-left: 0px !important;
}
.el-form-item--medium .el-form-item__content, .el-form-item--medium .el-form-item__label {
    line-height: 36px;
    margin-left: 70px !important;
}
/* ---------- Element UI 表单卡片 ---------- */
.wtg-el-form.el-form {
  margin-top: 0 !important;
  padding: 32px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 20px;
}

/* 分区标题：一、企业基本信息 */
.wtg-el-form.el-form::before {
  content: "一、企业基本信息";
  grid-column: 1 / -1;
  margin: 0 0 8px;
  padding-left: 28px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E") no-repeat 0 center;
}

/* 表单项：标签在上、控件在下 */
.wtg-el-form .el-form-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 0;
}

.wtg-el-form .el-form-item__label-wrap {
  width: 100% !important;
  max-width: none;
  margin-left: 0 !important;
  margin-bottom: 4px;
  padding-right: 0;
  line-height: 1.5;
}

.wtg-el-form .el-form-item__label {
  width: auto !important;
  float: none;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.5;
}

.wtg-el-form .el-form-item__content {
  width: 100%;
  margin-left: 0 !important;
  line-height: normal;
}

/* 必填 * */
.wtg-el-form .el-form-item:nth-child(1) .el-form-item__label::after,
.wtg-el-form .el-form-item:nth-child(4) .el-form-item__label::after {
  content: " *";
  color: #ef4444;
}

/* 栅格：企业名称通栏；成立时间 + 注册资本并排 */
.wtg-el-form .el-form-item:nth-child(1) {
  grid-column: 1 / -1;
}

.wtg-el-form .el-form-item:nth-child(2) {
  grid-column: 1;
}

.wtg-el-form .el-form-item:nth-child(3) {
  grid-column: 2;
}

.wtg-el-form .el-form-item:nth-child(4),
.wtg-el-form .el-form-item:nth-child(5),
.wtg-el-form .el-form-item:nth-child(6) {
  grid-column: 1 / -1;
}

/* 二、出海需求 */
.wtg-el-form .el-form-item:nth-child(7) {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.wtg-el-form .el-form-item:nth-child(7)::before {
  content: "二、出海需求";
  display: block;
  margin: 0 0 20px;
  padding-left: 28px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E") no-repeat 0 center;
}

.wtg-el-form .el-form-item:nth-child(n + 7) {
  grid-column: 1 / -1;
}

/* 输入框 */
.wtg-el-form .el-input,
.wtg-el-form .el-textarea,
.wtg-el-form .el-date-editor {
  width: 100%;
  max-width: 100%;
}

.wtg-el-form .el-input__inner,
.wtg-el-form .el-textarea__inner {
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
  font-size: 1rem;
  color: #111827;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wtg-el-form .el-input__inner::placeholder,
.wtg-el-form .el-textarea__inner::placeholder {
  color: #9ca3af;
}

.wtg-el-form .el-input__inner:focus,
.wtg-el-form .el-textarea__inner:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
}

.wtg-el-form .el-textarea__inner {
  height: auto !important;
  min-height: 120px !important;
  line-height: 1.5;
  padding: 10px 16px;
}

.wtg-el-form .el-date-editor .el-input__inner {
  padding-left: 36px;
}

/* 单选：圆形 + 悬停底色（企业性质两列，其余横排） */
.wtg-el-form .el-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: 100%;
}

.wtg-el-form .el-form-item:nth-child(4) .el-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.wtg-el-form .el-radio {
  display: inline-flex;
  align-items: center;
  margin: 0;
  height: auto;
  padding: 8px;
  border-radius: 6px;
  white-space: normal;
  cursor: pointer;
  transition: background 0.15s;
}

.wtg-el-form .el-radio:hover {
  background: #f3f4f6;
}

.wtg-el-form .el-radio__label {
  padding-left: 8px;
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.4;
  white-space: normal;
}

.wtg-el-form .el-radio__input.is-checked + .el-radio__label {
  color: #111827;
}

.wtg-el-form .el-radio__inner {
  width: 16px;
  height: 16px;
  border-color: #d1d5db;
}

.wtg-el-form .el-radio__input.is-checked .el-radio__inner {
  border-color: #2563eb;
  background: #2563eb;
}

/* 多选：胶囊（目标市场、需要的服务） */
.wtg-el-form .el-form-item:nth-child(7) .el-checkbox-group,
.wtg-el-form .el-form-item:nth-child(9) .el-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wtg-el-form .el-form-item:nth-child(7) .el-checkbox,
.wtg-el-form .el-form-item:nth-child(9) .el-checkbox {
  margin: 0;
  height: auto;
  padding: 6px 14px;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.wtg-el-form .el-form-item:nth-child(7) .el-checkbox:hover,
.wtg-el-form .el-form-item:nth-child(9) .el-checkbox:hover {
  border-color: #3b82f6;
}

.wtg-el-form .el-form-item:nth-child(7) .el-checkbox.is-checked,
.wtg-el-form .el-form-item:nth-child(9) .el-checkbox.is-checked {
  background: #2563eb;
  border-color: #2563eb;
}

.wtg-el-form .el-form-item:nth-child(7) .el-checkbox__input,
.wtg-el-form .el-form-item:nth-child(9) .el-checkbox__input {
  display: none;
}

.wtg-el-form .el-form-item:nth-child(7) .el-checkbox__label,
.wtg-el-form .el-form-item:nth-child(9) .el-checkbox__label {
  padding-left: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #374151;
}

.wtg-el-form .el-form-item:nth-child(7) .el-checkbox.is-checked .el-checkbox__label,
.wtg-el-form .el-form-item:nth-child(9) .el-checkbox.is-checked .el-checkbox__label {
  color: #fff;
}

/* 无 Element 主题时：原生 checkbox 选中态 */
.wtg-el-form .el-form-item:nth-child(7) .el-checkbox:has(.el-checkbox__original:checked),
.wtg-el-form .el-form-item:nth-child(9) .el-checkbox:has(.el-checkbox__original:checked) {
  background: #2563eb;
  border-color: #2563eb;
}

.wtg-el-form .el-form-item:nth-child(7) .el-checkbox:has(.el-checkbox__original:checked) .el-checkbox__label,
.wtg-el-form .el-form-item:nth-child(9) .el-checkbox:has(.el-checkbox__original:checked) .el-checkbox__label {
  color: #fff;
}

@media (max-width: 767px) {
  .wtg-el-form.el-form {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .wtg-el-form .el-form-item:nth-child(2),
  .wtg-el-form .el-form-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .wtg-el-form .el-form-item:nth-child(4) .el-radio-group {
    grid-template-columns: 1fr;
  }
}

/* ---------- 侧边栏 ---------- */
.wtg-aside {
  position: sticky;
  top: 24px;
}

.wtg-aside__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wtg-aside h3 {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.wtg-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wtg-aside__list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.wtg-aside__list li:last-child {
  margin-bottom: 0;
}

.wtg-aside__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  color: #2563eb;
  background: #dbeafe;
  border-radius: 50%;
}

.wtg-aside__list h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
}

.wtg-aside__list p {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

.wtg-aside__contact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.wtg-aside__contact > p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: #6b7280;
}

.wtg-aside__contact > p:last-child {
  margin-bottom: 0;
}

.wtg-aside__phone {
  margin: 0 0 8px !important;
  font-size: 1rem !important;
  font-weight: 500;
  color: #111827 !important;
}
