body {
  font-family: 'Verdana Pro Condensed', sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100dvh;
  background: radial-gradient(circle, #d9d9f2, #095763);
  color: white;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; 
  align-items: center;
}

.top {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  z-index: 1000; /* Ensure it stays on top of other content */
  top: 0;

  height: auto;
  background-color: white;
  width: calc(100% - 20px);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top a {
  color: #095763;
  text-decoration: none;
  padding: 0 10px; /*  Why is this necessary? The parent already has a padding on 10px. */
}
.logo {
  height: 60px;
  width: auto;
}
.logoutButton {
  color: white;
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px;
  width: 10%;
  background-color:#095763;
  margin-right: 10px;
}
.resultContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;

}

.creditForm {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  flex-direction: column; /* Ensure children stack vertically */
  margin-top: 3dvh;
  background-color: rgba(255, 255, 255, 0.2); /* Add opacity */
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px #095763;
  width: 70%;
  box-sizing: border-box;
  margin-top: 15dvh;
}  
table {
  color: #095763;
  font-weight: bold;
}
.center {
  text-align: center;
  margin: 0 auto;
}

label {
  font-size: 1em;
  color: #095763;
  margin-bottom: 5px;
  display: block;
}


.input {
  width: 90%;
  text-align: center;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #095763;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1em;
  transition: border-color 0.3s ease;
}
#myButton {
  margin-bottom: 7px;
}

button {
  width: 62%;
  padding: 10px;
  background-color: #095763;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1em;
  cursor: pointer;
  margin: 0 auto; /* Center the button horizontally */
}
.button {

    width: 40%;
    padding: 10px;
    background-color: #095763;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1em;
    cursor: pointer;
    display: block;
    margin: 10px auto; 
}
#savePDF, #saveFullPDF {
  width: 40%;
  padding: 10px;
  background-color: white;
  border: none;
  border-radius: 8px;
  color: #095763;
  font-size: 1em;
  cursor: pointer;
  display: block;
  margin: 10px auto;
  visibility: hidden; 
}

/* search page css */  


.spinnerContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white; /* White background */
  width: 100px; /* Adjust size as needed */
  height: 100px; /* Adjust size as needed */
  border-radius: 8px; /* Optional: Rounded corners */
  display: flex;
  align-items: center; /* Center spinner vertically */
  justify-content: center; /* Center spinner horizontally */
  box-shadow: 0 4px 8px #095763;
  z-index: 1000; /* Ensure it appears above other elements */
  padding: 20px; /* Optional: Add padding */

}
.spinner {
  border: 16px solid #d0f5fb; /* Light teal */
  border-top: 16px solid #095763; /* teal */
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.results {
  display: flex;
  width: 90%;
  justify-content: space-around;
  margin: auto;
  margin-top: 5%;
  visibility: hidden;
}

.result {
  background-color: rgba(255, 255, 255, 0.7); /* Add opacity */
  box-shadow: 0 4px 8px #095763;
  border: 1px solid #095763;
  border-radius: 8px;
  padding: 0 3px;
  width: 10%;
  height: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.resultText {
  font-size: calc(
    1vw + 1dvh + 0.5vmin
  ); /* Adjust the font-size based on the width and height of the viewport */
  text-align: center;
  color: #095763;
  margin-bottom: 5px;
  padding: 0;
}

.resultImage {
  width: 50%;
  height: auto;
  padding-bottom: 5px;
}

.infoBox {
  visibility: hidden;
  color: black;
  width: 90%;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.7); /* Add opacity */
  display: flex;
  flex-wrap: wrap; /* Ensure divs flow under if too wide */
  justify-content: center;
  margin-bottom: 5%;
  margin-top: 5%;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px #095763;
  flex-direction: row; /* Ensure gap works */
  gap: 10px; /* Add space between child divs */
}

.infoBox > div {
  width: 40%; /* Ensure all child divs have the same width */
  padding: 10px;
}

.alert {
  position:fixed;
  top:50%;
  left:50%;

  width: 70%;
  transform: translate(-50%, -50%); /* Center horizontally and vertically */
  background-color: white;
  border-radius: 5px;
  border: 1px solid #095763;
  box-shadow: 0 4px 8px #095763;
  color: black;
  padding: 20px;

} 
.alert > p {
  text-align: center;
  margin: 0;
}
.alertDisclaimer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid  #095763;
  color: black;
  border-radius: 8px;
  z-index: 1000;
  display: none;
  width: 70%;
  text-align: justify;
}
.reportLink {
    width: 40%;
    padding: 10px;
    background-color: #095763;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1em;
    cursor: pointer;
    display: block;
    margin: 10px auto;
    text-align: center;
}
.linkText {
  text-align: center;
}


/* credit card css */
#payButton {
  width: 40%;
}
.icon_payment {
  width: 10%;
  height: auto;
  border: 1px solid black;
}

.CCcontainer {
  display: flex;
  justify-content: space-between;
  margin: 5px auto;
  width: 38%;
  background-color: rgba(255, 255, 255, 0.7); /* Add opacity */
  padding: 10px;
  border-radius: 8px;
}

.disclaimer {

  background-color: rgba(255, 255, 255, 0.7);
  color: black;
  width: 80%;
  margin: 0 auto; /* Center the element horizontally within its parent */
  padding: 5px;
  border-radius: 5px;

  }
  .disclaimer > p {
    text-align: justify;
  }
  .container {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    margin-bottom: 7dvh;
    width: 100%;
  }

.end {
  margin-bottom: 7dvh;
}
.space{ height: 10dvh;
}
/*end of credit card css */

/*full credit report css */




.footer {
  position: fixed;
  bottom: 0;
  background-color: white;
  width: 100%;
  color: #095763;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  height: 5dvh;
  display: flex; /* Enable Flexbox */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}


.title {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center; /* Center text inside the div */
  height: 21dvh; /* Adjust height as needed */
  margin: 0 auto;
  color:  #095763;
   background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px #095763;
}

.marginTop {
  margin-top: 10dvh;
}

@media (max-width: 768px) {

    .reportContainer {
    width: 98%;
    padding: 2px;
  }
  .reportContainer table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
  .reportContainer table th,
  .reportContainer table td {
    font-size: 0.85em;
    padding: 4px 6px;
  }
  .resultContainer {
    margin-top: 10%;
  }
  .creditForm {
    margin-top: 3dvh;
    width: 90%;
    padding: 5px;
  }
  #myButton {
    padding: 7px;
  }
  .input {
    padding: 7px;
    margin-bottom: 10px;
  }

  .results {
    margin-top: 15%;
    width: 95%;
  }

  .result {
    width: 22%;
    height: 20%;
  }

  .infoBox {
    margin-bottom: 10%;
    justify-content: left;
  }

  .infoBox > div {
    width: 100%; /* Ensure all child divs have the same width on smaller screens */
  }
  .reportContainer > div {
    width: 100%;
  }
  .icon_payment {
    width: 20%;
  }
  .disclaimer {
    width: 90%;
    font-size: 0.8em;
  }
  .logoutButton {
    font-size: .8em;
    width: 20%
  }

}
