/* Updated Password Reset CSS - Elegant Design */
.password-reset-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  background-color: var(--background-color);
  position: relative;
  padding: 2rem 1rem;
}

/* Elegant background pattern */
.password-reset-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23FF69B4' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

.password-reset-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(255, 105, 180, 0.15);
  border: 1px solid rgba(255, 105, 180, 0.1);
  padding: 3rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

/* Icon Styling */
.reset-icon, .security-icon {
  text-align: center;
  margin-bottom: 1.5rem;
}

.reset-icon i, .security-icon i {
  font-size: 3rem;
  color: var(--primary-color);
  background: linear-gradient(135deg, rgba(255,105,180,0.1), rgba(255,105,180,0.05));
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.password-reset-title {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  text-align: center;
}

.reset-description, .security-description {
  text-align: center;
  color: var(--light-text);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Security Header */
.security-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Password Tips */
.password-tips {
  background: linear-gradient(135deg, rgba(255,105,180,0.05), rgba(255,105,180,0.02));
  border: 1px solid rgba(255,105,180,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.password-tips h4 {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 14px;
  color: var(--text-color);
}

.tips-list i {
  color: #28a745;
  font-size: 12px;
}

/* Form Styling */
.password-reset-form .form-group {
  margin-bottom: 1.5rem;
}

.password-reset-form label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-weight: 600;
  font-size: 14px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--light-text);
  z-index: 2;
  font-size: 14px;
}

.password-reset-form input[type="password"],
.password-reset-form input[type="email"],
.password-reset-form input[type="text"] {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #fafafa;
  color: var(--text-color);
  box-sizing: border-box;
}

.password-reset-form input:focus {
  border-color: var(--primary-color);
  background-color: white;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.toggle-password {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--light-text);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.toggle-password:hover {
  color: var(--primary-color);
}

/* Button Styling */
.password-reset-form .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff45a0);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 16px;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.password-reset-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
}

/* Links and Notes */
.reset-links {
  text-align: center;
  margin-top: 2rem;
}

.remember-text, .help-text {
  margin: 0.75rem 0;
  color: var(--light-text);
  font-size: 14px;
}

.reset-links a, .back-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.reset-links a:hover, .back-link:hover {
  color: #ff45a0;
  text-decoration: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.security-note {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 13px;
  color: #28a745;
}

.security-note i {
  font-size: 16px;
}

/* Error and Help Text */
.error-message {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 6px;
  border-left: 3px solid #e74c3c;
}

.help-text {
  font-size: 12px;
  color: var(--light-text);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Success message */
.success-message {
  color: #28a745;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background-color: rgba(40, 167, 69, 0.1);
  border-radius: 6px;
  border-left: 3px solid #28a745;
  font-size: 14px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .password-reset-card {
    padding: 2rem;
    margin: 1rem;
  }
  
  .password-reset-title {
    font-size: 1.6rem;
  }
  
  .reset-icon i, .security-icon i {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .password-reset-card {
    padding: 1.5rem;
  }
  
  .password-reset-title {
    font-size: 1.4rem;
  }
  
  .password-reset-form input {
    padding: 0.875rem 0.875rem 0.875rem 2.75rem;
  }
}