.candidate-extra-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #dce3ef;
}

.candidate-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.candidate-step-number {
  display: grid;
  flex: 0 0 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #1645e8;
  color: #fff;
  font-weight: 900;
}

.candidate-section-title h3 { margin: 0; color: #071b42; font-size: 20px; }
.candidate-section-title p { margin: 3px 0 0; color: #71809a; font-size: 12px; }
.candidate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.candidate-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.candidate-grid .wide { grid-column: 1 / -1; }

.candidate-field { display: grid; gap: 7px; color: #071b42; font-size: 12px; font-weight: 800; }
.candidate-field input,
.candidate-field select,
.candidate-field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid #d6dfec;
  border-radius: 11px;
  background: #fff;
  color: #14213d;
  font: 500 14px/1.35 sans-serif;
}
.candidate-field textarea { min-height: 92px; resize: vertical; }
.cep-lookup { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.cep-lookup button {
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #1645e8;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}
.cep-lookup button:disabled { cursor: wait; opacity: .65; }
.cep-status { min-height: 16px; color: #61718b; font-size: 11px; font-weight: 700; }
.cep-status.error { color: #c83b2f; }
.cep-status.success { color: #258b30; }
.candidate-field input:focus,
.candidate-field select:focus,
.candidate-field textarea:focus { outline: 3px solid rgba(22, 69, 232, .12); border-color: #1645e8; }

.candidate-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.candidate-check {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1px solid #dce3ef;
  border-radius: 12px;
  background: #f7f9fd;
  color: #31415d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.candidate-check input,
.form .candidate-check input,
.form-card .candidate-check input {
  flex: 0 0 17px;
  width: 17px !important;
  height: 17px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  accent-color: #1645e8;
}
.candidate-check:has(input:checked) {
  border-color: #9eb2f5;
  background: #edf2ff;
  color: #0c35bd;
}

.candidate-repeater { display: grid; gap: 12px; }
.candidate-row {
  position: relative;
  padding: 16px;
  border: 1px solid #dce3ef;
  border-radius: 16px;
  background: #f9fbff;
}
.candidate-row-title { margin: 0 0 12px; color: #1645e8; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.candidate-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border: 1px solid #f0b8b3;
  border-radius: 9px;
  background: #fff5f4;
  color: #b52e25;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.candidate-remove:hover { background: #ffe8e5; }
.candidate-remove[hidden] { display: none; }
.candidate-add {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid #1645e8;
  border-radius: 10px;
  background: #fff;
  color: #1645e8;
  cursor: pointer;
  font-weight: 800;
}

.language-table { display: grid; gap: 8px; }
.language-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f9fd;
  color: #14213d;
  font-size: 13px;
  font-weight: 800;
}
.language-row select { min-height: 38px; border: 1px solid #d6dfec; border-radius: 9px; background: #fff; padding: 8px; }
.candidate-privacy { margin-top: 18px; padding: 14px; border-radius: 13px; background: #eef8e8; color: #315c25; font-size: 12px; line-height: 1.5; }
.candidate-save-note { min-height: 20px; margin-top: 10px; color: #2d7b27; font-size: 12px; font-weight: 800; }
.candidate-online-tip {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #a9c0ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #edf3ff, #f8fbff);
  color: #143586;
  font-size: 13px;
  line-height: 1.5;
}
.candidate-online-tip strong { display: block; margin-bottom: 4px; font-size: 15px; }
.candidate-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.candidate-upload-card {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px dashed #9fb0cc;
  border-radius: 16px;
  background: #fbfcff;
  color: #14213d;
}
.candidate-upload-card strong { font-size: 15px; }
.candidate-upload-card small { color: #6b7890; line-height: 1.4; }
.candidate-upload-card input[type="file"] { width: 100%; font-size: 12px; }
.candidate-avatar-preview {
  display: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #cbd8f5;
}
.candidate-file-name { min-height: 18px; color: #1645e8; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.experience-current { margin-top: 10px; }

@media (max-width: 720px) {
  .candidate-grid, .candidate-grid.three { grid-template-columns: 1fr; }
  .candidate-grid .wide { grid-column: auto; }
  .language-row { grid-template-columns: 1fr; gap: 7px; }
  .candidate-options { grid-template-columns: 1fr; }
  .cep-lookup { grid-template-columns: 1fr; }
  .cep-lookup button { min-height: 42px; }
  .candidate-upload-grid { grid-template-columns: 1fr; }
}

@media (min-width: 721px) and (max-width: 980px) {
  .candidate-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
