/* === Auth Page Wrapper === */
*{
font-family: "Poppins", sans-serif;
  font-weight: 350;
  font-style: normal;
  
}
body{
  /* background:linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%); */
  background-color: #3282c4;
  
}
.auth-wrapper {
  min-height: calc(100vh - 4rem); /* subtract navbar height if sticky */
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: #b5daff; */
 
  padding: 1rem;
  overflow: hidden;
}

/* === Auth Box (Form Card) === */
.auth-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

/* === Titles === */
.auth-box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 0.25rem;
}

.auth-box p {
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* === Form Fields === */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: #374151;
}

.form-group input {
  width: 93%;
  padding: 0.7rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background: white;
  color: #1f2937;
}

/* === Password Toggle Eye === */
.toggle-password {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1rem;
  color: #9ca3af;
  user-select: none;
}

/* === Login/Register Button === */
.auth-btn {
  width: 100%;
  background-color: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background-color 0.2s ease;
}

.auth-btn:hover {
  background-color: #2563eb;
}

/* === Switch Text === */
.auth-switch {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 1rem;
  color: #6b7280;
}

.auth-switch a {
  color: #3b82f6;
  font-weight: 500;
  text-decoration: underline;
}

/* === Responsive Design === */
@media (max-width: 480px) {
  .auth-box {
    padding: 1.5rem 1rem;
  }

  .form-group input {
    padding: 0.65rem;
    font-size: 0.85rem;
  }

  .auth-btn {
    font-size: 0.85rem;
  }
}
