html, body { min-height: 100%; }
body.theme-citrus { color-scheme: light; }
body.theme-sheet { color-scheme: dark; }
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline-flex; }
.htmx-request .htmx-hide-busy { opacity: .55; pointer-events: none; }

input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

.pw-field { position: relative; width: 100%; }
.pw-field input {
  width: 100%;
  padding: 10px 42px 10px 12px;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  outline: none;
}
.pw-field input:focus { border-color: #64748b; box-shadow: 0 0 0 3px rgba(100,116,139,.18); }
.theme-sheet .bs-lock .pw-field input {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #f8fafc;
}
.theme-sheet .bs-lock .pw-field input:focus {
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}
.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #6c757d;
  cursor: pointer;
}
.theme-sheet .bs-lock .pw-toggle { color: #94a3b8; }
.pw-toggle:hover { color: #1f2937; }
.theme-sheet .bs-lock .pw-toggle:hover { color: #fff; }
.pw-toggle svg { width: 18px; height: 18px; display: none; }
.pw-toggle .icon-eye { display: block; }
.pw-toggle.is-open .icon-eye { display: none; }
.pw-toggle.is-open .icon-eye-off { display: block; }

