/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Carerix Formulier */

#apply_form {
  background: #0a2133;
  border: 1px solid #0e3a52;
  border-radius: 10px;
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
  font-family: inherit;
}

/* ── 2. Section headings (Persoonsgegevens / Contactgegevens / etc.) ── */
#apply_form h3.cx2_h3_personal,
#apply_form h3.cx2_h3_contact,
#apply_form h3.cx2_h3_address,
#apply_form h3.cx2_h3_motivationAndSource,
#apply_form .cx_h3 {
  color: #ffffff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 28px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #0e3a52;
  position: relative;
}

#apply_form h3.cx2_h3_personal:first-child {
  margin-top: 0;
}

/* Red accent line under headings */
#apply_form .cx_h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 32px;
  height: 2px;
  background: #FF5769;
  border-radius: 2px;
}

/* ── 3. Flex grid ── */
#apply_form .cx2_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

#apply_form .cx2_flex-half {
  flex: 1 1 calc(50% - 8px);
  min-width: 200px;
}

#apply_form .cx2_flex-full {
  flex: 1 1 100%;
}

/* ── 4. Labels ── */
#apply_form label {
  display: block;
  color: #ffffff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

#apply_form .cx2_required_marker {
  color: #FF5769;
  margin-left: 2px;
}

/* ── 5. Text / email / tel / date inputs ── */
#apply_form input.cx2_input:not([type="file"]):not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
#apply_form textarea.cx2_input {
  display: block;
  width: 100%;
  background: #072537;
  border: 1.5px solid #0e3a52;
  border-radius: 6px;
  color: #ffffff;
  font-size: .9rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

#apply_form input.cx2_input:not([type="file"]):not([type="radio"]):not([type="checkbox"]):not([type="hidden"])::placeholder,
#apply_form textarea.cx2_input::placeholder {
  color: #1e4a63;
}

#apply_form input.cx2_input:not([type="file"]):not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus,
#apply_form textarea.cx2_input:focus {
  border-color: #FF5769;
  box-shadow: 0 0 0 3px rgba(255, 87, 105, .12);
}

/* Date input icon tint (Webkit) */
#apply_form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(.4);
  cursor: pointer;
}

/* ── 6. Textarea ── */
#apply_form textarea.cx2_input {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

/* ── 7. Radio buttons (Privé / Werk) ── */
#apply_form .carerix_labels,
#apply_form .cx2_labels_type-contact-email {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

#apply_form .carerix_labels input[type="radio"],
#apply_form .cx2_labels_type-contact-email input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #0e3a52;
  border-radius: 50%;
  background: #072537;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s ease;
  vertical-align: middle;
  margin-right: 6px;
}

#apply_form .carerix_labels input[type="radio"]:checked,
#apply_form .cx2_labels_type-contact-email input[type="radio"]:checked {
  border-color: #FF5769;
  background: #FF5769;
}

#apply_form .carerix_labels input[type="radio"]:checked::after,
#apply_form .cx2_labels_type-contact-email input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: #fff;
  border-radius: 50%;
}

#apply_form .carerix_labels,
#apply_form .cx2_labels_type-contact-email {
  color: #7a9aaf;
  font-size: .82rem;
}

/* ── 8. CV File upload ── */
#workExperience-cv-fieldcontainer {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #072537;
  border: 1.5px solid #0e3a52;
  border-radius: 6px;
  padding: 10px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  position: relative;
  width: 100%;
}
#workExperience-cv-fieldcontainer:hover,
#workExperience-cv-fieldcontainer:focus-within {
  border-color: #FF5769;
  box-shadow: 0 0 0 3px rgba(255, 87, 105, .12);
}
#workExperience-cv-fieldcontainer input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#workExperience-cv-fieldcontainer::before {
  content: 'Bestand kiezen';
  display: inline-flex;
  align-items: center;
  background: #FF5769;
  color: #ffffff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  flex-shrink: 0;
  transition: background .2s ease;
}
#workExperience-cv-fieldcontainer:hover::before {
  background: #e03050;
}
#workExperience-cv-fieldcontainer::after {
  content: 'Geen bestand gekozen';
  color: #7a9aaf;
  font-size: .875rem;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cx2_workExperience-cv-info {
  display: block;
  color: #7a9aaf;
  font-size: .75rem;
  margin-top: 8px;
  letter-spacing: .02em;
}
.cx2_workExperience-cv-info b,
.cx2_workExperience-cv-info .cx2_max_label {
  color: #FF5769;
  font-weight: 700;
}
a#workExperience-cv_change {
  color: #FF5769;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  transition: opacity .2s ease;
}
a#workExperience-cv_change:hover {
  opacity: .7;
  text-decoration: underline;
}

a.block-repeat.workExperience {
  color: #FF5769;
  text-decoration: none;
  transition: color .2s ease;
}

a.block-repeat.workExperience:hover {
  color: #ffffff;
}

/* ── 9. Privacy / Agreement checkbox ── */
#agreement_container {
  margin-top: 20px;
  margin-bottom: 4px;
}

#agreement_container label {
  display: flex;
  align-items:  flex-start;
  gap: 10px;
  color: #7a9aaf;
  font-size: .82rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

#agreement_check {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 1.5px solid #fff;
  border-radius: 3px;
  background: #072537;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s ease, background .2s ease;
}

#agreement_check:checked {
  background: #FF5769;
  border-color: #FF5769;
}

#agreement_check:checked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

#agreement_container a {
  color: #FF5769;
  text-decoration: none;
}

#agreement_container a:hover {
  text-decoration: underline;
}

/* ── 10. Submit button ── */
#apply_form .cx2_flex:last-of-type {
  margin-top: 24px;
}

#apply_button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF5769;
  color: #ffffff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  outline: none;
}

#apply_button:hover {
  background: #e03050;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 87, 105, .35);
}

#apply_button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Spinner icon inside button */
#apply_button .cx2_spinner_icon {
  width: 18px;
  height: 18px;
  opacity: .85;
  display: none;
}

/* ── 11. Validation error states ── */
#apply_form input.cx2_input.cx2_error,
#apply_form textarea.cx2_input.cx2_error {
  border-color: #FF5769 !important;
  box-shadow: 0 0 0 3px rgba(255, 87, 105, .15);
}

#apply_form .cx2_error_message,
#apply_form .carerix_error {
  color: #FF5769;
  font-size: .75rem;
  margin-top: 5px;
  display: block;
}

/* ── 12. Responsive ── */
@media (max-width: 600px) {
  #apply_form {
    padding: 24px 20px;
  }

  #apply_form .cx2_flex-half {
    flex: 1 1 100%;
  }
}

/* Carerix Formulier - Open Sollicitatie */

.ormer-open-sollicitatie #apply_form {
background: transparent !important;
border: none !important;
padding-top: 0px !important;
}