.error-text {
  color: red;
  margin-top: 6px;
  font-size: 14px;
}

.login-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

.login-container h1 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.login-container form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-container form p {
  margin: 0;
  padding: 0;
}

.login-container input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.login-container input:focus {
  outline: none;
  border-color: #6a1b9a;
  box-shadow: 0 0 0 2px rgba(106, 27, 154, 0.2);
}

.login-container button {
  padding: 12px 0;
  border: none;
  background-color: #000;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.login-container button:hover {
  background-color: #222;
}

.login-container .error-text {
  color: red;
  text-align: center;
  font-size: 13px;
  margin-top: 6px;
}

.login-container p {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
}

.login-container a {
  color: #6a1b9a;
  font-weight: 500;
  text-decoration: none;
}

.login-container a:hover {
  text-decoration: underline;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-field label {
  margin-bottom: 4px;
  font-weight: 500;
}

.help-text {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
  line-height: 1.4;
}

.login-container ul {
  padding-left: 20px;
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

.login-container ul li {
  margin-bottom: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 12px 16px;
  border-radius: 6px;
  min-width: 250px;
  color: white;
  font-size: 14px;
  position: relative;
  animation: fadeOut 9s forwards;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.toast-success { background-color: #28a745; }
.toast-error,
.toast-danger { background-color: #dc3545; }
.toast-warning { background-color: #ffc107; color: #000; }
.toast-info { background-color: #17a2b8; }

.toast-close {
  position: absolute;
  top: 5px;
  right: 10px;
  border: none;
  background: none;
  font-size: 16px;
  color: white;
  cursor: pointer;
}

@keyframes fadeOut {
  0% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(20px); }
}

.forgot-password-link {
  text-align: right;
  margin-top: -10px;
  margin-bottom: 10px;
}

.forgot-password-link a {
  font-size: 13px;
  color: #6a1b9a;
  text-decoration: none;
}

.forgot-password-link a:hover {
  text-decoration: underline;
}
