:root {
  --blue: #2468f2;
  --blue-dark: #1754ca;
  --ink: #1f2733;
  --muted: #78818f;
  --line: #dfe3e8;
  --danger: #e32929;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f7fa;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.talent-header {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid #eceff3;
}

.talent-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(760px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  color: #141414;
  text-decoration: none;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 2px;
}

.talent-brand img {
  width: 42px;
  max-height: 44px;
  object-fit: contain;
}

.talent-main {
  padding: 34px 16px 58px;
}

.talent-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 28px 50px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(28, 46, 75, 0.08);
  overflow: hidden;
}

.talent-heading {
  margin: 0 -28px 42px;
  padding: 36px 28px 32px;
  color: #fff;
  background: linear-gradient(125deg, #225dd8, #2d7bff);
}

.talent-heading p {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 2.2px;
  opacity: 0.82;
}

.talent-heading h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.35;
}

.talent-heading span {
  font-size: 14px;
  opacity: 0.9;
}

.form-item {
  margin-bottom: 48px;
}

.form-item > label:first-child {
  display: block;
  margin-bottom: 13px;
  color: #111;
  font-size: 16px;
  line-height: 1.65;
}

.form-item label b {
  margin-right: 5px;
  color: var(--danger);
  font-weight: 400;
}

.field-number {
  margin-right: 5px;
}

.field-hint {
  margin: -8px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

input[type="text"],
textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: 0;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"] {
  height: 42px;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input[type="text"]:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 104, 242, 0.1);
}

.upload-section {
  margin-bottom: 52px;
}

.upload-box {
  display: grid;
  width: 126px;
  min-height: 112px;
  padding: 15px 8px 12px;
  place-items: center;
  gap: 2px;
  color: #586170;
  border: 1px dashed #cfd5dd;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.upload-box:hover,
.upload-box:focus-within {
  background: #f6f9ff;
  border-color: var(--blue);
}

.upload-box svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.upload-box span {
  font-size: 14px;
}

.upload-box small {
  color: #8a929e;
  font-size: 11px;
  line-height: 1.4;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.file-name {
  min-height: 22px;
  margin: 8px 0 0;
  color: #586170;
  font-size: 13px;
  word-break: break-all;
}

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

.submit-row button {
  width: 180px;
  height: 44px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  transition: background 0.2s;
}

.submit-row button:hover {
  background: var(--blue-dark);
}

.submit-row button:disabled {
  background: #91b0ef;
  cursor: wait;
}

.submit-tip {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.submit-tip.success {
  color: #1b8d46;
}

.submit-tip.error {
  color: var(--danger);
}

.talent-footer {
  padding: 22px 16px;
  color: #89919d;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 600px) {
  .talent-header {
    height: 64px;
  }

  .talent-main {
    padding: 0 0 36px;
  }

  .talent-card {
    padding: 0 20px 38px;
    border-radius: 0;
    box-shadow: none;
  }

  .talent-heading {
    margin: 0 -20px 34px;
    padding: 29px 20px 27px;
  }

  .talent-heading h1 {
    font-size: 27px;
  }

  .talent-heading span {
    display: block;
    line-height: 1.7;
  }

  .form-item {
    margin-bottom: 38px;
  }

  .form-item > label:first-child {
    font-size: 15px;
  }

  .upload-box {
    width: 116px;
    min-height: 106px;
  }
}
