/* Dedicated, distraction-free Password Reset & New Password UI for Sidaps Portfolio */
.recovery-otp-actions[hidden],
.reset-sent-guide[hidden],
.reset-account-chip[hidden],
.reset-step-badge[hidden] {
  display: none !important;
}

/* Hide all login/signup/social/demo chrome when in password recovery / new password mode */
#authBack[data-auth-mode="recover"] .login-recovery-link,
#authBack[data-auth-mode="recover"] .google-divider,
#authBack[data-auth-mode="recover"] #googleSignInButton,
#authBack[data-auth-mode="recover"] #googleAuthMessage,
#authBack[data-auth-mode="recover"] #googleAuthHelp,
#authBack[data-auth-mode="recover"] .email-auth-links,
#authBack[data-auth-mode="recover"] .demo-entry,
#authBack[data-auth-mode="recover"] #registerSecurityNote {
  display: none !important;
}

/* Subtle step icon badge at top of reset card */
.reset-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: rgba(141, 185, 158, 0.12);
  border: 1px solid rgba(207, 179, 118, 0.32);
  color: #dfc58d;
}
.reset-step-badge svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-sidaps-theme="light"] #authBack .reset-step-badge {
  background: #edf4ee;
  border-color: #cde0d4;
  color: #0d7b50;
}

/* Subtle non-input account indicator chip for 'sent' and 'oob-reset' stages */
.reset-account-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #d6e6dc;
  background: rgba(8, 29, 23, 0.75);
  border: 1px solid rgba(141, 185, 158, 0.25);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reset-account-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: #cfb376;
  fill: none;
  stroke-width: 1.8;
}
html[data-sidaps-theme="light"] #authBack .reset-account-chip {
  color: #173c2d;
  background: #eff6f1;
  border-color: #cfe0d5;
}

/* Concise next-steps card on the 'Check your email' screen */
.reset-sent-guide {
  margin: 4px 0 8px;
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid rgba(141, 185, 158, 0.22);
  background: rgba(8, 29, 23, 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-sidaps-theme="light"] #authBack .reset-sent-guide {
  background: #f6faf7;
  border-color: #d4e3d9;
}
.reset-sent-title {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dfc58d;
}
html[data-sidaps-theme="light"] #authBack .reset-sent-title {
  color: #0d7b50;
}
.reset-sent-list {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #c8d8ce;
}
.reset-sent-list strong {
  color: #f2f5fa;
  font-weight: 600;
}
html[data-sidaps-theme="light"] #authBack .reset-sent-list {
  color: #365244;
}
html[data-sidaps-theme="light"] #authBack .reset-sent-list strong {
  color: #173c2d;
}

/* Quiet footer navigation inside reset mode */
.recovery-otp-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(141, 185, 158, 0.14);
}
html[data-sidaps-theme="light"] #authBack .recovery-otp-actions {
  border-top-color: #e2ece6;
}
.recovery-otp-actions #otpResend {
  width: 100%;
  min-height: 42px;
  font-size: 12px;
  border-radius: 9px;
}
.recovery-otp-actions #otpBackToLogin {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #a8c3b1 !important;
  font: 500 12px system-ui, sans-serif !important;
  min-height: 32px;
  padding: 4px 10px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s;
}
.recovery-otp-actions #otpBackToLogin:hover {
  color: #dfc58d !important;
}
html[data-sidaps-theme="light"] #authBack .recovery-otp-actions #otpBackToLogin {
  color: #566f60 !important;
}
html[data-sidaps-theme="light"] #authBack .recovery-otp-actions #otpBackToLogin:hover {
  color: #173c2d !important;
}

#emailAuthMessage[data-state="error"] {
  color: #c7495e;
}
[data-sidaps-theme="dark"] #emailAuthMessage[data-state="error"] {
  color: #f4a8b6;
}
#emailAuthMessage[data-state="success"] {
  color: #368064;
}
[data-sidaps-theme="dark"] #emailAuthMessage[data-state="success"] {
  color: #b0d4bd;
}
