/* Common styles for all pages */
body {
  font-family: Arial, sans-serif;
  background-color: #f3f3f3;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.auth-container {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 400px;
  text-align: center;
}

.auth-container h1 {
  margin-bottom: 20px;
  color: #333;
}

.input-field {
  margin-bottom: 15px;
  padding: 12px;
  width: 100%;
  border: none;
  border-bottom: 2px solid #ddd;
  outline: none;
  transition: border-color 0.3s;
  font-size: 16px;
}

.input-field:focus {
  border-color: #007bff;
}

.submit-button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 16px;
}

.submit-button:hover {
  background-color: #0056b3;
}

.links {
  margin-top: 20px;
}

.links a {
  color: #007bff;
  text-decoration: none;
  margin-right: 15px;
  font-size: 14px;
  transition: color 0.3s;
}

.links a:hover {
  color: #0056b3;
}

.error {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .auth-container {
    width: 90%;
    padding: 20px;
  }

  .input-field {
    padding: 10px;
  }

  .submit-button {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .auth-container {
    width: 100%;
  }

  .input-field {
    font-size: 14px;
  }

  .submit-button {
    font-size: 14px;
  }

  .links a {
    font-size: 12px;
  }
}
