.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--off-white);
  padding: 20px;
}

.auth-card {
  background: white;
  width: 100%;
  max-width: 400px;
  padding: 40px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.05);
  text-align: center;
}

.auth-logo a {
  font-weight: 900;
  color: var(--blue-primary);
  text-decoration: none;
  font-size: 1.8rem;
  letter-spacing: -1px;
}

.auth-card h1 {
  margin-top: 20px;
  color: var(--blue-deep);
  font-size: 1.6rem;
}

.auth-subtitle {
  color: var(--blue-soft);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.input-group {
  text-align: left;
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-soft);
  margin-bottom: 8px;
  margin-left: 4px;
}

.input-group input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid #f0f4ff;
  font-family: 'Varela Round', sans-serif;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--blue-primary);
  background: #f8faff;
}

.auth-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 10px;
}

.switch-mode {
  margin-top: 25px;
  font-size: 0.9rem;
  color: var(--blue-soft);
}

.switch-mode a {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 600;
}

/* Toast Container - stays fixed on screen */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual Toast Styling */
.toast {
  min-width: 280px;
  padding: 16px 24px;
  border-radius: 18px;
  background: white;
  color: var(--blue-deep);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(0);
}

/* Success vs Error colors */
.toast.success { border-left: 5px solid #10b981; }
.toast.error { border-left: 5px solid #ef4444; }

.toast-close {
  margin-left: 15px;
  cursor: pointer;
  opacity: 0.5;
  font-size: 1.2rem;
}