/* Page nouveau mot de passe — indicateur de force, cohérence login */

.oms-reset-strength-track {
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin-top: 0.5rem;
}

.oms-reset-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.oms-reset-strength-fill--weak {
  width: 33%;
  background: #ef4444;
}

.oms-reset-strength-fill--mid {
  width: 66%;
  background: #f59e0b;
}

.oms-reset-strength-fill--strong {
  width: 100%;
  background: #22c55e;
}

.oms-reset-pass-wrap {
  position: relative;
}

.oms-reset-pass-wrap .oms-reset-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.35rem;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  border-radius: 0.35rem;
  line-height: 0;
}

.oms-reset-pass-wrap .oms-reset-toggle:hover {
  color: #111827;
  background: #f3f4f6;
}

.oms-reset-pass-wrap input {
  padding-right: 2.75rem;
}

.oms-reset-alert {
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.oms-reset-alert--ok {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.oms-reset-alert--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.oms-reset-alert--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}
