/* ================================================================
   Salary Checker Plugin (10021)  —  style.css
   All rules scoped to .plugin-10021
================================================================ */

/* ── RESET & BASE ── */
.plugin-10021 {
  font-family: 'Google Sans', 'Roboto', system-ui, -apple-system, sans-serif;
  color: #202124;
  -webkit-font-smoothing: antialiased;
}
.plugin-10021 *,
.plugin-10021 *::before,
.plugin-10021 *::after {
  box-sizing: border-box;
}

/* ── MAX-WIDTH WRAPPER (matches original .wrap) ── */
.plugin-10021 .sc-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 32px 48px;
}

/* ── TOOL HEADER (badge + title + subtext above the card) ── */
.plugin-10021 .sc-tool-hdr {
  padding: 28px 0 8px;
}
.plugin-10021 .sc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: #e6f4ea;
  color: #137333;
  margin-bottom: 12px;
}
.plugin-10021 .sc-page-title {
  font-size: 32px;
  font-weight: 400;
  color: #202124;
  margin: 0 0 8px;
  line-height: 1.2;
}
.plugin-10021 .sc-page-sub {
  font-size: 15px;
  color: #5f6368;
  line-height: 1.65;
  margin: 0 0 4px;
}

/* ── CARD ── */
.plugin-10021 .sc-card {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 28px;
  margin-top: 20px;
}
.plugin-10021 .sc-card-title {
  font-size: 16px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plugin-10021 .sc-subtext {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ── FORM ── */
.plugin-10021 .sc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.plugin-10021 .sc-form-row3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.plugin-10021 .sc-form-group {
  margin-bottom: 0;
}
.plugin-10021 .sc-form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #202124;
  display: block;
  margin-bottom: 6px;
}
.plugin-10021 .sc-label-sub {
  font-size: 11px;
  color: #5f6368;
  font-weight: 400;
  margin-left: 4px;
}
.plugin-10021 select,
.plugin-10021 input[type="text"],
.plugin-10021 input[type="number"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #dadce0;
  border-radius: 6px;
  font-size: 14px !important; /* override mobile zoom prevention from global */
  font-family: inherit;
  color: #202124;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.plugin-10021 select {
  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 1l5 5 5-5' stroke='%235f6368' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.plugin-10021 select:focus,
.plugin-10021 input[type="text"]:focus,
.plugin-10021 input[type="number"]:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,.1);
}
.plugin-10021 .sc-section-label {
  font-size: 13px;
  font-weight: 500;
  color: #202124;
  margin: 4px 0 16px;
}

/* ── BUTTONS ── */
.plugin-10021 .sc-btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, box-shadow .2s;
}
.plugin-10021 .sc-btn-primary {
  background: #1a73e8;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,115,232,.3);
}
.plugin-10021 .sc-btn-primary:hover {
  background: #1557b0;
  box-shadow: 0 4px 14px rgba(26,115,232,.4);
}
.plugin-10021 .sc-btn-premium {
  background: #f9ab00;
  color: #202124;
}
.plugin-10021 .sc-btn-premium:hover {
  background: #f29900;
}
.plugin-10021 .sc-btn-ghost {
  background: none;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #5f6368;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
}
.plugin-10021 .sc-btn-ghost:hover {
  background: #f1f3f4;
  color: #202124;
}
.plugin-10021 .sc-btn-offer {
  background: #1a73e8;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.plugin-10021 .sc-btn-offer:hover {
  background: #1557b0;
}

