:root {
  --career-accent: #169ec3;
  --career-accent-dark: #0f7c9d;
  --career-accent-soft: #eaf8fc;
  --career-ink: #183247;
  --career-muted: #698195;
  --career-line: #c7e7f1;
  --career-surface: #ffffff;
  --career-shadow: 0 24px 60px rgba(15, 70, 98, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(22, 158, 195, 0.12), transparent 28%),
    linear-gradient(180deg, #f9fdff 0%, #ffffff 26%, #f7fbfd 100%);
  color: var(--career-ink);
  overflow-x: hidden;
}

body.career-popup-open {
  overflow: hidden;
}

.career-no-opening {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}

.hero-copy {
  background: linear-gradient(145deg, #f3fbfe 0%, #ffffff 100%);
  border: 1px solid rgba(22, 158, 195, 0.18);
  border-radius: 34px;
  box-shadow: var(--career-shadow);
  padding: 38px 40px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #e5f7fb;
  color: var(--career-accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--career-accent);
  box-shadow: 0 0 0 6px rgba(22, 158, 195, 0.15);
}

.hero-copy h1 {
  margin: 20px 0 14px;
  font-size: clamp(2.3rem, 4vw, 3.9rem);
  line-height: 0.95;
  color: #123147;
}

.hero-paragraphs {
  max-width: 56ch;
  display: grid;
  gap: 14px;
}

.hero-copy p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #51687b;
  text-wrap: pretty;
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(22, 158, 195, 0.18);
  box-shadow: 0 18px 46px rgba(11, 120, 158, 0.22);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(22, 158, 195, 0.26));
  backdrop-filter: blur(4px);
}

.form-section {
  background: var(--career-surface);
  border: 1px solid rgba(22, 158, 195, 0.14);
  border-radius: 36px;
  box-shadow: var(--career-shadow);
  padding: 34px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  color: #153349;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--career-muted);
  max-width: 56ch;
  line-height: 1.7;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--career-accent-soft);
  color: var(--career-accent-dark);
  font-weight: 700;
  white-space: nowrap;
}

.form-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.career-form {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-group {
  display: grid;
  gap: 10px;
}

.field-group--full {
  grid-column: 1 / -1;
}

.field-group label {
  font-size: 0.96rem;
  font-weight: 700;
  color: #17354b;
}

.field-hint {
  font-size: 0.88rem;
  color: var(--career-muted);
  margin-left: 4px;
}

.career-form input,
.career-form textarea,
.career-form select {
  width: 100%;
  border: 1.5px solid var(--career-line);
  background: #fbfeff;
  border-radius: 20px;
  padding: 17px 20px;
  font: inherit;
  color: #16374b;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.career-conditional-input[hidden] {
  display: none !important;
}

.career-conditional-input {
  margin-top: 12px;
}

.career-form input::placeholder,
.career-form textarea::placeholder {
  color: #7e96a8;
}

.career-form textarea {
  min-height: 150px;
  resize: vertical;
}

.career-form input:focus,
.career-form textarea:focus,
.career-form select:focus {
  border-color: var(--career-accent);
  box-shadow: 0 0 0 5px rgba(22, 158, 195, 0.14);
  background: #ffffff;
  transform: translateY(-1px);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 58px;
  cursor: pointer;
}

.select-wrap:has(.custom-select)::after {
  display: none;
}

.career-form .custom-select-toggle {
  width: 100%;
  border: 1.5px solid var(--career-line);
  background: #fbfeff;
  border-radius: 20px;
  padding: 17px 20px;
  min-height: 61px;
  font: inherit;
  color: #16374b;
  box-shadow: none;
}

.career-form .custom-select.open .custom-select-toggle,
.career-form .custom-select-toggle:focus {
  border-color: var(--career-accent);
  box-shadow: 0 0 0 5px rgba(22, 158, 195, 0.14);
  background: #ffffff;
}

.career-form .custom-select-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.career-form .custom-select-arrow {
  width: 16px;
  height: 16px;
  border-right: 2.5px solid var(--career-accent-dark);
  border-bottom: 2.5px solid var(--career-accent-dark);
  transform: rotate(45deg);
  margin-left: 16px;
  flex: 0 0 auto;
}

.career-form .custom-select.open .custom-select-arrow {
  transform: rotate(-135deg);
}

.career-form .custom-select-menu {
  top: calc(100% + 8px);
  border-radius: 20px;
  border: 1.5px solid var(--career-line);
  box-shadow: 0 20px 40px rgba(15, 70, 98, 0.16);
  padding: 10px;
  z-index: 120;
}

.career-form .custom-select-option {
  border-radius: 14px;
  background: #f5fbfe;
  color: #17354b;
  padding: 12px 14px;
  font-size: 0.98rem;
}

.career-form .custom-select-option:hover {
  background: #e9f7fc;
  color: var(--career-accent-dark);
  border-color: rgba(22, 158, 195, 0.2);
}

.career-form .custom-select-option.is-selected {
  background: #dff4fb;
  color: var(--career-accent-dark);
  border-color: rgba(22, 158, 195, 0.32);
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2.5px solid var(--career-accent-dark);
  border-bottom: 2.5px solid var(--career-accent-dark);
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
  opacity: 0.9;
}

.file-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1.5px dashed var(--career-line);
  border-radius: 22px;
  background: linear-gradient(145deg, #f8fdff 0%, #f1fbfe 100%);
  padding: 16px;
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.file-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #dff5fb;
  color: var(--career-accent-dark);
  font-size: 1.4rem;
  font-weight: 700;
}

.file-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #17354b;
}

