/* Base Styles */
.career-form-section {
  font-family: "Amsi Pro", sans-serif;
  padding: 60px 20px;
  background-color: #fff;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.career-heading {
  font-size: 50px;
  font-weight: 900;
  color: #e52421;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Form Grid */
.career-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  text-align: left;
}

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

.career-form input,
.career-form textarea {
  border: 2px solid #e52421;
  padding: 14px 16px;
  border-radius: 25px;
  font-size: 16px;
  width: 100%;
  outline: none;
  transition: 0.3s;
}

.career-form input:focus,
.career-form textarea:focus {
  border-color: #b01a18;
  box-shadow: 0 0 8px rgba(229, 36, 33, 0.3);
}

.career-form textarea {
  border-radius: 15px;
  resize: none;
  grid-column: span 2;
}

/* File Upload */
.file-upload {
  grid-column: span 2;
}

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

.upload-box {
  display: flex;
  align-items: center;
  border: 2px dashed #e52421;
  border-radius: 20px;
  padding: 12px 15px;
  justify-content: space-between;
  background: #fff8f8;
  position: relative;
}

.upload-box input[type="file"] {
  display: none;
}

.file-chosen {
  font-size: 14px;
  color: #444;
  flex: 1;
  margin-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-btn {
  background: #e52421;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: 0.3s;
}

.upload-btn:hover {
  background: #b01a18;
}

/* Custom Checkbox */
.checkbox-label {
  grid-column: span 2;
  display: flex;
  align-items: center;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
}

.checkbox-label input {
  display: none;
}

.checkbox-label .checkmark {
  position: absolute;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #e52421;
  border-radius: 4px;
  transition: 0.3s;
}

.checkbox-label input:checked + .checkmark {
  background-color: #e52421;
  border-color: #e52421;
}

.checkbox-label .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked + .checkmark::after {
  display: block;
}

/* Submit Button */
.submit-btn {
  grid-column: span 2;
  justify-self: center;
  border: 2px solid #e52421;
  background: transparent;
  color: #e52421;
  padding: 12px 40px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: 0.3s ease;
  box-shadow: 5px 5px 0px #f20000;
  margin: 20px 20px 100px 20px;
}

.submit-btn:hover {
  background: #e52421;
  color: #fff;
  box-shadow: 5px 5px 0px #ffffff, 6px 6px 0px 0.4px #e52421 !important;
}

/* Responsive */
@media (max-width: 900px) {
  .career-form {
    grid-template-columns: 1fr;
  }

  .career-form textarea,
  .checkbox-label,
  .submit-btn,
  .file-upload {
    grid-column: span 1;
  }

  .career-heading {
    font-size: 38px;
  }

  .submit-btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}
/* Error Message */
.error-message {
  color: red;
  font-size: 13px;
  margin-top: 6px;
  display: block;
}

