/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f8fafc;

}

/* ===== Auth Card ===== */
.auth-container {
  background: #fff;
  width: 380px;
  height: 100%;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  text-align: left;
  margin: 100px auto;
  display: block;
}

.auth-container h2 {
  text-align: center;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.auth-container p {
  text-align: center;
  color: #555;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* ===== Labels ===== */
label {
  display: block;
  color: #111827;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* ===== Input Groups ===== */
.input-group {
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 12px 40px 12px 38px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #111827;
  background-color: #fff;
  transition: border-color 0.25s ease;
  margin-bottom: 10px;
}

.input-group input::placeholder {
  color: #9ca3af;
}

.input-group input:focus {
  border-color: #1f57ff;
  outline: none;
}

/* ===== Icons ===== */
.icon {
  position: absolute;
  top: 42%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #9ca3af;
}

.toggle-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1rem;
  color: #9ca3af;
}

/* ===== Forgot Password ===== */
.forgot {
  text-align: right;
  margin-top: 6px;
}

.forgot a {
  color: #1f57ff;
  text-decoration: none;
  font-size: 0.85rem;
}

.forgot a:hover {
  text-decoration: underline;
}

/* ===== Submit Button ===== */
button[type="submit"] {
  background-color: #1f57ff;
  color: #fff;
  font-weight: 600;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  margin-top: 18px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #1747d3;
}

/* ===== Register Text ===== */
.register-text {
  text-align: center;
  margin-top: 18px;
  color: #555;
  font-size: 0.9rem;
}

.register-text a {
  color: #1f57ff;
  font-weight: 500;
  text-decoration: none;
}

.register-text a:hover {
  text-decoration: underline;
}

/* ===== Guest Button ===== */
.guest-btn {
  width: 100%;
  background: transparent;
  border: 1px solid #1f57ff;
  color: #1f57ff;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 14px;
  transition: all 0.3s ease;
}

.guest-btn:hover {
  background: #1f57ff;
  color: #fff;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  margin-top: 25px;
  color: #9ca3af;
  font-size: 0.8rem;
}

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1f57ff;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.toast.show {
  opacity: 1;
}

.hint {
  color: #9ca3af;
  font-size: 14px !important;
  margin-top: 4px;
  margin-bottom: 10px;
}

.icon i, .toggle-icon i {
  font-size: 1rem;
}

.toggle-icon i {
  cursor: pointer;
}