/* ── RESULTS HEAD ── */
.plugin-10021 .sc-result-head {
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: #fff;
  border-radius: 12px 12px 0 0;
  padding: 24px 28px;
}
.plugin-10021 .sc-rh-label {
  font-size: 12px;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.plugin-10021 .sc-rh-val {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}
.plugin-10021 .sc-rh-sub {
  font-size: 13px;
  opacity: .85;
  margin-top: 6px;
}
.plugin-10021 .sc-result-body {
  background: #fff;
  border: 1px solid #dadce0;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 24px 28px;
}

/* ── PERCENTILE ROW ── */
.plugin-10021 .sc-pct-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.plugin-10021 .sc-pct-box {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.plugin-10021 .sc-pct-label {
  font-size: 10px;
  color: #5f6368;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 4px;
}
.plugin-10021 .sc-pct-val {
  font-size: 20px;
  font-weight: 600;
  color: #202124;
}

/* ── INSIGHTS ── */
.plugin-10021 .sc-insight {
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
}
.plugin-10021 .sc-insight-green {
  background: #e6f4ea;
  color: #137333;
}
.plugin-10021 .sc-insight-yellow {
  background: #fef7e0;
  color: #7d5a00;
}
.plugin-10021 .sc-insight {
  background: #e8f0fe;
  color: #1557b0;
}

/* ── CITY ROWS ── */
.plugin-10021 .sc-trend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #dadce0;
  font-size: 14px;
}
.plugin-10021 .sc-trend-row:last-child {
  border-bottom: none;
}
.plugin-10021 .sc-trend-up {
  color: #34a853;
  font-weight: 500;
}

/* ── OFFER CTA BOX ── */
.plugin-10021 .sc-offer-cta-box {
  background: #e8f0fe;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── OFFER ANALYZER COMP BOXES ── */
.plugin-10021 .sc-comp-box {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.plugin-10021 .sc-comp-label {
  font-size: 10px;
  color: #5f6368;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 4px;
}
.plugin-10021 .sc-comp-val {
  font-size: 18px;
  font-weight: 600;
  color: #202124;
}

/* ── NEGOTIATION SCRIPTS ── */
.plugin-10021 .sc-script-box {
  background: #f8f9fa;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 18px;
  font-size: 13px;
  color: #202124;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 12px;
  position: relative;
}
.plugin-10021 .sc-script-label {
  position: absolute;
  top: -10px;
  left: 16px;
  background: #fff;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: #1a73e8;
  font-style: normal;
  border: 1px solid #dadce0;
  border-radius: 100px;
}

/* ── TIPS ── */
.plugin-10021 .sc-tip-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #dadce0;
  font-size: 13px;
  color: #202124;
  line-height: 1.6;
}
.plugin-10021 .sc-tip-item:last-child {
  border-bottom: none;
}
.plugin-10021 .sc-tip-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ── HR ── */
.plugin-10021 .sc-hr {
  border: none;
  border-top: 1px solid #dadce0;
  margin: 20px 0;
}

/* ── HOW IT WORKS ── */
.plugin-10021 .sc-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.plugin-10021 .sc-step-item {
  text-align: center;
  padding: 12px;
}
.plugin-10021 .sc-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  font-weight: 700;
}
.plugin-10021 .sc-step-blue   { background: #e8f0fe; color: #1a73e8; }
.plugin-10021 .sc-step-green  { background: #e6f4ea; color: #34a853; }
.plugin-10021 .sc-step-yellow { background: #fef7e0; color: #f9ab00; }
.plugin-10021 .sc-step-label  { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.plugin-10021 .sc-step-sub    { font-size: 12px; color: #5f6368; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .plugin-10021 .sc-wrap {
    padding: 28px 16px 36px;
  }
  .plugin-10021 .sc-page-title {
    font-size: 24px;
  }
  .plugin-10021 .sc-form-row,
  .plugin-10021 .sc-form-row3,
  .plugin-10021 .sc-steps-grid {
    grid-template-columns: 1fr;
  }
  .plugin-10021 .sc-pct-row {
    grid-template-columns: 1fr 1fr;
  }
  .plugin-10021 .sc-card {
    padding: 18px;
  }
  .plugin-10021 .sc-result-head,
  .plugin-10021 .sc-result-body {
    padding: 16px;
  }
  .plugin-10021 .sc-rh-val {
    font-size: 28px;
  }
  .plugin-10021 .sc-offer-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .plugin-10021 .sc-btn-offer {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: block;
  }
}
@media (max-width: 480px) {
  .plugin-10021 .sc-pct-row {
    grid-template-columns: 1fr 1fr;
  }
}
