/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f1f5ff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(35, 35, 85);
  margin-bottom: 20px;
}

/* CONTAINER STYLES */
.login-container {
  width: 100%;
  max-width: 480px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.alert {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
}

.alert.error {
  background-color: #f8d7da;
  color: #721c24;
}

.alert i {
  margin-right: 10px;
  font-size: 1.5rem;
}

/* FORM BOX */
.form-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-box {
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.input-box input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.input-box input:focus {
  outline: none;
  border-color: #7494ec;
}

.input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #aaa;
}

/* BUTTON STYLES */
.btnn {
  width: 100%;
  padding: 12px;
  background-color: #7494ec;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btnn:hover {
  background-color: #0a66c2;
  transform: translateY(-2px);
}

.btnn:active {
  background-color: #004080;
  transform: translateY(1px);
}

/* FORGOT PASSWORD LINK */
.forgot-password {
  text-align: center;
  margin-top: 15px;
}

.forgot-password a {
  font-size: 14px;
  color: #7494ec;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-password a:hover {
  color: #0a66c2;
}

/* STEP TRANSITION */
.login-container.active .form-box {
  transform: translateY(10px);
}

@media (max-width: 600px) {
  .login-container {
    width: 90%;
    padding: 20px;
  }
}