.file-copy span {
  display: block;
  color: var(--career-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.file-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.file-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--career-accent) 0%, var(--career-accent-dark) 100%);
  color: #fff;
  font-weight: 700;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.file-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 124, 157, 0.22);
}

.submit-btn {
  border: none;
  border-radius: 22px;
  background: linear-gradient(135deg, #16a6c8 0%, #1084a8 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 18px 26px;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(16, 132, 168, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(16, 132, 168, 0.3);
  filter: saturate(1.04);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.aside-visual {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(22, 158, 195, 0.16);
  box-shadow: 0 20px 48px rgba(16, 132, 168, 0.18);
}

.aside-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.aside-note {
  border-radius: 24px;
  background: #f6fbfd;
  border: 1px solid rgba(22, 158, 195, 0.14);
  padding: 20px 22px;
}

.aside-note h3 {
  margin: 0 0 10px;
  color: #17354b;
  font-size: 1.15rem;
}

.aside-note p {
  margin: 0;
  color: var(--career-muted);
  line-height: 1.7;
}

.benefits-section {
  margin-top: 34px;
}

.benefits-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  color: #17354b;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid rgba(22, 158, 195, 0.14);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 14px 32px rgba(15, 70, 98, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(15, 70, 98, 0.14);
}

.benefit-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 14px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #17354b;
}

.benefit-card p {
  margin: 0;
  color: var(--career-muted);
  line-height: 1.7;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.zoom-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.show,
.zoom-in.show {
  opacity: 1;
  transform: none;
}

.career-success-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 31, 43, 0.52);
  backdrop-filter: blur(4px);
  z-index: 100000;
}

.career-success-popup {
  width: min(100%, 520px);
  padding: 46px 34px 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,251,253,0.95) 100%);
  box-shadow: 0 28px 70px rgba(7, 50, 72, 0.25);
  text-align: center;
}

.career-success-badge {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(125, 194, 66, 0.14);
}

.career-success-badge-core {
  width: 58px;
  height: 58px;
  position: relative;
  display: block;
  border-radius: 18px;
  background: #86cb48;
  border: 4px solid #fff;
  transform: rotate(45deg);
  box-shadow: 0 10px 24px rgba(125, 194, 66, 0.28);
}

.career-success-badge-check {
  position: absolute;
  left: 15px;
  top: 8px;
  width: 11px;
  height: 22px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
}

.career-success-popup h2 {
  margin: 0 0 14px;
  color: var(--career-accent-dark);
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.career-success-popup p {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--career-muted);
  line-height: 1.8;
}

.career-success-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.career-success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #16a6c8 0%, #1084a8 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(16, 132, 168, 0.24);
}

.career-success-btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .hero,
  .form-container {
    grid-template-columns: 1fr;
  }

  .form-aside {
    position: static;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .career-no-opening {
    width: min(100% - 28px, 100%);
    padding: 28px 0 56px;
  }

  .hero-copy,
  .form-section {
    padding: 24px 20px;
    border-radius: 26px;
  }

  .field-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .file-card {
    flex-direction: column;
    align-items: stretch;
  }

  .file-copy span {
    max-width: none;
    white-space: normal;
  }

  .file-trigger,
  .submit-btn {
    width: 100%;
  }

  .career-success-popup {
    padding: 34px 22px 24px;
    border-radius: 22px;
  }

  .career-success-btn {
    width: 100%;
  }
}
