/* Recuperação de senha — identidade vinho */
.dm-recovery-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--dm-login-hero-image, linear-gradient(145deg, #faf8f8 0%, #f0e8e8 100%));
  background-size: cover;
  background-position: center;
}

.dm-recovery-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 12px 40px rgba(63, 1, 0, 0.14);
  border: 1px solid rgba(63, 1, 0, 0.08);
}

.dm-recovery-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #a60000, #3f0100);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 16px;
}

.dm-recovery-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3f0100;
  text-align: center;
  margin: 0 0 8px;
}

.dm-recovery-sub {
  text-align: center;
  color: #6b4040;
  font-size: 0.9375rem;
  margin: 0 0 24px;
  line-height: 1.5;
}

.dm-recovery-field {
  margin-bottom: 18px;
}

.dm-recovery-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: #5c1010;
  margin-bottom: 6px;
}

.dm-recovery-inputwrap {
  position: relative;
}

.dm-recovery-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(63, 1, 0, 0.2);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dm-recovery-input:focus {
  outline: none;
  border-color: #a60000;
  box-shadow: 0 0 0 3px rgba(166, 0, 0, 0.15);
}

.dm-recovery-inputwrap--pass .dm-recovery-input {
  padding-right: 44px;
}

.dm-recovery-showpass {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #7a1818;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

.dm-recovery-strength {
  margin-top: 8px;
  height: 4px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.dm-recovery-strength__bar {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 0.25s ease, background 0.25s ease;
}

.dm-recovery-strength__bar[data-score="1"] { width: 25%; background: #dc3545; }
.dm-recovery-strength__bar[data-score="2"] { width: 50%; background: #fd7e14; }
.dm-recovery-strength__bar[data-score="3"] { width: 75%; background: #ffc107; }
.dm-recovery-strength__bar[data-score="4"] { width: 100%; background: #28a745; }

.dm-recovery-strength__label {
  font-size: 0.75rem;
  color: #6b4040;
  margin-top: 4px;
}

.dm-recovery-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #a60000, #3f0100);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.dm-recovery-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(166, 0, 0, 0.35);
}

.dm-recovery-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.dm-recovery-alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.dm-recovery-alert--success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.dm-recovery-alert--error {
  background: #fff8f8;
  color: #7a1818;
  border: 1px solid rgba(166, 0, 0, 0.25);
}

.dm-recovery-alert--info {
  background: #f5f0f0;
  color: #5c1010;
  border: 1px solid rgba(63, 1, 0, 0.12);
}

.dm-recovery-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(63, 1, 0, 0.1);
  text-align: center;
}

.dm-recovery-footer a {
  color: #a60000;
  font-weight: 600;
  text-decoration: none;
}

.dm-recovery-footer a:hover {
  text-decoration: underline;
}

.dm-recovery-footer__support {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #333;
}

.dm-recovery-hints {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 0.8125rem;
  color: #6b4040;
}

.dm-recovery-hints li {
  margin: 4px 0;
}

.dm-recovery-hints li.is-ok {
  color: #1b5e20;
}

.dm-recovery-hints li.is-ok::before {
  content: "✓ ";
}

.dm-recovery-back {
  display: inline-block;
  margin-bottom: 16px;
  color: #7a1818;
  font-size: 0.875rem;
  text-decoration: none;
}

.dm-recovery-back:hover {
  color: #a60000;
}
