.password-reset-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 20px;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.reset-card {
  width: 100%;
  max-width: 460px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  animation: fadeIn 0.5s ease;
  transition: all 0.3s ease;
}

.reset-header {
  text-align: center;
  margin-bottom: 30px;
}

.reset-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #a91313 0%, #580303 100%);
  border-radius: 50%;
  margin-bottom: 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(233, 33, 33, 0.2);
}

.reset-title {
  font-size: 24px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.reset-subtitle {
  font-size: 14px;
  color: #718096;
  margin-bottom: 0;
}

.reset-message {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  animation: slideDown 0.3s ease;
}

.reset-message svg {
  margin-right: 10px;
  flex-shrink: 0;
}

.reset-message.error {
  background: #fff5f5;
  color: #e53e3e;
  border-left: 4px solid #e53e3e;
}

.reset-message.success {
  background: #f0fff4;
  color: #38a169;
  border-left: 4px solid #38a169;
}

.reset-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  position: relative;
}

.reset-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  font-size: 15px;
  border-radius: 25px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.3s ease;
  color: #2d3748;
}

.reset-input:focus {
  outline: none;
  border-color: #a91313;
  box-shadow: 0 0 0 3px rgba(233, 33, 33, 0.2);
  background: white;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #c09b9b;
}

.toggle-pass {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #c09b9b;
  cursor: pointer;
  transition: color 0.2s ease;
}

.toggle-pass:hover {
  color: #a91313;
}

.reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.reset-button .button-text {
  position: relative;
  z-index: 2;
}

.reset-button .button-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.reset-button.primary {
  background: linear-gradient(135deg, #a91313 0%, #580303 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 33, 33, 0.2);
}

.reset-button.primary:hover {
  box-shadow: 0 6px 20px rgba(233, 33, 33, 0.2);
  transform: translateY(-2px);
}

.reset-button.primary:hover .button-icon {
  transform: translateX(3px);
}

.reset-button.primary:active {
  transform: translateY(0);
}

.reset-button.secondary {
  background: #edf2f7;
  color: #4a5568;
}

.reset-button.secondary:hover {
  background: #e2e8f0;
}

.reset-button.loading {
  pointer-events: none;
}

.reset-button.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(233, 33, 33, 0.8) 0%, rgba(100, 1, 1, 0.8) 100%);
  animation: loadingBar 2s linear infinite;
  z-index: 1;
}

.reset-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a91313;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 10px;
}

.reset-back-link svg {
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.reset-back-link:hover {
  color: #4d0303;
}

.reset-back-link:hover svg {
  transform: translateX(-3px);
}

.password-strength {
  margin-top: -10px;
  margin-bottom: 10px;
}

.strength-meter {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.strength-bar {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: #e2e8f0;
  transition: background 0.3s ease;
}

.strength-text {
  font-size: 12px;
  color: #718096;
  transition: color 0.3s ease;
}

.password-match {
  display: flex;
  align-items: center;
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
  color: transparent;
  transition: color 0.3s ease;
}

.password-match svg {
  margin-right: 6px;
}

.button-cooldown {
  margin-left: 6px;
  font-size: 13px;
  color: #718096;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loadingBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 480px) {
  .reset-card {
    padding: 30px 20px;
  }
  
  .reset-icon {
    width: 70px;
    height: 70px;
  }
  
  .reset-title {
    font-size: 22px;
  }
}