/* Aero Fabrications CV Upload Form
   Designed to sit neatly inside a static careers page.
   You can paste this into your main stylesheet if preferred.
*/

.aero-cv-section {
  --aero-navy: #0b2438;
  --aero-blue: #145c8c;
  --aero-light-blue: #e8f2f8;
  --aero-red: #c9252d;
  --aero-white: #ffffff;
  --aero-ink: #172b3a;
  --aero-muted: #5b6b76;
  --aero-border: rgba(11, 36, 56, 0.16);

  width: 100%;
  padding: 54px 20px;
  background:
    linear-gradient(135deg, rgba(11, 36, 56, 0.96), rgba(20, 92, 140, 0.92)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 34%);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.aero-cv-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.aero-cv-panel {
  border-radius: 6px;
  box-sizing: border-box;
}

.aero-cv-panel-intro {
  color: var(--aero-white);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.aero-cv-kicker {
  margin: 0 0 12px;
  color: var(--aero-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aero-cv-panel-intro h2 {
  margin: 0 0 16px;
  color: var(--aero-white);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 800;
}

.aero-cv-panel-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.55;
}

.aero-cv-highlight {
  margin-top: 26px;
  padding: 18px;
  border-left: 5px solid var(--aero-red);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.aero-cv-panel-form {
  padding: 34px;
  background: var(--aero-white);
  border-top: 5px solid var(--aero-red);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

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

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

.aero-cv-form label {
  display: grid;
  gap: 8px;
  color: var(--aero-ink);
  font-size: 15px;
  font-weight: 700;
}

.aero-cv-form input[type="text"],
.aero-cv-form input[type="tel"],
.aero-cv-form input[type="email"],
.aero-cv-form input[type="file"],
.aero-cv-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--aero-border);
  border-radius: 4px;
  background: #ffffff;
  color: var(--aero-ink);
  font: inherit;
  font-weight: 400;
}

.aero-cv-form select {
  appearance: auto;
}

.aero-cv-form input[type="text"],
.aero-cv-form input[type="tel"],
.aero-cv-form input[type="email"],
.aero-cv-form select {
  min-height: 48px;
  padding: 12px 14px;
}

.aero-cv-form input:focus,
.aero-cv-form select:focus {
  outline: 3px solid rgba(20, 92, 140, 0.22);
  border-color: var(--aero-blue);
}

.aero-cv-upload-box {
  padding: 20px;
  border: 2px dashed rgba(20, 92, 140, 0.34);
  border-radius: 6px;
  background: var(--aero-light-blue);
}

.aero-cv-upload-title {
  color: var(--aero-navy);
  font-weight: 800;
}

.aero-cv-upload-help,
.aero-cv-file-message,
.aero-cv-smallprint {
  color: var(--aero-muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
}

.aero-cv-file-message.is-error {
  color: #a32020;
  font-weight: 700;
}

.aero-cv-file-message.is-ok {
  color: #146c43;
  font-weight: 700;
}

.aero-cv-submit {
  justify-self: start;
  border: 0;
  border-radius: 4px;
  background: var(--aero-red);
  color: var(--aero-white);
  padding: 14px 28px;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.aero-cv-submit:hover,
.aero-cv-submit:focus {
  background: #a91f26;
  transform: translateY(-1px);
}

.aero-cv-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.aero-cv-smallprint {
  margin: 0;
}

.aero-cv-hidden {
  display: none !important;
}

@media (max-width: 820px) {
  .aero-cv-section {
    padding: 34px 14px;
  }

  .aero-cv-wrap {
    grid-template-columns: 1fr;
  }

  .aero-cv-panel-intro,
  .aero-cv-panel-form {
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .aero-cv-grid {
    grid-template-columns: 1fr;
  }

  .aero-cv-submit {
    width: 100%;
  }
}
