body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin: 0;
}

/* Login Container */
.login-container {
  text-align: center;
  width: 320px;
}

/* Header */
h2 {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 15px;
}

/* Profile Image */
.avatar {
  width: auto;
  height: 100px;
  object-fit: cover;
  margin-bottom: 0px;
}

/* Input Fields */
.input-group {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 12px 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background: transparent;
  transition: all 0.3s ease;
}

.input-group label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Move placeholder (label) UP on focus */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: 0px;
  font-size: 12px;
  color: #60aecf;
}

/* Login Button */
.login-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background: #60aecf;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(76, 160, 175, 0.5);
}

.login-btn:hover {
  background: #60aecf;
}

/* Links */
.links {
  margin-top: 15px;
  font-size: 14px;
}

.links a {
  text-decoration: none;
  color:#aaa;
}

.links a span {
  color: #007BFF;
}

small{
  color:#585858;
}

.password-container {
  position: relative;
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #60aecf;
}

.toggle-password:hover {
  color: #969696;
}

.alert {
  margin-bottom: 12px;
  background-color: #ffcccc;
  color: #721c24;
  border-color: #f5c6cb;
  padding:5px;
  border-radius: 5px;
  transition: opacity 0.8s ease-in-out; /* Smooth transition */
}

@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.alert.hide {
  opacity: 0; /* Makes the alert disappear smoothly */
}
