#toast-container {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Base toast style */
.app-toast {
  min-width: 220px;
  max-width: 280px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border-left: 3px solid transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: bounceIn 0.5s ease forwards;
  transition: opacity 0.25s ease, transform 0.25s ease;
  word-break: break-word;
}

/* Close button */
.app-toast .close-btn {
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #666;
  margin-left: 10px;
  line-height: 1;
  background: transparent;
  border: none;
}

/* Toast types */
.app-toast.success { color: #28a745; border-left-color: #28a745; }
.app-toast.error   { color: #dc3545; border-left-color: #dc3545; }
.app-toast.warning { color: #ffc107; border-left-color: #ffc107; }
.app-toast.info    { color: #17a2b8; border-left-color: #17a2b8; }

/* Entry animation */
@keyframes bounceIn {
  from { opacity: 0; transform: translateX(100%); }
  60%  { opacity: 1; transform: translateX(-8px); }
  80%  { transform: translateX(4px); }
  to   { transform: translateX(0); }
}

/* Exit animation */
.app-toast.toast-hide {
  opacity: 0;
  transform: translateX(100%);
}

.form-container {
  max-width: 500px;
  margin: 50px auto;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 20px;
  font-weight: 600;
}
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #444;
}
input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 15px;
  box-sizing: border-box;
}
input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 15px;
  box-sizing: border-box;
}
input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 15px;
  box-sizing: border-box;
}
input[type="password"]:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}
.btn-submit {
  width: 100%;
  background: #2563eb;
  color: #fff;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.btn-submit:hover {
  background: #1d4ed8;
}
.message {
  margin-top: 15px;
  color: green;
  font-size: 14px;
}
.error {
  color: red;
  font-size: 13px;
}