* {
  font-family: "Arial", sans-serif;
}

.main {
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 26px;
  font-weight: bold;
  color: #0043b3;
}

h2 {
  font-size: 20px;
  color: #333;
}

h3 {
  font-size: 18px;
}

p {
  font-size: 12px;
}

/*Header CSS*/
#header-container {
  padding-left: 10%;
  padding-right: 10%;
}

.nav-item .nav-link {
  color: #0048d2;
  border: 1px solid #0048d2;
  border-radius: 5px;
  margin: 2px;
  font-size: 16px;
}

.nav-item .nav-link:hover {
  background-color: #0048d2;
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

/*Footer CSS*/
#main-footer {
  margin-top: 20px;
  padding-top: 10px;
  padding-bottom: 20px;
  border-top: 1px solid #b3b3b3;
}

.footer-column {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1%;
  text-align: center;
}

.footer-column-a {
  text-decoration: none;
  font-size: 15px;
  color: rgba(33, 37, 41);
}

.footer-column-a:hover {
  text-decoration: underline;
  color: #0048d2;
}

/*Content Box*/
.container {
  display: flex;
  align-items: center;
  flex: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 5%;
  padding-right: 5%;
}

.content-box {
  background: #dce5f2;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  float: none;
  min-height: calc(100% - 40px);
  min-width: 300px;
  margin: 20px auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-page-box {
  width: 100%;
  height: 100%;
  text-align: center;
}

.custom-btn {
  align-items: center;
  background: #0048d2;
  border-radius: 6px;
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: normal;
  justify-content: center;
  min-width: 100px !important;
  padding: 10px;
  text-align: center;
  text-decoration: none;
}

custom-btn:hover {
  background-color: #002b80;
  color: white;
  text-decoration: underline;
}

/*Login Page*/
.error-message {
  color: red;
  margin-bottom: 15px;
}

.button-container {
  display: flex;
  justify-content: space-between; /* Space out the buttons */
  align-items: center;
  margin-top: 5px;
}

/*Sign Document Buttons*/
.sign-custom-btn {
  background: #fff;
  border: 1px solid #0048d2;
  border-radius: 3.75px;
  box-sizing: border-box;
  color: #0048d2;
  display: inline-flex;
  font-size: 10px;
  justify-content: center;
  line-height: 15px;
  padding: 3.75px 7.5px;
  text-align: center;
  text-decoration: none;
  width: 90px;
  margin-left: 3px;
  margin-right: 3px;
}

.sign-custom-btn:hover {
  background-color: #fff;
  border: 1px solid #0048d2;
  color: #0048d2;
  text-decoration: underline;
}

.download-container {
  display: flex;
  justify-content: space-between; /* Space out the buttons */
  align-items: auto;
  margin-top: 10px;
  width: 100%;
}

.form-group label {
  margin-right: 20px;
}

.signature-options {
  margin-top: 10px;
}

.select-document{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #b3b3b3;
    margin-bottom: 5px;
}

.select-document-column{
    flex: 1 1 45%;
    max-width: 50%;
    min-width: 250px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .select-document-column {
        flex-basis: 100%; /* Full width on smaller screens */
        max-width: 100%;
    }
}

.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s, visibility 0.5s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

.toast.hide {
  opacity: 0;
  visibility: hidden;
}
