/**
 * パスワード可視化トグルボタン (PC版)
 * パスワード入力欄の右端に表示/非表示切り替えボタンを配置する
 */
.password-field-wrapper {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.password-field-wrapper input[type="password"],
.password-field-wrapper input[type="text"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.password-toggle:hover {
  opacity: 1;
}

.password-toggle:focus {
  outline: none;
}

.password-toggle:focus-visible {
  outline: 2px solid #4a90d9;
  outline-offset: 1px;
  border-radius: 3px;
}

.password-toggle .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  visibility: hidden;
}

.password-toggle .material-symbols-outlined.font-loaded {
  visibility: visible;
}

.password-toggle .material-symbols-outlined.fallback-text {
  font-family: inherit;
  font-size: 11px;
  visibility: visible;
}
