* {
  line-height: 1.2;
  margin: 0;
  box-sizing: border-box; /* Ensure padding and border do not affect element's width */
}

/* Basic page styling */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  display: flex; /* Center content horizontally and vertically */
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
}

/* Page container */
.page-container {
  display: flex; /* Flex for the container */
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 20px;
  padding: 0 10px; /* Add padding to the sides */
}

.form h1{
  text-align: center;
  font-size: 3em;
  padding-bottom: 20px;
}


/* Form styling */
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #ffffff;
  padding: 30px;
  width: 450px; /* Default width */
  max-width: 100%; /* Ensure the form doesn't overflow on small screens */
  border-radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: adds a soft shadow */
}

/* Placeholder font styling */
::placeholder {
  font-family: inherit; /* Inherit font from body */
}

/* Input form styling */
.inputForm {
  border: 1.5px solid #ecedec;
  border-radius: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  transition: 0.2s ease-in-out;
}

/* Input field styling */
.input {
  margin-left: 10px;
  border-radius: 10px;
  border: none;
  width: 85%;
  height: 100%;
}

.input:focus {
  outline: none;
}

.inputForm:focus-within {
  border: 1.5px solid #2d79f3;
}

/* Button styles */
.button-submit {
  margin: 20px 0 10px 0;
  background-color: #151717;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  cursor: pointer;
}

.button-submit:hover {
  background-color: #252727;
}

/* Text and Span styles */
.p {
  text-align: center;
  color: black;
  font-size: 14px;
  margin: 5px 0;
}

.span {
  font-size: 14px;
  margin-left: 5px;
  color: #2d79f3;
  font-weight: 500;
  cursor: pointer;
}

.span:hover {
  text-decoration: underline;
}

/* Button container style */
.btn {
  margin-top: 10px;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #ededef;
  background-color: white;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.btn:hover {
  border: 1px solid #2d79f3;
  background-color: #f1f6ff; /* Light hover background */
}

/* Flex-row styles */
.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.flex-row > div > label {
  font-size: 14px;
  color: black;
  font-weight: 400;
}

/* Make the form responsive */
@media (max-width: 768px) {
  .form {
      width: 90%; /* Reduce form width on smaller screens */
      padding: 20px; /* Reduce padding */
  }

  .page-container {
      flex-direction: column; /* Stack sidebar and form */
      gap: 20px;
  }
}

@media (max-width: 480px) {
  .form {
      width: 95%; /* Further reduce form width for very small screens */
      padding: 15px; /* Even less padding */
  }
}



