.login-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.shake {
  animation: shake 0.5s;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-8px);
  }

  40%,
  80% {
    transform: translateX(8px);
  }
}

.password-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6b7280;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: #4b5563;
}


/* Card */
.card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.gradient-bg {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}


/* Loader Animation */
#login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Register button */
#register-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#verify-otp-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


/* Password strength bar animation */
#strength-bar {
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* Notification animations */
.custom-notification {
  min-width: 300px;
  max-width: 400px;
  background: white;
  border-left: 4px solid;
  animation: slideIn 0.3s ease-out;
}

.custom-notification.success {
  border-left-color: #10B981;
  background: linear-gradient(to right, #F0FDF4, white);
}

.custom-notification.error {
  border-left-color: #EF4444;
  background: linear-gradient(to right, #FEF2F2, white);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}