/* Salary-check mini form — overrides on top of talents.css (dark + purple) */

.salary-check-page .talents-main { padding-top: 110px; }

/* Form / thank-you card */
.sc-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(134, 59, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: left;
}
@media (max-width: 600px) {
  .sc-card { padding: 28px 22px; }
}

/* Fields */
.sc-field { margin-bottom: 22px; }
.sc-field > label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #a46dff;
  margin-bottom: 9px;
  letter-spacing: 0.01em;
}
.sc-field select,
.sc-field input[type="number"],
.sc-field input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(134, 59, 255, 0.28);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.sc-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23a46dff' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
  cursor: pointer;
}
/* dropdown items render on a light system menu — keep them dark-on-white */
.sc-field select option,
.sc-field select optgroup { color: #1a1a1a; background: #ffffff; }
.sc-field select:invalid { color: rgba(255, 255, 255, 0.45); }
.sc-field input::placeholder { color: rgba(255, 255, 255, 0.38); }
.sc-field select:focus,
.sc-field input:focus {
  outline: none;
  border-color: #863bff;
  box-shadow: 0 0 0 3px rgba(134, 59, 255, 0.18);
}
.sc-hint {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Grade segmented control */
.sc-seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 520px) {
  .sc-seg { grid-template-columns: repeat(2, 1fr); }
}
.sc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.sc-seg label {
  display: block;
  text-align: center;
  padding: 12px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(134, 59, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.sc-seg label:hover { border-color: rgba(134, 59, 255, 0.5); color: #fff; }
.sc-seg input:checked + label {
  background: linear-gradient(135deg, #863bff 0%, #5e77ff 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(134, 59, 255, 0.35);
}
.sc-seg input:focus-visible + label { box-shadow: 0 0 0 3px rgba(134, 59, 255, 0.3); }

/* Consent checkbox */
.sc-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 4px 0 26px;
  cursor: pointer;
}
.sc-consent input {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  accent-color: #863bff;
  cursor: pointer;
}
.sc-consent span {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}
.sc-consent a { color: #a46dff; text-decoration: underline; }

/* Submit */
.sc-submit {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, #863bff 0%, #5e77ff 100%);
  border: none;
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(134, 59, 255, 0.35);
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
}
.sc-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(134, 59, 255, 0.5); }
.sc-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.sc-foot {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* Thank-you state */
.sc-thanks { text-align: center; }
.sc-thanks__icon { font-size: 44px; margin-bottom: 12px; }
.sc-thanks h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.sc-thanks p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 420px;
}
.sc-thanks strong { color: #a46dff; }
.sc-thanks__link {
  display: inline-block;
  color: #a46dff;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.sc-thanks__link:hover { text-decoration: underline; }
