/*
 * Chariclo & Cherryclo — sign-in field support.
 *
 * Field sizing is deliberately left to each page's own CSS: the larger sizes tried here
 * read as oversized against the drawer's labels and buttons. This file now only styles
 * the SHOW / HIDE control added by chariclo-password-reveal.js.
 *
 * CSS only. To remove: delete the <link> from the page head.
 */

/* Wrapper added by chariclo-password-reveal.js so the button can sit inside the field. */
.cc-pw-wrap { position: relative; display: block; }

.cc-pw-wrap .cc-pw-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--mocha);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
}

.cc-pw-wrap .cc-pw-toggle:hover { color: var(--terracotta); }

/* Room for the button so long passwords do not run underneath it. */
.cc-pw-wrap input { padding-right: 62px; }
