.contact-form-root,
.contact-form-root * {
  box-sizing: border-box;
}

.form-container {
  width: 100%;
  padding: 32px;
  border: 1px solid rgba(11, 19, 65, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 24px 60px rgba(5, 87, 188, 0.08);
}

.form-title {
  margin: 0 0 10px;
  color: var(--ast-global-color-3, #0b1341);
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.form-copy {
  margin: 0 0 24px;
  color: rgba(11, 19, 65, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.form-fields {
  display: grid;
  gap: 24px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-label {
  color: var(--ast-global-color-3, #0b1341);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-label-optional {
  color: rgba(11, 19, 65, 0.6);
  font-size: 0.875rem;
  font-weight: 400;
}

.form-input,
.form-textarea {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(11, 19, 65, 0.14);
  border-radius: 14px;
  background-color: #ffffff;
  color: var(--ast-global-color-3, #0b1341);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(11, 19, 65, 0.44);
}

.form-input:hover,
.form-textarea:hover {
  border-color: rgba(5, 87, 188, 0.28);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ast-global-color-0, #0557bc);
  box-shadow: 0 0 0 4px rgba(5, 87, 188, 0.12);
}

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

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: 14px;
  background: #0557bc !important;
  background-image: linear-gradient(135deg, #0557bc, #0063dc) !important;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.form-button:hover,
.form-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(5, 87, 188, 0.22);
  filter: saturate(1.05);
  background: #0063dc !important;
  background-image: linear-gradient(135deg, #0557bc, #0063dc) !important;
}

.form-button {
  color: #ffffff !important;
}

.form-button:focus-visible {
  outline: 0;
}

.career-form-wrapper {
  width: 100%;
  max-width: 560px;
  padding-top: 16px;
  padding-right: 24px;
}

.contact-section > .e-con-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.contact-form-wrapper,
.contact-info {
  width: 100%;
  min-width: 0;
}

.contact-info {
  align-self: center;
}

@media (max-width: 921px) {
  .career-form-wrapper {
    max-width: none;
    padding-right: 0;
  }

  .contact-section > .e-con-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 544px) {
  .form-container {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .form-copy,
  .form-fields {
    gap: 16px;
  }

  .form-button {
    width: 100%;
  }
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status-success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status-error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
