/*-----------------------------------------------------------------------------------
    Techno Knock — Careers / Field Engineer Network
    Builds on overhaul.css tokens (--tk-*). All classes are prefixed tkc-.

    INDEX
    ## 01. Intro & perks
    ## 02. Process steps
    ## 03. Application card & sections
    ## 04. Fields
    ## 05. Picker (searchable select / multi-select)
    ## 06. Phone field
    ## 07. Certifications
    ## 08. Chips (skills)
    ## 09. Consent & submit
    ## 10. Success state
-----------------------------------------------------------------------------------*/

/* ## 01. Intro & perks
----------------------------------------------------------------*/
.tkc-intro p.lead-text {
  font-size: 18px;
  line-height: 1.7;
}
.tkc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.tkc-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tk-border-soft);
  box-shadow: var(--tk-shadow-sm);
  font-weight: 600;
  color: var(--heading-color);
  font-size: 15px;
}
.tkc-stat i {
  color: var(--primary-color);
}
.tkc-perk {
  height: 100%;
  padding: 30px 28px;
  border-radius: var(--tk-radius);
  background: #fff;
  border: 1px solid var(--tk-border-soft);
  box-shadow: var(--tk-shadow-sm);
  transition: transform 0.45s var(--tk-ease), box-shadow 0.45s ease;
}
.tkc-perk:hover {
  transform: translateY(-6px);
  box-shadow: var(--tk-shadow-md);
}
.tkc-perk .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: var(--tk-grad);
  box-shadow: var(--tk-shadow-primary);
  margin-bottom: 20px;
}
.tkc-perk h5 {
  margin-bottom: 8px;
}
.tkc-perk p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* ## 02. Process steps
----------------------------------------------------------------*/
.tkc-steps {
  counter-reset: tkc-step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tkc-step {
  position: relative;
  padding: 28px 26px 26px 26px;
  border-radius: var(--tk-radius);
  background: var(--tk-navy);
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  isolation: isolate;
}
.tkc-step::before {
  counter-increment: tkc-step;
  content: "0" counter(tkc-step);
  position: absolute;
  right: 18px;
  top: 6px;
  font-family: var(--heading-font);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  z-index: -1;
}
.tkc-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(255, 59, 0, 0.22), transparent 70%);
  z-index: -2;
}
.tkc-step i {
  font-size: 22px;
  color: #FF6A2B;
  margin-bottom: 16px;
  display: block;
}
.tkc-step h5 {
  color: #fff;
  margin-bottom: 6px;
}
.tkc-step p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 991.98px) {
  .tkc-steps {
    grid-template-columns: 1fr;
  }
}

/* ## 03. Application card & sections
----------------------------------------------------------------*/
.tkc-apply-sec {
  background:
    radial-gradient(40% 30% at 0% 0%, rgba(255, 59, 0, 0.06), transparent 70%),
    radial-gradient(40% 30% at 100% 100%, rgba(109, 48, 251, 0.06), transparent 70%),
    #F5F6FA;
}
.tkc-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--tk-radius-lg);
  border: 1px solid var(--tk-border-soft);
  box-shadow: var(--tk-shadow-lg);
}
.tkc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: var(--tk-grad);
}
.tkc-card-head {
  padding: 46px 56px 10px;
}
.tkc-card-head h2 {
  font-size: 36px;
  margin-bottom: 8px;
}
.tkc-card-head p {
  margin: 0;
}
.tkc-form {
  padding: 10px 56px 52px;
}
.tkc-section {
  padding: 34px 0 6px;
  border-bottom: 1px dashed rgba(1, 15, 52, 0.12);
}
.tkc-section:last-of-type {
  border-bottom: none;
}
.tkc-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.tkc-section-num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(255, 59, 0, 0.08);
}
.tkc-section-head h4 {
  font-size: 22px;
  margin: 0 0 2px;
}
.tkc-section-head p {
  margin: 0;
  font-size: 15px;
}
@media (max-width: 767.98px) {
  .tkc-card-head {
    padding: 38px 22px 6px;
  }
  .tkc-card-head h2 {
    font-size: 28px;
  }
  .tkc-form {
    padding: 6px 22px 36px;
  }
}

