/* CVJOBBOX Slide Verify - matches the theme palette, works without the theme. */
.cvjbsv-wrap {
  display: block;
  margin: 14px 0 6px;
  position: relative;
  font-family: inherit;
}

.cvjbsv-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted, #8896ad);
  margin-bottom: 7px;
}

.cvjbsv-slider {
  position: relative;
  display: block;
  min-width: 220px;
  height: 46px;
  border-radius: 999px;
  background: var(--brand-soft, #f1f4fa);
  border: 1px solid var(--line, #e1e7f0);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  max-width: 460px;
}

.cvjbsv-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 40px;
  background-color: var(--cvjbsv-accent, #1b4dff);
  background-image: linear-gradient(135deg, rgba(255,255,255,.22), rgba(0,0,0,.10));
  transition: width .12s linear;
}

.cvjbsv-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-2, #5a6478);
  pointer-events: none;
}

.cvjbsv-handle {
  position: absolute;
  left: 3px; top: 3px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 32, 63, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cvjbsv-accent, #1b4dff);
  font-size: 20px;
  font-weight: 700;
  cursor: grab;
  transition: transform .05s linear;
}

.cvjbsv-handle:focus-visible {
  outline: 3px solid var(--cvjbsv-accent, #1b4dff);
  outline-offset: 2px;
}

.cvjbsv-slider.is-drag .cvjbsv-handle {
  cursor: grabbing;
  box-shadow: 0 3px 12px rgba(16, 32, 63, .3);
}

.cvjbsv-slider.is-loading .cvjbsv-fill { opacity: .75; }
.cvjbsv-slider.is-done .cvjbsv-fill {
  background-color: #17795e;
  transition: width .18s ease;
}
.cvjbsv-slider.is-done .cvjbsv-text { color: #17795e; font-weight: 700; }
.cvjbsv-slider.is-done .cvjbsv-handle { color: #17795e; }

.cvjbsv-slider.is-shake { animation: cvjbsv-shake .5s; }
@keyframes cvjbsv-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.cvjbsv-msg {
  display: block;
  margin: 6px 0 0;
  min-height: 0;
  font-size: 12.5px;
  color: #c0392b;
}
.cvjbsv-msg:empty { display: none; }

/* Honeypot: visible to bots, invisible to people. */
.cvjbsv-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* wp-login.php forms are narrow; let the slider use the full column. */
.login .cvjbsv-slider,
#loginform .cvjbsv-slider,
#registerform .cvjbsv-slider,
#lostpasswordform .cvjbsv-slider,
.comment-form .cvjbsv-slider,
#commentform .cvjbsv-slider { max-width: none; }

/* Optional appended comment area. */
.cvjbsv-comments {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line, #e6ebf3);
}
.cvjbsv-comments h2 { font-size: 22px; }
.cvjbsv-comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.cvjbsv-comment-list li { padding: 12px 0; border-bottom: 1px solid var(--line, #e6ebf3); }

/* Admin self-test box. */
.cvjbsv-admin-test {
  max-width: 520px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
}
.cvjbsv-admin-test .cvjbsv-slider { max-width: none; }
