/* Careers: scoped layout and application components. */
.careers-page { background: #f5f6fa; }
.career-hero { width: 100%; }
.career-art .career-art-icon { width: 55px !important; height: 55px !important; max-width: 55px !important; display: block; }
.career-art-tile .icon { width: 25px !important; height: 25px !important; max-width: 25px !important; display: block; }
.career-art-main { height: auto; min-height: 250px; }
.career-art { width: 100%; max-width: 500px; margin-inline: auto; }
.career-hero { position: relative; overflow: hidden; background: #061d3c; color: #fff; }
.career-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; min-height: 510px; padding-top: 64px; padding-bottom: 64px; }
.career-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #5705c9; font-size: .72rem; font-weight: 750; letter-spacing: .16em; }
.career-hero .career-eyebrow { color: #d8c6ff; }
.career-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #bd9aff; }
.career-hero h1 { margin: 22px 0; color: #fff; font-size: clamp(2.8rem, 4.8vw, 4.4rem); letter-spacing: -.055em; line-height: 1.05; }
.career-hero h1 em { color: #c5a4ff; font-style: normal; }
.career-hero-copy > p { max-width: 370px; color: #c2cede; font-size: 1.05rem; margin-bottom: 28px; }
.career-hero-note { display: block; color: #aebdd0; font-size: .75rem; margin-top: 20px; }
.career-art { position: relative; min-height: 370px; }
.career-art-orbit { position: absolute; width: 350px; height: 350px; border: 1px solid #ffffff16; border-radius: 50%; top: 10px; left: 30px; }
.career-art-orbit::after { content: ''; position: absolute; inset: 38px; border: 1px dashed #ffffff1a; border-radius: 50%; }
.career-art-main { position: absolute; width: 260px; padding: 30px; left: 80px; top: 24px; transform: rotate(-6deg); border-radius: 22px; background: #f1ebff; color: #061d3c; box-shadow: 0 28px 60px #0003; }
.career-art-icon { width: 55px; height: 55px; color: #5705c9; margin-bottom: 22px; }
.career-art-main > span { display: block; font-size: 1.8rem; font-weight: 750; letter-spacing: -.05em; line-height: 1.15; }
.career-art-line { height: 1px; background: #5705c926; margin: 24px 0 16px; }
.career-art-main small { font-size: .6rem; letter-spacing: .18em; font-weight: 700; }
.career-art-tile { position: absolute; display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 14px; box-shadow: 0 16px 36px #0002; font-size: .8rem; font-weight: 650; }
.career-art-tile .icon { width: 25px; height: 25px; flex-shrink: 0; }
.career-art-clean { background: #5705c9; color: white; right: 0; top: 0; transform: rotate(5deg); }
.career-art-grow { background: #fff; color: #061d3c; right: 5px; bottom: 16px; transform: rotate(4deg); }
.career-art-grow .icon { color: #5705c9; }
.career-art-dot { position: absolute; width: 22px; height: 22px; background: #c5a4ff; border-radius: 50%; left: 20px; bottom: 32px; }
.career-application-section { padding: 64px 0 50px; }
.career-application-container { max-width: 1020px; }
.career-intro { text-align: center; margin-bottom: 32px; }
.career-intro h2 { font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -.045em; margin: 12px 0; }
.career-intro p { color: var(--mivtah-text-muted); margin: 0; }
.career-panel { padding: 40px 48px; background: #fff; border: 1px solid #e3e7ee; border-radius: 20px; box-shadow: 0 16px 48px #061d3c08; scroll-margin-top: 110px; min-width: 0; }
.career-fieldset { margin: 0 0 30px; padding: 0 0 30px; border: 0; border-bottom: 1px solid #edf0f5; min-width: 0; }
.career-fieldset legend { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 20px; padding: 0; font-size: 1.1rem; font-weight: 700; color: #061d3c; letter-spacing: -.02em; }
.career-step { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #5705c9; background: #f3edfc; font-size: .7rem; letter-spacing: 0; }
.career-role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.career-role { position: relative; cursor: pointer; min-width: 0; }
.career-role > input { position: absolute; width: 1px; height: 1px; opacity: 0; left: 16px; top: 16px; }
.career-role-content { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; position: relative; padding: 18px; border: 1px solid #dce2ec; border-radius: 12px; background: #fcfcfe; color: #546071; height: 100%; transition: background .18s, border-color .18s, box-shadow .18s; }
.career-role-content > .icon { width: 25px; height: 25px; color: #5705c9; }
.career-role-content > span:not(.career-role-check) { font-size: .85rem; font-weight: 650; }
.career-role-check { display: none; position: absolute; right: 12px; top: 12px; width: 19px; height: 19px; align-items: center; justify-content: center; border-radius: 50%; background: #5705c9; color: #fff; }
.career-role-check .icon { width: 12px; height: 12px; }
.career-role:hover .career-role-content { border-color: #a783df; background: #faf7ff; }
.career-role > input:checked + .career-role-content { background: #f5efff; border-color: #5705c9; box-shadow: inset 0 0 0 1px #5705c9; color: #3f078c; }
.career-role > input:checked + .career-role-content .career-role-check { display: flex; }
.career-role > input:focus-visible + .career-role-content { outline: 3px solid #9c6be3; outline-offset: 3px; }
.career-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.career-fields-grid .form-field { min-width: 0; }
.career-fields-grid .form-label { font-size: .8rem; }
.career-fields-grid .form-control, .career-fields-grid .form-textarea { background: #fafbfe; border-color: #dce2ec; font-size: .9rem; border-radius: 8px; }
.career-fields-grid .form-control { height: 50px; }
.career-fields-grid .form-textarea { min-height: 120px; height: auto; resize: vertical; }
.career-field-note { margin: 12px 0 0; font-size: .72rem; color: #657286; }
.career-consent { display: flex; align-items: flex-start; gap: 10px; color: #546071; font-size: .75rem; line-height: 1.65; cursor: pointer; }
.career-consent input { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; accent-color: #5705c9; }
.career-consent a { color: #5705c9; text-decoration: underline; }
.career-security { margin-top: 22px; max-width: 100%; }
.career-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.career-submit-row > span { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: #657286; }
.career-submit-row > span .icon-inline { color: #5705c9; width: 18px; height: 18px; }
.career-afterword { text-align: center; font-size: .75rem; color: #657286; padding-top: 24px; }
.career-afterword p { margin-bottom: 8px; }
.career-afterword a { display: inline-flex; align-items: center; gap: 6px; color: #5705c9; font-weight: 600; }
.career-success { text-align: center; max-width: 500px; margin: 20px auto; }
.career-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #f3edfc; color: #5705c9; margin-bottom: 20px; }
.career-success h3 { font-size: 2rem; }
.career-success p { color: #546071; margin-bottom: 24px; }
@media (max-width: 900px) {
  .career-hero-grid { gap: 15px; }
  .career-art { transform: scale(.85); transform-origin: center; }
  .career-art-main { left: 20px; }
  .career-art-clean { right: -15px; }
  .career-art-orbit { left: -20px; }
}
@media (max-width: 640px) {
  .career-hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 44px; padding-bottom: 40px; }
  .career-hero h1 { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .career-hero-copy > p { max-width: 100%; }
  .career-art { display: none; }
  .career-application-section { padding: 36px 0; }
  .career-intro { text-align: left; margin-bottom: 24px; }
  .career-intro p { font-size: .9rem; }
  .career-panel { padding: 24px 20px; border-radius: 16px; }
  .career-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .career-role-content { padding: 15px 12px; gap: 12px; }
  .career-role-content > span:not(.career-role-check) { font-size: .78rem; }
  .career-fields-grid { grid-template-columns: 1fr; gap: 16px; }
  .career-submit-row { flex-direction: column-reverse; align-items: stretch; gap: 16px; }
  .career-submit-row > span { justify-content: center; }
  .career-submit-row .btn { width: 100%; }
  .career-eyebrow { font-size: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  .career-role-content { transition: none; }
}
