#job-application-form {
  max-width: 600px;
}

#job-application-form input,
#job-application-form textarea,
#job-application-form button {
  width: 100%;
  margin-bottom: 12px;
}
.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-labelled-input {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.contact-input-label {
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 12px;
}
.contact-labelled-input input {
  width: 100%;
  height: 42px;
  padding: 4px;
  color: #ffffff !important;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  outline: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}
.contact-labelled-input textarea {
  width: 100%;
  padding: 8px;
  color: #ffffff !important;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  outline: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}
.contact-labelled-input input:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.contact-labelled-input input:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.22);
  border-color: #4da3ff;
  box-shadow:
    0 0 0 3px rgba(77, 163, 255, 0.35),
    0 10px 30px rgba(0, 0, 0, 0.35);
}
.contact-labelled-input input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.contact-office-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.contact-office-description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  font-weight: 500;
}
.contact-checkboxes-group {
  display: flex;
  gap: 8px;
  width: 100%;
}
.contact-checkboxes-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 36px 8px 12px;
  font-size: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.contact-checkboxes-group label:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.contact-checkboxes-group input[type="checkbox"] {
  display: none;
}
.contact-checkboxes-group input[type="checkbox"]:checked + label {
  background: rgba(77, 163, 255, 0.25);
  border-color: #4da3ff;
  color: #4da3ff;
}
.contact-checkboxes-group input[type="checkbox"]:checked + label:after {
  content: "✓";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #4da3ff;
  font-size: 16px;
}
.contact-labelled-input .required-star,
.contact-input-label .required-star {
  color: #ff6b6b;
  margin-left: 4px;
  font-weight: bold;
  font-size: 16px;
}

.contact-cv-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.cv-dropzone {
  position: relative;
  width: 100%;
  min-height: 90px;
  padding: 16px;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cv-dropzone:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cv-dropzone.dragover {
  border-color: #4da3ff;
  background: rgba(77, 163, 255, 0.18);
}

.cv-dropzone.success {
  border-color: #4da3ff;
  background: rgba(77, 163, 255, 0.22);
}

.cv-dropzone.error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
}

.cv-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.cv-dropzone-text {
  pointer-events: none;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  word-break: break-word;
}

.cv-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.cv-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(77, 163, 255, 0.12);
  border: 1px solid rgba(77, 163, 255, 0.35);
  border-radius: 10px;
  font-size: 14px;
  color: #ffffff;
}

.cv-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.cv-file-remove {
  width: 22px !important;
  min-width: 22px !important;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.25);
  color: #ff6b6b;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
  margin-bottom: 0 !important;
}

.cv-file-remove::after {
  content: "×";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}

.cv-file-remove:hover {
  background: rgba(255, 107, 107, 0.5);
}

.contact-agreements-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.contact-agreement-record {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-agreement-record label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 12px;
  font-size: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}

.contact-agreement-record label:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.comment-char-counter {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #e7e7e7;
  text-align: right;
}

.comment-char-counter--warning {
  color: #e07b00;
}

.comment-char-counter--error {
  color: #d00;
  font-weight: 500;
}

.agreement-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.agreement-label:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.agreement-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.agreement-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.agreement-text {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.5;
}

.agreement-label input[type="checkbox"]:checked + .agreement-checkbox {
  background: rgba(77, 163, 255, 0.25);
  border-color: #4da3ff;
}

.agreement-label input[type="checkbox"]:checked + .agreement-checkbox::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #4da3ff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.agreement-label input[type="checkbox"]:focus-visible + .agreement-checkbox {
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.4);
}

.submit-button-contact {
  border: 5px solid #fff;
  color: #fff;
  font-size: 21px;
  padding: 0.5rem 1rem;
  background: none;
  text-transform: uppercase;
}

.submit-button-contact:hover {
  border-color: #00e091;
  transition: all 0.3s ease;
  background: none;
}

#job-application-form a {
  color: #00e091;
  text-decoration: none;
  font-weight: 500;
}

#job-application-form a:hover {
  text-decoration: underline;
  transition: all 0.25s ease;
  color: #00b091;
}

.contact-agreement-field-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.field-error {
  font-size: 13px;
  color: #ff6b6b;
  margin-top: 4px;
  min-height: 18px;
}

.input-error {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3) !important;
}
