/* Style the scrollbar */
::-webkit-scrollbar {
  width: 8px; /* Set the width of the scrollbar */
}

/* Style the scrollbar track */
::-webkit-scrollbar-track {
  background-color: #f0f0f0; /* Set the background of the scrollbar track */
}

/* Style the scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: #0077B6; /* Set the color of the scrollbar thumb */
  border-radius: 10px; /* Make the thumb rounded */
}

input[id="middlename"] {
  margin: 0;
}


.admin-portal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gentlogo {
  width: 100px;
  height: auto;
}

.gentlogo img{
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-logo{
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 30px;
}

.admin-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 10px;
}

.login-form .title {
  margin-bottom: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#Logo {
  width: 280px;
  height: auto;
}

.error-message {
  color: #ff0000;
  font-size: 14px;
  background: #ffe6e6;
  padding: 8px;
  margin-top: 0;
  margin-bottom: 15px;
  border-radius: 5px;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(to bottom right, #023E8A, #CAF0F8);
}

.container {
  display: flex;
  align-items: center;
  width: 90%; /* Adds space between left and right containers */
}

.left-container {
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-grow: 1; /* Allows the left container to grow */
}

.left-container p {
  font-size: 52px;
  color: white;
}

.logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.info {
  text-align: left;
  font-weight: 700;
}

.barangay, .name, .services {
  margin: 5px 0;
  font-size: 18px;
}

.right-container {
    background-color: #fff;
    padding: 50px 30px 50px; /* Maintain more padding around the form */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content to the top */
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-left: 20px; /* Adds space between left and right containers */
    margin-right: 20px;
    width: 550px; /* Keep the form size fixed */
    height: auto; /* Allow the container to adjust based on content */
    padding-bottom: 25px;
  }
  
  .login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .login-form h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 50px;
    color: #0077B6;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }

label {
  margin-bottom: 5px;
  font-size: 14px;
}

input {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

button {
  padding: 20px;
  background-color: #0077B6;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  margin-top: 20px;
  width: 300px;
  align-self: center; /* Centers the button */
}

button:hover {
  background-color: #0088d1;
}

#password {
    width: 100%;
    margin-bottom: 10px;
}

.forgot-password {
  display: block;
  text-align: left;
  margin-bottom: 15px;
}

.forgot-password a{
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}

.forgot-password:hover {
  color: #007bff;
  text-decoration: underline;
}

.signup-link {
  margin-top: 100px;
  text-align: center;
  font-size: 14px;
}

.signup-link a {
  color: #007bff;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 18px;
  }
  
  .back-button a {
    text-decoration: none;
    color: white;
    font-weight: bold;
  }
  
  .back-button a:hover {
    text-decoration: underline;
  }