/* ## 04. Fields
----------------------------------------------------------------*/
.tkc-field {
  margin-bottom: 22px;
  position: relative;
}
.tkc-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--heading-color);
  margin-bottom: 8px;
}
.tkc-label .req {
  color: var(--primary-color);
  margin-left: 2px;
}
.tkc-label .opt {
  font-weight: 400;
  color: var(--text-color);
  font-size: 13px;
  margin-left: 4px;
}
.tkc-input,
.tkc-select,
.tkc-textarea,
.tkc-picker-control {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--heading-color);
  background-color: #fff;
  border: 1.5px solid rgba(1, 15, 52, 0.12);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.tkc-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}
.tkc-input::placeholder,
.tkc-textarea::placeholder {
  color: #9aa0ab;
}
.tkc-input:hover,
.tkc-select:hover,
.tkc-textarea:hover,
.tkc-picker-control:hover {
  border-color: rgba(1, 15, 52, 0.24);
}
.tkc-input:focus,
.tkc-select:focus,
.tkc-textarea:focus,
.tkc-picker.is-open .tkc-picker-control,
.tkc-picker-control:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255, 59, 0, 0.12);
}
.tkc-input:focus-visible,
.tkc-select:focus-visible,
.tkc-textarea:focus-visible {
  outline: none !important;
}
.tkc-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23010F34' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.tkc-select:invalid {
  color: #9aa0ab;
}
.tkc-select option {
  color: var(--heading-color);
}
.tkc-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-color);
}
.tkc-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #d92d20;
}
.tkc-error::before {
  content: "\f06a";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  margin-right: 6px;
}
.tkc-field.has-error .tkc-error {
  display: block;
}
.tkc-field.has-error .tkc-input,
.tkc-field.has-error .tkc-select,
.tkc-field.has-error .tkc-textarea,
.tkc-field.has-error .tkc-picker-control,
.tkc-field.has-error .tkc-phone {
  border-color: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.08);
}
.tkc-field.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* honeypot — kept off-screen, not display:none, so bots still fill it */
.tkc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ## 05. Picker (searchable select / multi-select)
----------------------------------------------------------------*/
.tkc-picker {
  position: relative;
}
.tkc-picker-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 46px 9px 14px;
  cursor: text;
  position: relative;
}
.tkc-picker-control::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 8px;
  margin-top: -4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23010F34' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.25s var(--tk-ease);
  pointer-events: none;
}
.tkc-picker.is-open .tkc-picker-control::after {
  transform: rotate(180deg);
}
.tkc-picker-input {
  flex: 1 1 120px;
  min-width: 80px;
  border: none;
  outline: none !important;
  background: transparent;
  font-size: 16px;
  color: var(--heading-color);
  padding: 5px 4px;
  box-shadow: none !important;
}
.tkc-picker-input:focus-visible {
  outline: none !important;
}
.tkc-picker-input::placeholder {
  color: #9aa0ab;
}
.tkc-picker.has-value:not(.is-multi) .tkc-picker-input::placeholder {
  color: var(--heading-color);
  opacity: 1;
}
.tkc-picker.is-disabled .tkc-picker-control {
  background: #f4f5f8;
  cursor: not-allowed;
}
.tkc-picker.is-disabled .tkc-picker-input {
  cursor: not-allowed;
}
.tkc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 8px 6px 12px;
  border-radius: 10px;
  background: rgba(255, 59, 0, 0.08);
  color: var(--heading-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  animation: tkcPop 0.25s var(--tk-ease);
}
.tkc-tag button {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--primary-color);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.tkc-tag button:hover {
  background: rgba(255, 59, 0, 0.16);
}
.tkc-picker-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--tk-border-soft);
  box-shadow: var(--tk-shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.25s var(--tk-ease), visibility 0.2s;
}
.tkc-picker.is-open .tkc-picker-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tkc-picker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.tkc-picker-list::-webkit-scrollbar {
  width: 8px;
}
.tkc-picker-list::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
}
.tkc-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--heading-color);
  font-size: 15px;
  line-height: 1.3;
}
.tkc-option small {
  color: var(--text-color);
  font-size: 13px;
  text-align: right;
}
.tkc-option.is-active {
  background: rgba(255, 59, 0, 0.07);
}
.tkc-option[aria-selected="true"] {
  font-weight: 600;
}
.tkc-option[aria-selected="true"]::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  color: var(--primary-color);
  margin-left: 4px;
}
.tkc-option mark {
  padding: 0;
  background: none;
  color: var(--primary-color);
  font-weight: 600;
}
.tkc-option.is-custom {
  color: var(--primary-color);
  font-weight: 500;
}
.tkc-picker-note {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-color);
}

