body {
  background: linear-gradient(120deg, #f5f8fa 0%, #b2eaff 100%);
  min-height: 100vh;
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(41, 128, 185, 0.10);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  max-width: 370px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-logo {
  background: #eaf6fc;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(41, 128, 185, 0.10);
  margin-bottom: 18px;
}

.login-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.login-title {
  font-size: 1.5rem;
  color: #2196f3;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-align: center;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.login-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.login-form-group label {
  font-weight: 600;
  color: #2196f3;
  font-size: 1.08rem;
  margin-bottom: 0.1rem;
}

.login-form-group input {
  padding: 0.8rem;
  border: 1.5px solid #b2eaff;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px #b2eaff44;
  background: #f5f8fa;
  color: #2573a6;
}

.login-form-group input:focus {
  border: 2px solid #2196f3;
  box-shadow: 0 4px 18px #2196f344;
  background: #eaf6fc;
  color: #2196f3;
}

.login-btn {
  padding: 0.9rem;
  background: linear-gradient(90deg, #2196f3 60%, #6dd5fa 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 2px 12px rgba(41, 128, 185, 0.13);
  margin-top: 0.5rem;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login-btn:hover {
  background: linear-gradient(90deg, #1976d2 60%, #5cc2e7 100%);
  transform: scale(1.04);
  box-shadow: 0 4px 18px #6dd5fa55;
}

.login-footer {
  text-align: center;
  font-size: 0.98rem;
  color: #2196f3;
  margin-top: 1.2rem;
  font-weight: 500;
}

@media (max-width: 500px) {
  .login-wrapper {
    padding: 1.2rem 0.5rem;
    max-width: 99vw;
  }
}

.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-20px);
  animation: toast-slide 0.5s forwards, toast-fadeout 0.5s 3.5s forwards;
}

.toast-success {
  background-color: #16a34a;
}

.toast-error {
  background-color: #dc2626; 
}

@keyframes toast-slide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-fadeout {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}