
.login-section {
  padding: 120px 10%;
  background: #f5f7fb;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-container {
  background: white;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.login-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.login-logo {
  width: 120px;
  margin-bottom: 15px;
  transition: 0.3s;
  cursor: pointer;
}

.login-logo:hover {
  transform: scale(1.05);
}

.login-container h2 {
  margin-bottom: 20px;
}

.input-box {
  position: relative;
  margin-bottom: 15px;
}

.input-box i.left-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  transition: 0.3s;
}

.input-box input {
  width: 100%;
  padding: 12px 40px 12px 35px; 
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: 0.3s;
}

.input-box i.fa-eye,
.input-box i.fa-eye-slash {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #777;
  transition: 0.3s;
}

.input-box i.fa-eye:hover,
.input-box i.fa-eye-slash:hover {
  color: #2563eb;
}

.input-box i.eye-open {
  color: red;
}

.input-box input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.login-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #2563eb;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.switch-text {
  margin-top: 15px;
  font-size: 14px;
}

.switch-text a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.switch-text a:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .login-section {
    padding: 100px 20px;
  }

  .login-container {
    padding: 30px 25px;
  }

  .login-logo {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 25px 20px;
  }

  .login-logo {
    width: 90px;
  }

  .login-container h2 {
    font-size: 22px;
  }
}


/* TOAST */
#toast {
  position: fixed;
  top: 150px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  padding: 14px 22px;
  border-radius: 12px;
  color: white;
  font-weight: 500;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

#toast.success {
  background: linear-gradient(45deg, #00c853, #64dd17);
}

#toast.error {
  background: linear-gradient(45deg, #d50000, #ff1744);
}
