.wincent-career-form {
  font-family: "Jost", sans-serif;
}

.wincent-career-form .wincent-career-form__fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wincent-career-form .wincent-field-group {
  width: 100%;
}

.wincent-career-form .wincent-field-group--ai-consent-hidden {
  display: none;
}

.wincent-career-form .wincent-field-label {
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
  color: #1c1b1f;
}

.wincent-career-form .wincent-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: #1c1b1f;
}

.wincent-career-form textarea.wincent-field {
  min-height: 120px;
  resize: vertical;
}

.wincent-career-form .wincent-field-group--content h3 {
  font-size: 24px;
  font-weight: 500;
  color: #1c1b1f;
  margin: 24px 0 0 !important;
}

.wincent-career-form .wincent-field-group--content p,
.wincent-career-form .wincent-field-description {
  margin-bottom: 12px;
  color: #5c5c5c;
  font-size: 15px;
}

.wincent-career-form .wincent-option-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
}

.wincent-career-form .wincent-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 6px 0;
  font-size: 15px;
  color: #5C5C5C;
}

.wincent-career-form .wincent-option .wincent-option__label {
  font-weight: 400;
}

.wincent-career-form .wincent-option input[type="radio"],
.wincent-career-form .wincent-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.wincent-career-form .wincent-option__control {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 2px solid #AAAAAA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s ease, background .25s ease;
  box-sizing: border-box;
}

.wincent-career-form .wincent-option--radio .wincent-option__control {
  border-radius: 50%;
}

.wincent-career-form .wincent-option--radio input[type="radio"]:checked + .wincent-option__control::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #B49032;
  border-radius: 50%;
  border-color: #B49032;
}

.wincent-career-form .wincent-option--checkbox input[type="checkbox"]:checked + .wincent-option__control {
  background: #B49032;
  border-color: #B49032;
}

.wincent-career-form .wincent-option--checkbox input[type="checkbox"]:checked + .wincent-option__control::after {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 3px solid #FFFFFF;
  border-bottom: 3px solid #FFFFFF;
  transform: rotate(-45deg);
  position: absolute;
}

.wincent-career-form .wincent-option:hover .wincent-option__control {
  border-color: #1C1B1F;
}

.wincent-career-form .wincent-option--radio input[type="radio"]:checked + .wincent-option__control {
  border-color: #B49032;
}

.wincent-career-form .wincent-option:hover::before {
  content: "";
  position: absolute;
  width: 36px;
  height: 36px;
  background: #1C1B1F10;
  border-radius: 50%;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.wincent-career-form .wincent-field-group--upload.file-dropped .win-upload-btn,
.wincent-career-form .wincent-field-group--upload.file-dropped .win-upload-sub {
  display: none;
}

.autofill-wrapper,
.wincent-field-group--upload,
.wincent-upload-wrapper,
.win-upload-box {
  position: relative;
}

.cv-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 14px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border-radius: 12px;
}

.cv-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cv-overlay .box {
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
}

.cv-overlay .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #b49032;
  border-top-color: #fff;
  border-radius: 50%;
  animation: cvspin 0.8s linear infinite;
}

.cv-overlay.error {
  background: rgba(255, 223, 151, 0.92);
  color: #111;
}

.cv-overlay.success {
  background: rgba(236, 253, 243, 0.95);
  color: #0a3;
}

.cv-overlay .spinner {
  display: inline-block;
}

.cv-overlay .spinner {
  animation: cvspin 0.8s linear infinite;
}

.cv-overlay.success .spinner,
.cv-overlay.error .spinner {
  animation: none;
}

.wincent-career-form .choices {
  margin-bottom: 0;
}

.wincent-career-form .choices__inner {
  min-height: 48px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 10px 16px;
  background: #fff;
  font-size: 15px;
  color: #1c1b1f;
}

.wincent-career-form .choices__placeholder {
  opacity: 0.6;
}

.wincent-career-form .choices__list--dropdown,
.wincent-career-form .choices__list[aria-expanded] {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.wincent-career-form .wincent-field--file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
  display: none;
}

.wincent-career-form .wincent-career-form__actions {
  margin-top: 24px;
}

.wincent-career-form .wincent-career-form__submit {
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  background: #1c1b1f;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.wincent-career-form .wincent-career-form__submit .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wincent-spin .8s linear infinite;
  display: none;
}

.wincent-career-form .wincent-career-form__submit.is-loading .spinner {
  display: inline-flex;
}

.wincent-career-form .wincent-career-form__response {
  margin-top: 16px;
  font-size: 15px;
}

.wincent-career-form .wincent-career-form__response.success {
  color: #1d7a3c;
}

.wincent-career-form .wincent-career-form__response.error {
  color: #b00020;
}

.wincent-career-form .submit-button.wincent-button-loading a,
.submit-button.wincent-button-loading a {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4)), linear-gradient(90deg, #1c1b1f, #1c1b1f)!important;
  pointer-events: none;
  cursor: not-allowed;
}

.wincent-career-form .submit-button .elementor-button-icon,
.submit-button .elementor-button-icon {
  display: inline-flex;
  margin-right: 8px;
  align-items: center;
}

.wincent-career-form .submit-button .elementor-button-text,
.submit-button .elementor-button-text {
  transition: opacity .2s ease;
}

.wincent-career-form .submit-button .elementor-button-spinner,
.submit-button .elementor-button-spinner {
  width: 16px;
  height: 16px;
  display: block;
}

.wincent-career-form .submit-button .elementor-button-spinner .path,
.submit-button .elementor-button-spinner .path {
  stroke: currentColor;
  stroke-linecap: round;
  animation: wincent-spinner-dash 1.2s ease-in-out infinite;
}

@keyframes wincent-spinner-dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.wincent-career-form--submitted {
  position: relative;
}

.wincent-career-form__global-success {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f3fff6 0%, #e8ffed 100%);
  border: 1px solid #c0e8cf;
  border-radius: 10px;
  color: #0f3d26;
  box-shadow: 0 8px 20px rgba(15, 61, 38, 0.08);
}

.wincent-career-form__global-success .wincent-success-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wincent-career-form__global-success p {
  margin: 0;
  line-height: 1.5;
  font-size: 15px;
}

.wincent-career-form .wincent-field-group.has-error .wincent-field,
.wincent-career-form .wincent-field-group.has-error .choices__inner,
.wincent-career-form .wincent-field-group.has-error .win-upload-box {
  border-color: #b00020;
  box-shadow: 0 0 0 1px rgba(176, 0, 32, 0.2);
}

.wincent-career-form .wincent-field-error {
  font-size: 14px;
  color: #b00020;
  margin-top: 6px;
  min-height: 18px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease;
}

.wincent-career-form .wincent-field-error.visible {
  visibility: visible;
  opacity: 1;
}

.wincent-career-form__notice {
  padding: 16px;
  background: #fff3cd;
  border-radius: 8px;
  color: #856404;
}

@keyframes wincent-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cvspin {
  to {
    transform: rotate(360deg);
  }
}