/* ## 06. Phone field
----------------------------------------------------------------*/
.tkc-phone {
  display: flex;
  align-items: stretch;
  border: 1.5px solid rgba(1, 15, 52, 0.12);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.tkc-phone:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255, 59, 0, 0.12);
}
.tkc-phone-code {
  display: flex;
  align-items: center;
  padding: 0 14px 0 18px;
  font-weight: 600;
  color: var(--heading-color);
  border-right: 1.5px solid rgba(1, 15, 52, 0.08);
  white-space: nowrap;
  min-width: 64px;
}
.tkc-phone-code:empty::before {
  content: "+";
  color: #9aa0ab;
}
.tkc-phone .tkc-input {
  border: none;
  box-shadow: none !important;
  min-height: 51px;
}

/* ## 07. Certifications
----------------------------------------------------------------*/
.tkc-certs {
  display: none;
}
.tkc-certs.is-visible {
  display: block;
  animation: tkcFade 0.35s var(--tk-ease);
}
.tkc-cert {
  position: relative;
  padding: 22px 22px 2px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #F8F9FC;
  border: 1px solid rgba(1, 15, 52, 0.07);
  animation: tkcFade 0.35s var(--tk-ease);
}
.tkc-cert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tkc-cert-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--heading-color);
}
.tkc-cert-title i {
  color: var(--primary-color);
}
.tkc-cert-remove {
  border: none;
  background: transparent;
  color: var(--text-color);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.tkc-cert-remove:hover {
  color: #d92d20;
  background: rgba(217, 45, 32, 0.08);
}
.tkc-add-cert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  padding: 16px;
  margin-bottom: 22px;
  border: 1.5px dashed rgba(255, 59, 0, 0.45);
  border-radius: 16px;
  background: rgba(255, 59, 0, 0.03);
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.tkc-add-cert:hover {
  background: rgba(255, 59, 0, 0.08);
  border-color: var(--primary-color);
}
.tkc-add-cert[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ## 08. Chips (skills)
----------------------------------------------------------------*/
.tkc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tkc-chip {
  position: relative;
}
.tkc-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tkc-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(1, 15, 52, 0.12);
  background: #fff;
  color: var(--heading-color);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s var(--tk-ease);
}
.tkc-chip span::before {
  content: "\f067";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: 12px;
  color: var(--text-color);
  transition: transform 0.25s var(--tk-ease);
}
.tkc-chip:hover span {
  border-color: rgba(255, 59, 0, 0.45);
}
.tkc-chip input:checked + span {
  background: var(--tk-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(255, 59, 0, 0.55);
}
.tkc-chip input:checked + span::before {
  content: "\f00c";
  color: #fff;
}
.tkc-chip input:focus-visible + span {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* ## 09. Consent & submit
----------------------------------------------------------------*/
.tkc-consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: #F8F9FC;
  cursor: pointer;
}
.tkc-consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary-color);
  cursor: pointer;
}
.tkc-consent span {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-color);
}
.tkc-field.has-error .tkc-consent {
  box-shadow: inset 0 0 0 1.5px #d92d20;
}
.tkc-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
}
.tkc-submit-row p {
  margin: 0;
  font-size: 14px;
}
.tkc-submit-row .theme-btn {
  border: none;
  min-width: 240px;
  justify-content: center;
}
.tkc-submit-row .theme-btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.tkc-alert {
  display: none;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  background: rgba(217, 45, 32, 0.07);
  color: #b42318;
}
.tkc-alert.is-visible {
  display: block;
}

/* ## 10. Success state
----------------------------------------------------------------*/
.tkc-success {
  display: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 48px;
  text-align: center;
}
.tkc-success .icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fff;
  background: var(--tk-grad);
  box-shadow: var(--tk-shadow-primary);
  animation: tkcPop 0.6s var(--tk-ease);
}
.tkc-success h2 {
  font-size: 36px;
  margin-bottom: 12px;
}
.tkc-success p {
  font-size: 17px;
  line-height: 1.7;
}
.tkc-card.is-success .tkc-card-head,
.tkc-card.is-success .tkc-form {
  display: none;
}
.tkc-card.is-success .tkc-success {
  display: block;
}
@media (max-width: 767.98px) {
  .tkc-success {
    padding: 52px 22px;
  }
  .tkc-success h2 {
    font-size: 28px;
  }
}

@keyframes tkcFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes tkcPop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: none; }
}
