/* ── Career Application Form Styles ───────────────────────────────── */

.formCard {
  background: #FFFFFF;
  border: 1px solid #E5E9E6;
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 6px 24px rgba(20, 40, 30, 0.04);
}

.formHeader {
  margin-bottom: 22px;
}

.formTitle {
  font-size: 20px;
  font-weight: 700;
  color: #17232F;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.formSubtitle {
  font-size: 13.5px;
  color: #667085;
  margin: 0;
  line-height: 1.45;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Form Field Styling */
.formGroup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.fieldLabel {
  font-size: 13.5px;
  font-weight: 600;
  color: #1F2937;
  display: flex;
  align-items: center;
  gap: 4px;
}

.required {
  color: #DC2626;
  font-weight: bold;
}

.inputField,
.selectField {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #DDE4DF;
  border-radius: 10px;
  background-color: #FFFFFF;
  font-size: 14px;
  color: #17232F;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inputField::placeholder,
.textareaField::placeholder {
  color: #9CA3AF;
}

.inputField:focus,
.selectField:focus,
.textareaField:focus {
  border-color: #269436;
  box-shadow: 0 0 0 3px rgba(38, 148, 54, 0.08);
}

.inputError {
  border-color: #DC2626 !important;
  background-color: #FFF8F8 !important;
}

.textareaField {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  border: 1px solid #DDE4DF;
  border-radius: 10px;
  background-color: #FFFFFF;
  font-size: 14px;
  color: #17232F;
  outline: none;
  resize: vertical;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fieldError {
  font-size: 12px;
  color: #DC2626;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Optional Accordion Section */
.optionalSection {
  border: 1px solid #EDF1EE;
  border-radius: 12px;
  background-color: #FAFCFA;
  overflow: hidden;
  margin-top: 4px;
}

.optionalToggleBtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #4B5563;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.optionalToggleBtn:hover {
  background-color: #F0F4F1;
  color: #17232F;
}

.optionalContent {
  padding: 16px;
  border-top: 1px solid #EDF1EE;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* File Field Inside Optional */
.fileUploadCompact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compactFileInput {
  font-size: 13px;
  color: #4B5563;
}

.fileHint {
  font-size: 11.5px;
  color: #6B7280;
  margin: 0;
}

/* Custom Question List */
.questionList {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px dashed #E5E9E6;
}

.questionItem {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.optionGroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.optionLabel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #374151;
  cursor: pointer;
}

/* Alert Error Messages */
.errorAlert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: #FEF2F2;
  border: 1px solid #FEE2E2;
  color: #B91C1C;
  font-size: 13px;
  font-weight: 500;
}

/* Submit Button */
.submitBtn {
  width: 100%;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #269436;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
  box-shadow: 0 2px 10px rgba(38, 148, 54, 0.2);
}

.submitBtn:hover:not(:disabled) {
  background-color: #1F7F2E;
  box-shadow: 0 4px 14px rgba(38, 148, 54, 0.3);
  transform: translateY(-1px);
}

.submitBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Success Card */
.successCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  gap: 16px;
}

.successIconBox {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #EBF7EE;
  color: #269436;
  display: flex;
  align-items: center;
  justify-content: center;
}

.successTitle {
  font-size: 19px;
  font-weight: 700;
  color: #17232F;
  margin: 0;
}

.codeBadge {
  display: inline-block;
  padding: 6px 16px;
  background-color: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
  letter-spacing: 0.05em;
}

.successText {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}
