.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)); }
}

/* Guided resume flow */
html.candidate-profile-active footer,html.candidate-profile-active .seo-local-links,html.candidate-profile-active .seo-local-section{display:none!important}
html.candidate-auth-syncing #authButton{visibility:hidden}
.candidate-wizard{position:sticky;z-index:32;top:76px;margin:-4px 0 22px;padding:15px 18px;border:1px solid #dbe4f2;border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 10px 28px rgba(11,39,96,.1);backdrop-filter:blur(10px)}
.candidate-wizard-progress{overflow:hidden;height:5px;margin-bottom:13px;border-radius:99px;background:#e7edf7}.candidate-wizard-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1645e8,#59c318);transition:width .25s ease}
.candidate-wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.candidate-wizard-steps button{display:flex;align-items:center;gap:9px;min-height:48px;padding:8px;border:0;border-radius:11px;background:#f4f7fc;color:#6b7890;cursor:pointer;text-align:left;font-weight:800}.candidate-wizard-steps b{display:grid;flex:0 0 29px;height:29px;place-items:center;border-radius:50%;background:#dfe6f1;color:#61708a}.candidate-wizard-steps button.active{background:#edf2ff;color:#1645e8}.candidate-wizard-steps button.active b{background:#1645e8;color:#fff}.candidate-wizard-steps button.complete b{background:#59c318;color:#163d0d}.candidate-draft-status{margin:10px 0 0;color:#6c7890;font-size:11px;text-align:center}
.candidate-wizard-actions{position:sticky;z-index:31;bottom:12px;display:grid;grid-template-columns:auto auto 1fr;gap:9px;margin-top:20px;padding:10px;border:1px solid #d8e2ee;border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 14px 38px rgba(7,29,79,.18);backdrop-filter:blur(10px)}.candidate-wizard-actions button{min-height:48px;padding:0 16px;border:1px solid #ced9e9;border-radius:11px;background:#fff;color:#193568;cursor:pointer;font-weight:900}.candidate-wizard-actions button:disabled{opacity:.4}.candidate-wizard-actions .candidate-wizard-exit{color:#52617a}.candidate-wizard-actions .candidate-wizard-next{border-color:#59c318;background:#59c318;color:#123a0c}
.candidate-extra-section[hidden],#resumeForm>[hidden]{display:none!important}.candidate-section-toggle{margin-left:auto;min-height:42px;padding:0 13px;border:1px solid #b9c9e3;border-radius:10px;background:#fff;color:#1645e8;cursor:pointer;font-size:11px;font-weight:900}.candidate-optional-section.is-collapsed>:not(.candidate-section-title){display:none}.candidate-optional-section.is-collapsed{padding-bottom:4px}.candidate-original-submit{display:none!important}
@media(max-width:720px){
  html.candidate-profile-active body{padding-bottom:150px}
  .candidate-wizard{top:58px;margin:0 -10px 16px;padding:11px 10px;border-radius:0 0 15px 15px}
  .candidate-wizard-steps{gap:5px}.candidate-wizard-steps button{justify-content:center;min-width:0;min-height:44px;padding:6px 4px}.candidate-wizard-steps b{flex-basis:26px;height:26px}.candidate-wizard-steps span{display:none}.candidate-draft-status{margin-top:7px;font-size:10px}
  .candidate-extra-section{margin-top:12px;padding-top:18px}.candidate-step-number{display:none}.candidate-section-title{align-items:flex-start}.candidate-section-title h3{font-size:18px}.candidate-section-title p{line-height:1.4}
  .candidate-field input,.candidate-field select,.candidate-field textarea{min-height:48px;font-size:16px}.candidate-check{min-height:48px}
  .candidate-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.candidate-check{padding:9px 8px;font-size:11px}
  .candidate-wizard-actions{position:fixed;right:10px;bottom:calc(72px + env(safe-area-inset-bottom));left:10px;grid-template-columns:auto 1fr;padding:8px}.candidate-wizard-actions .candidate-wizard-exit{display:none}.candidate-wizard-actions button{min-height:52px;padding-inline:13px}.candidate-wizard-actions .candidate-wizard-next{font-size:15px}
  .candidate-section-toggle{min-height:44px;padding-inline:10px;white-space:nowrap}
}
