/* Hero section for vacancy page */
.vacancy-hero {
  position: relative;
  padding: 120px 0 80px;
  background-color: #0b1a30;
  color: #fff;
  overflow: hidden;
}

.vacancy-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url(../../images/hero-bg.webp); */
  background-size: cover;
  background-color: #ffffffe3;
  background-position: center;
  /* opacity: 0.4; */
  z-index: 1;
}

.vacancy-hero__container {
  position: relative;
  z-index: 2;
}

.vacancy-hero__badge {
  display: inline-block;
  background-color: #e62b2e;
  color: #fff;
  padding: 5px 15px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 20px;
}

.vacancy-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.1;
}

.vacancy-hero__subtitle {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  opacity: 0.9;
}

/* Main Content */
.vacancy-content {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.vacancy-section {
  margin-bottom: 30px;
}

.vacancy-section__title {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #0b1a30;
  margin-bottom: 25px;
  padding-left: 20px;
}

.vacancy-section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 28px;
  background-color: #e62b2e;
  border-radius: 2px;
}

.vacancy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vacancy-list__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.3;
  color: #333;
}

.vacancy-list__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  margin-top: 2px;
  color: #0066cc;
  /* Blue icon color from design */
}

.vacancy-list__icon--red {
  color: #e62b2e;
}

/* Location special item */
.vacancy-location {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.vacancy-location__icon {
  font-size: 24px;
  color: #0066cc;
  margin-right: 15px;
  margin-top: 5px;
}

/* Form Section */
.vacancy-form-wrapper {
  background-color: #eaf3fa;
  border-radius: 12px;
  padding: 40px;
  margin-top: 60px;
}

.vacancy-form-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.vacancy-form-header__icon {
  font-size: 40px;
  color: #0066cc;
  margin-right: 20px;
}

.vacancy-form-header__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 5px 0;
}

.vacancy-form-header__subtitle {
  font-size: 15px;
  color: #555;
  margin: 0;
}

.vacancy-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

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

.form-group--span-2 {
  grid-column: span 2;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-label span {
  color: #e62b2e;
}

.form-input,
.form-textarea,
.form-select {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #0066cc;
  outline: none;
}

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

.form-radio-group,
.form-checkbox-group {
  display: flex;
  gap: 20px;
  align-items: center;
  height: 100%;
}

.form-radio-label,
.form-checkbox-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}

.form-radio-label input,
.form-checkbox-label input {
  margin-right: 8px;
  cursor: pointer;
}

.form-agreement {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: flex-start;
  margin-top: 10px;
}

.form-agreement input {
  margin-right: 10px;
  margin-top: 2px;
}

.form-agreement a {
  color: #0066cc;
  text-decoration: underline;
}

.form-submit-btn {
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.form-submit-btn:hover {
  background-color: #0052a3;
}

.form-submit-btn i {
  margin-right: 10px;
}

.form-download-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 25px;
  font-size: 14px;
  color: #666;
}

.form-download-link a {
  color: #0066cc;
  text-decoration: underline;
  margin-left: 10px;
  display: flex;
  align-items: center;
}

.form-download-link a i {
  margin-right: 5px;
}

/* Recaptcha placeholder */
.recaptcha-placeholder {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
  margin-top: 15px;
}

@media (max-width: 992px) {
  .vacancy-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .vacancy-form {
    grid-template-columns: 1fr;
  }

  .form-group--span-2 {
    grid-column: 1 / -1;
  }

  .vacancy-section {
    margin-bottom: 25px;
  }

  .vacancy-form-wrapper {
    padding: 25px 20px;
  }
}