/* =====================================================
   VIDYALINK — AUTH CHARACTER STAGE
   -----------------------------------------------------
   Styles for the cute clay characters (purple / pink /
   yellow / orange) that live on the left-hand side of every
   login & signup page, plus the light "stage" they perform on.

   Loaded AFTER shared.css so it can restyle the auth left panel.
   ===================================================== */

/* ── Stage ─────────────────────────────────────────────────────────── */
.auth-character-stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.auth-character-stage #characters-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Characters: soft clay inner-glow look ─────────────────────────── */
.char-purple {
  fill: #7439db;
  stroke: #935cf5;
  stroke-width: 3px;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 14px rgba(116, 57, 219, 0.16));
}

.char-pink {
  fill: #c71976;
  stroke: #e44699;
  stroke-width: 2.8px;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 14px rgba(199, 25, 118, 0.16));
}

.char-yellow {
  fill: #efd145;
  stroke: #f8e37c;
  stroke-width: 2.8px;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 12px rgba(239, 209, 69, 0.18));
}

.char-orange {
  fill: #f57936;
  stroke: #ff9d66;
  stroke-width: 3px;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 12px rgba(245, 121, 54, 0.18));
}

/* ── Left panel chrome lives in shared.css (.auth-left.left-section) ── */

/* ── Password visibility toggle (little eye icon) ──────────────────── */
.password-field {
  position: relative;
  display: block;
}
.form-group .password-field input {
  padding-right: 2.75rem;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-500, #64748b);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.password-toggle:hover {
  color: var(--gray-900, #0f172a);
  background: var(--gray-100, #f1f5f9);
}
.password-toggle:focus-visible {
  outline: 2px solid var(--blue-400, #60a5fa);
  outline-offset: 2px;
}
.password-toggle svg {
  width: 19px;
  height: 19px;
  display: block;
  pointer-events: none;
}
.password-toggle .eye-open { display: none; }
.password-toggle .eye-closed { display: block; }
.password-toggle.is-visible .eye-open { display: block; }
.password-toggle.is-visible .eye-closed { display: none; }

/* ── Speech bubble on Auth pages: SILENCED per user requirement ────── */
.auth-page .speech-bubble,
.auth-left .speech-bubble,
.auth-left.left-section .speech-bubble,
#left-bubble {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
