* {
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto; /* only vertical scroll allowed */
  box-sizing: border-box;
}



body {
  font-family: 'Inter', sans-serif;
  background: #003747;
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* not center */
  padding: 2rem;
}

.animated-background {
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* not center */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* behind everything */
}

/* Container for all auth forms */
.auth-container {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

/*  logo space */
.auth-logo {
  margin-bottom: 1.5rem;
}


.auth-logo img {
  width: 80px;
  height: auto;
}


/* Specific text alterations done somewhat badly */
.auth-container h1 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: #333;
}

.auth-container label {
  display: flex;
  justify-content: left;
  margin-left: 0.5rem;
}

.auth-container a {
  display: flex;
  justify-content: left;
  margin-left: 0.5rem;
  padding-top: 1rem;
}

.auth-container p {
  font-size: 0.95rem;
  color: #555;
}

.auth-container ul {
  display: block;                /* remove flex layout */
  font-size: 0.95rem;
  color: #555;
  list-style-type: disc;         
  padding-left: 1.2rem;          
  text-align: left;              
  margin-top: 1rem;
}

.auth-container li {
  margin-bottom: 0.5rem;
}



/* end of bad practice editting */





/* submint button and form styling */

.auth-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-container input[type="text"],
.auth-container input[type="password"],
.auth-container input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
}

.auth-container button[type="submit"] {
  background-color: #1f2937;
  color: white;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-container button:hover {
  background-color: #111827;
}

.auth-container a {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.auth-container a:hover {
  text-decoration: underline;
}


/* sign up wrapper at the bottom */
.sign-up-wrapper {
  padding-top: 1rem;
  display: flex;
  align-items: left;
  flex-direction: column;
}

.items-to-justify-left {
  display: flex;
  justify-content: left;
}

.sign-up-wrapper p{
  padding-left: 0.5rem;
}


/* secondary button styling */



/* Mobile tweaks */
@media (max-width: 1124px) {

    .auth-container {
    padding: 2rem 1.2rem;
  }

  .auth-container h1, .auth-container h2 {
    font-size: 1.5rem;
  }

  .auth-container input[type="text"],
  .auth-container input[type="password"],
  .auth-container input[type="email"] {
    font-size: 0.95rem;
  }

  .auth-container button[type="submit"] {
    font-size: 0.95rem;
    padding: 0.6rem;
  }
}