* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.container {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
}

.image-section {
  flex: 1;
  background-color: #ddd;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left; /* Keep logo in view */
  display: block;
}

.form-section {
  flex: 1;
  background-color: white;
  padding: 10px;
  display: block;
  margin: auto;
  /* flex-direction: column;
  justify-content: center;
  align-items: center; */
}

.form-section h2 {
  font-family: 'Libre Baskerville', serif;
  margin-bottom: 30px;
  color: #900028; /* FINCA Red */
  font-size: 26px;
}

form {
  display: flex;
  flex-direction: column;
}

form input {
  padding: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  padding: 15px;
  background-color: #900028;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #70001f;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .image-section {
    height: 200px;
  }

  .form-section {
    margin: 10px;
    padding: 20px 10px;
  }

  .form-container {
    padding-top: 1%;
    margin: auto;
  }

  .tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
    margin-top: 1%;
  }
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    /* margin-top: 10%; */
}
.tabs button {
    padding: 10px 20px;
    border: none;
    background-color: #f1f1f1;
    cursor: pointer;
    font-weight: bold;
}
.tabs button.active {
    background-color: #900028;
    color: white;
}
.form-container {
    max-width: 400px;
    margin-top: 20px;
    margin: auto;
}
.form-wrapper {
    display: none;
}
.form-wrapper.active {
    display: block;
}
#messageBox,
#messageBox1 {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}
#messageBox.error,
#messageBox1.error {
    background-color: #ffe0e0;
    color: #b30000;
    border: 1px solid #b30000;
    padding: 10px;
  margin-bottom: 10px;
}
#messageBox.success,
#messageBox1.success {
    background-color: #e0ffe0;
    color: #006600;
    border: 1px solid #006600;
    padding: 10px;
  margin-bottom: 10px;
}

form select {
  padding: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
}


