/* Career page styles — career-specific layer only.
   The shared design system (tokens, hero, animated vector background, jump nav, cards,
   process, FAQ, motion and reveal states) lives in css/software-development.css and is
   loaded first, exactly like the other redesigned pages. */

/* Four-up grid reuse (software-development.css ships three-up and two-up). */
.sd-page .sd-grid.sd-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------------- Open position cards ---------------- */
.sd-page .sd-position { display: flex; flex-direction: column; }
.sd-page .sd-position .sd-eyebrow { margin-bottom: 2px; }
.sd-page .sd-position h3 { font-size: 21px; margin-bottom: 2px; }
.sd-page .sd-position ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sd-page .sd-position ul li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: var(--sd-muted); }
.sd-page .sd-position ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #12c8a2; }
.sd-page .sd-position .sd-actions { margin-top: auto; padding-top: 20px; }
.sd-page .sd-position-meta { background: #f5f8fc; border: 1px solid var(--sd-line); border-radius: 12px; padding: 14px 16px; margin: 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 13px; color: var(--sd-muted); }
.sd-page .sd-position-meta b { color: var(--sd-ink); font-weight: 700; display: block; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 2px; }
.sd-page .sd-position-meta span { line-height: 1.45; }

/* Skill / keyword tags */
.sd-page .sd-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.sd-page .sd-tags li { border: 1px solid var(--sd-line); background: #f5f8fc; color: #344962; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; }

/* ---------------- Hiring process steps ---------------- */
.sd-page .sd-step { text-align: center; padding: 24px 16px; border: 1px solid var(--sd-line); border-radius: 14px; background: #fff; }
.sd-page .sd-step > span:first-child { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #eaf2ff; color: #0057d9; font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.sd-page .sd-step h3 { font-size: 16px; margin: 0 0 6px; }
.sd-page .sd-step p { font-size: 14px; margin: 0; }

/* Jump nav current section */
.sd-page .sd-jump a.active { color: #0057d9; }
.sd-page .sd-jump a.active::after { content: ''; display: block; height: 2px; margin-top: 6px; border-radius: 2px; background: #0057d9; }

/* Spacing utilities for the interview-preparation block */
.sd-page .sd-heading-top { margin-top: 38px; margin-bottom: 0; }
.sd-page .sd-h2-sub { font-size: clamp(22px, 2.2vw, 28px); }
.sd-page .sd-process-top { margin-top: 24px; }

/* ---------------- Apply banner + application form ---------------- */
.sd-page .sd-apply-banner { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #cddfeb; border-radius: 22px; background: linear-gradient(120deg, #eaf2ff, #e9faf3); padding: 44px; }
.sd-page .sd-apply-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(420px 220px at 94% 6%, rgba(0, 165, 137, .16), transparent 65%), radial-gradient(360px 200px at 4% 96%, rgba(0, 87, 217, .12), transparent 65%); animation: sd-apply-drift 16s ease-in-out infinite alternate; animation-play-state: paused; }
.sd-page .sd-apply-banner.sd-in-view::before { animation-play-state: running; }
.sd-page .sd-apply-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.sd-page .sd-apply-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.sd-page .sd-apply-list li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--sd-muted); }
.sd-page .sd-apply-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #12c8a2; }
.sd-page .sd-form { background: #fff; border: 1px solid var(--sd-line); border-radius: 16px; padding: 26px; }
.sd-page .sd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sd-page .sd-field { display: flex; flex-direction: column; gap: 6px; }
.sd-page .sd-field-wide { grid-column: 1 / -1; }
.sd-page .sd-field label { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #344962; }
.sd-page .sd-field input, .sd-page .sd-field select, .sd-page .sd-field textarea { width: 100%; border: 1px solid #153d67; border-radius: 9px; background: #fff; color: #12243b; font: inherit; font-size: 14.5px; padding: 12px 13px; min-height: 46px; }
.sd-page .sd-field textarea { min-height: 120px; resize: vertical; }
.sd-page .sd-field input::placeholder, .sd-page .sd-field textarea::placeholder { color: #7a8ea3; }
.sd-page .sd-field input:focus-visible, .sd-page .sd-field select:focus-visible, .sd-page .sd-field textarea:focus-visible { outline: 3px solid #008886; outline-offset: 2px; border-color: #0057d9; }
.sd-page .sd-field input[type="file"] { padding: 10px 12px; font-size: 13.5px; }
.sd-page .sd-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--sd-muted); line-height: 1.5; }
.sd-page .sd-consent input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; flex: 0 0 auto; }
.sd-page .sd-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.sd-page .sd-form-status { margin: 14px 0 0; font-size: 13.5px; font-weight: 700; }
.sd-page .sd-form-status:empty { display: none; }
.sd-page .sd-form-status[data-state="pending"] { color: #0057d9; }
.sd-page .sd-form-status[data-state="ok"] { color: #00796b; }
.sd-page .sd-form-status[data-state="error"] { color: #b3261e; }
.sd-page .sd-form-note { font-size: 12.5px; color: var(--sd-muted); margin: 12px 0 0; }
@keyframes sd-apply-drift { 0% { opacity: .55; transform: translate(0, 0); } 50% { opacity: 1; transform: translate(-28px, -18px); } 100% { opacity: .55; transform: translate(18px, 18px); } }

@media (max-width: 991px) {
  .sd-page .sd-grid.sd-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-page .sd-apply-banner { padding: 32px 24px; }
  .sd-page .sd-apply-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .sd-page .sd-grid.sd-four { grid-template-columns: minmax(0, 1fr); }
  .sd-page .sd-form-grid { grid-template-columns: minmax(0, 1fr); }
  .sd-page .sd-apply-banner { padding: 26px 18px; }
  .sd-page .sd-form { padding: 20px; }
  .sd-page .sd-step { padding: 20px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sd-page .sd-apply-banner::before { animation: none !important; }
  .sd-page .sd-position, .sd-page .sd-step, .sd-page .sd-tags li { transition: none !important; }
}
