/* Native careers application form — replaces the Wix iframe.
   Inherits dark theme from index.html. Class names are scoped under .apply-form
   to avoid colliding with any existing site styles. */

.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-top: 16px;
}

.apply-form .apply-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.apply-form .apply-field--full {
  grid-column: 1 / -1;
}

.apply-form label {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #D6D6D6;
  text-transform: none;
}

.apply-form label .req {
  color: #F9D360;
  margin-left: 2px;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="url"],
.apply-form select {
  width: 100%;
  background-color: #0F0F0F;
  border: 1px solid #2B2B2B;
  color: #FFFFFF;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.apply-form input::placeholder {
  color: #5A5A5A;
}

.apply-form input:focus,
.apply-form select:focus {
  border-color: #F9D360;
}

.apply-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #B0B0B0 50%),
                    linear-gradient(135deg, #B0B0B0 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.apply-form select option {
  background-color: #141414;
  color: #FFFFFF;
}

/* Honeypot — visible to bots, invisible to humans. Do NOT use display:none. */
.apply-form .apply-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.apply-form .apply-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.apply-form .apply-submit {
  background-color: #F9D360;
  color: #0A0A0A;
  border: 0;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.apply-form .apply-submit:hover:not(:disabled) {
  background-color: #FFFFFF;
}

.apply-form .apply-submit:disabled {
  background-color: #555555;
  cursor: not-allowed;
}

.apply-status {
  grid-column: 1 / -1;
  min-height: 22px;
  font-size: 13px;
  line-height: 1.5;
}

.apply-status.is-success {
  color: #7CC97F;
}

.apply-status.is-error {
  color: #E27676;
}

@media (max-width: 720px) {
  .apply-form {
    grid-template-columns: 1fr;
  }
}
