/* ===== BODY ===== */
body {
  margin: 0;
  font-family: sans-serif;

  /* Full screen center */
  display: flex;
  justify-content: center;
  align-items: center;

  height: 100vh;

  background: linear-gradient(to bottom, #FFCFDF, #FFCEE4);
}


/* ===== AUTH BOX ===== */
.auth-container {
  width: 90%;
  max-width: 280px;
  
  height:  300px;

  background: white;
  padding: 40px 30px;
  border-radius: 22px;

  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);

  text-align: center; /* Centers all text inside */
}


/* ===== TITLE ===== */
.auth-container h2 {
  margin-bottom: 30px;
  font-size: 26px;
}


/* ===== INPUT FIELDS ===== */
.auth-container input {
  width: 85%;            /* smaller than full */
  padding: 12px;
  margin: 12px auto;     /* auto makes it center */
  display: block;

  border-radius: 10px;
  border: 1px solid #eee;
  outline: none;

  transition: 0.3s ease;
}

.auth-container input:focus {
  border-color: #f64ca1;
  box-shadow: 0 0 0 3px rgba(246, 76, 161, 0.15);
}


/* ===== BUTTON ===== */
.auth-container button {
  width: 85%;          /* same as inputs */
  padding: 12px;
  margin-top: 15px;

  border: none;
  border-radius: 12px;

  background: #f64ca1;
  color: white;
  font-weight: 600;

  cursor: pointer;
  transition: 0.3s ease;
}

.auth-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(246, 76, 161, 0.3);
}


/* ===== LOGIN TEXT ===== */
.auth-container p {
  margin-top: 20px;
  font-size: 14px;
}

.auth-container a {
  color: #8a2be2;
  text-decoration: none;
  font-weight: 600;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}