body {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  padding: 2rem;
  background-color: rgba(17, 24, 39, 1);
  color: rgb(255, 255, 255)
}

.main-content-wrapper {
  max-width: 900px; 
  width: 100%; 
  padding: 2rem; 
  box-sizing: border-box; 
  text-align: center; 
}

hr {
  border: none; 
  height: 1px; 
  background-color: #ccc; 
  margin: 2em auto;
  width: 80%;
  max-width: 700px;
}

input {
  margin: 0.5rem 0; 
  padding: 0.5rem;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

button {
  padding: 0.6rem 1rem;
  margin-top: 1rem;
  font-size: 1.4rem;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  color: black;
  background: white;
}

#result {
  display: none; /* hide by default */
  margin-top: 1.5rem;
  padding: 3rem;
  background: rgb(50, 69, 110);
  border-radius: 10px;
  font-family: sans-serif;
  white-space: pre-wrap;
  border-color: rgb(0, 0, 0);
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.input-fields-container {
  display: flex;
  justify-content: center; 
  align-items: flex-start;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  gap: 1em; 
  flex-wrap: wrap; 
}

.input-group {
  position: relative;
  margin-bottom: 0; 
  margin: 0; 
  width: auto; 
  max-width: 400px; 
  flex-shrink: 0; 
}

.find-path-button {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  color: rgb(255, 255, 255);
  background: rgb(50, 69, 110);
  display: flex;
  align-items: center;
  height: 38px;
  box-sizing: border-box;
  align-self: center;
  margin: 0;
  border-radius: 8px;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.2rem;
}

#moreInfoContent {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgb(50, 69, 110);
  padding: 0 1rem; /* collapsed: only horizontal */
  margin: 0.5rem auto 0 auto;
  max-width: 900px;
  box-sizing: border-box;
  border-left: 3px solid #ffffff;
  border-radius: 4px;
  color: rgb(255, 255, 255);
}
  
  #moreInfoToggle {
    cursor: pointer;
    color: #007BFF;
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
    margin-top: 1rem;
  }

  .autocomplete-box {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 150px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    color: black; 
  }

  .autocomplete-box div {
    padding: 8px;
    cursor: pointer;
  }

  .autocomplete-box div:hover {
    background-color: #f0f0f0;
  }

  .input-group {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 400px;
  }

#result {
  margin-top: 1.5rem;
  padding: 3rem;
  background: rgb(50, 69, 110);
  border-radius: 10px;
  font-family: sans-serif;
  white-space: pre-wrap;
  border-color: rgb(0, 0, 0);
  text-align: center;
}

  a {
    color: #00BFFF; 
    text-decoration: none; 
  }

  .oracle-link {
    color: #80b7f1; 
  }

footer a {
  margin: 0 0.6rem; /* horizontal spacing */
}