/* ===== VACANCIES PAGE ===== */

.vac-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  margin: 12px 0 32px;
  line-height: 1.1;
}

/* Vacancy list */
.vac-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}
.vac-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: border-color .2s, box-shadow .2s;
}
.vac-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(27,147,212,.08);
}
.vac-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.vac-card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.vac-card__salary {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(27,147,212,.08);
  padding: 6px 14px;
  border-radius: 8px;
}
.vac-card__desc,
.vac-card__req {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.vac-card__req strong {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}
.vac-card__desc ul,
.vac-card__req ul {
  margin: 8px 0;
  padding-left: 20px;
}
.vac-card__footer {
  padding-top: 8px;
}

/* Empty state */
.vac-empty {
  text-align: center;
  padding: 80px 20px;
}
.vac-empty__icon {
  color: var(--text-muted);
  opacity: .3;
  margin-bottom: 24px;
}
.vac-empty__text {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== RESUME FORM SECTION ===== */
.vac-form-section {
  margin: 0 0 60px;
  scroll-margin-top: 100px;
}
.vac-form-header {
  text-align: center;
  margin-bottom: 32px;
}
.vac-form-header__icon {
  margin-bottom: 12px;
}
.vac-form__title {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 8px;
}
.vac-form__text {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Form card — horizontal layout */
.vac-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.vac-form-card__section {
  padding: 32px 36px;
}
.vac-form-card__section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vac-form-card__num {
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.vac-form-card__divider {
  width: 1px;
  background: var(--border);
}

/* Form fields */
.vrf-group {
  margin-bottom: 16px;
}
.vrf-group:last-child {
  margin-bottom: 0;
}
.vrf-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.vrf-group input[type="text"],
.vrf-group input[type="tel"],
.vrf-group input[type="email"],
.vrf-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--gray-bg);
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
}
.vrf-group input:focus,
.vrf-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.vrf-group textarea {
  resize: vertical;
  min-height: 100px;
}
.vac-resume-form__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* File upload zone */
.vac-file-upload {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  transition: border-color .2s, background .2s;
  cursor: pointer;
  background: var(--gray-bg);
}
.vac-file-upload:hover,
.vac-file-upload.is-dragover {
  border-color: var(--blue);
  background: rgba(27,147,212,.04);
}
.vac-file-upload__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.vac-file-upload__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  pointer-events: none;
}
.vac-file-upload__content svg {
  opacity: .35;
}
.vac-file-upload__text {
  font-size: 14px;
}
.vac-file-upload__text strong {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vac-file-upload__hint {
  font-size: 12px;
  color: var(--text-light);
}
.vac-file-upload__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}
.vac-file-upload.has-file {
  border-color: var(--blue);
  border-style: solid;
  background: rgba(27,147,212,.06);
}
.vac-file-upload.has-file .vac-file-upload__text,
.vac-file-upload.has-file .vac-file-upload__hint { display: none; }
.vac-file-upload.has-file .vac-file-upload__content svg { color: var(--blue); opacity: .7; }

/* Form footer */
.vac-resume-form__footer {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.vrf-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.vrf-consent input { margin-top: 2px; flex-shrink: 0; }
.vrf-consent a { color: var(--blue); text-decoration: underline; }
.vrf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 40px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.vrf-submit:hover { background: #1580ba; }
.vrf-submit:active { transform: scale(.98); }

/* Success state */
.vac-form-success {
  text-align: center;
  padding: 48px 20px;
}
.vac-form-success__icon {
  width: 64px;
  height: 64px;
  background: #e6f9ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #2e7d32;
}
.vac-form-success__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.vac-form-success__text {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* Alt contacts */
.vac-form-alt {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vac-form-alt a {
  color: var(--blue);
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .vac-form-card {
    grid-template-columns: 1fr;
  }
  .vac-form-card__divider {
    width: auto;
    height: 1px;
  }
}
@media (max-width: 768px) {
  .vac-title { font-size: 26px; }
  .vac-card { padding: 20px 24px; }
  .vac-card__header { flex-direction: column; align-items: flex-start; }
  .vac-form-card__section { padding: 24px 24px; }
  .vac-form__title { font-size: 24px; }
  .vac-resume-form__footer { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .vac-title { font-size: 22px; }
  .vac-empty { padding: 48px 16px; }
  .vac-form-card__section { padding: 20px 20px; }
}
