/* Sutore Login Form Styles */
.sutore-login-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden; /* For animations */
}

.sutore-login-form-wrapper {
  position: relative;
}

.sutore-login-step {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.sutore-login-step.hidden {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.sutore-login-form h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 20px;
  color: #333;
  text-align: center;
}

.sutore-login-form p {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

.sutore-form-group {
  margin-bottom: 15px;
}

.sutore-form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.sutore-form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.sutore-form-group input:focus {
  border-color: #0073aa;
  box-shadow: 0 0 0 1px #0073aa;
  outline: none;
}

.sutore-login-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background-color: #0073aa;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
}

.sutore-login-form button:hover {
  background-color: #005a87;
}

.sutore-login-form button:disabled {
  background-color: #a0a5aa;
  cursor: not-allowed;
}

.sutore-login-form .sutore-back-btn {
  background-color: transparent;
  color: #0073aa;
  border: 1px solid #0073aa;
  margin-top: 15px;
}
.sutore-login-form .sutore-back-btn:hover {
  background-color: #f0f6fc;
  color: #005a87;
}

.sutore-login-form .sutore-forgot-password-link {
  background: none;
  border: none;
  color: #0073aa;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 10px;
  font-size: 14px;
  padding: 0;
  width: auto;
}

.sutore-login-form .sutore-forgot-password-link:hover {
  color: #005a87;
  text-decoration: none;
}

.sutore-otp-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}

.sutore-timer {
  color: #e74c3c;
  font-weight: 500;
}

.sutore-timer.expired {
  color: #999;
  font-style: italic;
}

.sutore-countdown {
  font-family: monospace;
  font-weight: bold;
}

.sutore-reference {
  color: #666;
}

.sutore-resend-otp {
  background: #0073aa;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
  width: 100%;
}

.sutore-resend-otp:hover {
  background: #005a87;
}

.sutore-resend-otp:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.sutore-resend-link {
  display: none;
  text-align: center;
  margin-top: 8px;
}

.sutore-resend-link a {
  color: #0073aa;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}

.sutore-resend-link a:hover {
  color: #005a87;
  text-decoration: none;
}

.sutore-login-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.sutore-login-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.sutore-login-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

strong.sutore-identifier-display,
strong.sutore-reference-display {
  color: #333;
  word-break: break-all;
}

/* Registration fields styling */
.sutore-registration-fields {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.sutore-registration-fields .sutore-form-group {
  margin-bottom: 15px;
}

.sutore-additional-email,
.sutore-additional-phone {
  transition: all 0.3s ease;
}

.sutore-additional-email input,
.sutore-additional-phone input {
  transition: border-color 0.3s ease;
}

.required {
  color: #e74c3c;
  font-weight: bold;
}

/* Choice group for password reset method selection */
.sutore-choice-group {
  margin-bottom: 20px;
}

.sutore-choice-group div {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sutore-choice-group div:hover {
  background-color: #f8f9fa;
  border-color: #0073aa;
}

.sutore-choice-group input[type="radio"] {
  width: auto;
  margin-right: 8px;
}

.sutore-choice-group label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: normal;
}

/* Password Strength Meter */
.sutore-password-strength-meter {
  margin-top: 8px;
}

.sutore-password-strength-bar {
  width: 100%;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}

.sutore-password-strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.sutore-password-strength-fill.very-weak {
  width: 20%;
  background-color: #e74c3c;
}

.sutore-password-strength-fill.weak {
  width: 40%;
  background-color: #f39c12;
}

.sutore-password-strength-fill.fair {
  width: 60%;
  background-color: #f1c40f;
}

.sutore-password-strength-fill.good {
  width: 80%;
  background-color: #2ecc71;
}

.sutore-password-strength-fill.strong {
  width: 100%;
  background-color: #27ae60;
}

.sutore-password-strength-text {
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sutore-password-strength-text.very-weak {
  color: #e74c3c;
}

.sutore-password-strength-text.weak {
  color: #f39c12;
}

.sutore-password-strength-text.fair {
  color: #f1c40f;
}

.sutore-password-strength-text.good {
  color: #2ecc71;
}

.sutore-password-strength-text.strong {
  color: #27ae60;
}
