*{
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #0f0f1a;
  color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.login-container {
  background-color: #121826;
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.4);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

h1 {
  color: #00aaff;
  margin-bottom: 1.5rem;
}

label {
  display: block;
  text-align: left;
  margin: 0.8rem 0 0.3rem;
  color: #8a8a8a;
  font-size: 0.95rem;
}

input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background-color: #1a1f2f;
  color: white;
  font-size: 1rem;
}

input:focus {
  outline: 2px solid #0070cc;
}

.submit-btn {
  margin-top: 1.5rem;
  background-color: #0070cc;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.submit-btn:hover {
  background-color: #0088cc;
  transform: scale(1.05);
  box-shadow: 0 0 10px #0070cc70;
}

.register-link {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.register-link a {
  color: #00aaff;
  text-decoration: none;
  font-weight: bold;
}

.register-link a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  color: rgb(184, 184, 184);
  margin-top: 0.6rem;
  font-size: 1.1em;
}

.back-link:hover {
  color: #646464;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0070cc;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, top 0.5s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  top: 40px;
}