/* Inputs demos (cp/inputs.js). The components bring their own base styles; the site sets its palette
   through the --dissolve-* tokens, per theme, and a few looks that differ from the token defaults. */

/* ---------- SlideToConfirm ---------- */

.cp-slide {
  width: 100%; max-width: 340px;
  --dissolve-surface: #26282C; --dissolve-primary: #F2F4F7; --dissolve-primary-foreground: #12151A;
  --dissolve-muted: #8E8E93; --dissolve-success: #34C759;
}
[data-theme='light'] .cp-slide { --dissolve-surface: #F2F2F7; --dissolve-primary: #1C1C1E; --dissolve-primary-foreground: #FFFFFF; }
/* The dark knob reads its icons in dark ink, but the shimmer, the done label and the done knob stay white. */
.cp-slide .dissolve-slide-shimmer { background-image: linear-gradient(90deg, #8E8E93, #FFFFFF, #8E8E93); }
.cp-slide .dissolve-slide-done { color: #FFFFFF; }
.cp-slide .dissolve-slide-knob-done { background: #FFFFFF; }

/* ---------- OTPInput ---------- */

.cp-otp {
  width: 100%; max-width: 340px;
  --dissolve-foreground: #F2F4F7; --dissolve-surface: #1E2024; --dissolve-surface-2: #2C2F35; --dissolve-border: #33363C;
  --dissolve-success: #34C759; --dissolve-danger: #FF453A; --otp-success-fill: #15301D; --otp-danger-fill: #3A1C1B;
}
[data-theme='light'] .cp-otp {
  --dissolve-foreground: #1C1C1E; --dissolve-surface: #F5F5F5; --dissolve-surface-2: #E6E6EA; --dissolve-border: #E5E5EA;
  --dissolve-danger: #FF3B30; --otp-success-fill: #EAF9EE; --otp-danger-fill: #FFEFEE;
}
.cp-otp-digit { font-variant-numeric: normal; }
.cp-otp-reset { margin-top: 14px; }

/* ---------- NumberTicker ---------- */

.cp-ticker-text { color: var(--text); font-weight: 700; letter-spacing: -0.027em; }
.cp-ticker-btn { margin-top: 18px; }
.cp-mode-tile .cp-ticker { margin-top: 0; }
