 /* Modal styling */
 .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
  }

  
  .modal-content {
    /*background-color: #fefefe;*/
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 5px;
  }
  
  .modal-content h3, 
  .modal-content label, 
  .modal-content input, 
  .modal-content select {
    font-family: "Merriweather Sans", sans-serif;
    font-weight: 400; /* Adjust for other elements like h3 */
  }
  /*
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }*/

  .modal-content {
    width: 90%; /* Mobile-first approach */
    max-width: 600px; /* Maximum width for larger screens */
  }

  .modal-content input, 
  .modal-content select, 
  .modal-content textarea {
      margin-bottom: 1rem; /* Use rem units for consistency */
      padding: 0.75rem; /* Add some padding for text inputs */
      border: 1px solid var(--bs-gray-300); /* Consistent borders */
      border-radius: var(--bs-border-radius-sm); /* Consistent border-radius */
  }

  .close {
    color: var(--bs-gray-dark); /* Make the close button color consistent */
    position: absolute; /* Align it to the top-right corner */
    top: 10px;
    right: 20px;
    font-size: 1.5rem; /* Adjust size for better visibility */
    cursor: pointer;
  }


  .close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .hidden {
    display: none;
  }

  /*Make the button color consistent by using the Bootstrap in styles.css
  input[type="submit"], .next-btn, .prev-btn {
    padding: 10px 15px;
    border: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
  }

  input[type="submit"]:hover, .next-btn:hover, .prev-btn:hover {
    background-color: #45a049;
  }*/

  input[type="submit"], .next-btn, .prev-btn {
    background-color: var(--bs-primary); /* Light blue for consistency */
    color: var(--bs-white); /* White text */
    border-radius: var(--bs-border-radius); /* Matches global styling */
  }

  input[type="submit"]:hover, .next-btn:hover, .prev-btn:hover {
      background-color: #31b0d5; /* Slightly darker blue on hover */
  }


  .prev-btn {
    background-color: #555;
  }

  .prev-btn:hover {
    background-color: #333;
  }

  .section {
    display: none;
  }

  .section.active {
    display: block;
  }

  /* Hidden Section Styling */
  .hidden-section {
    visibility: hidden;
    height: 0;
    overflow: hidden;
  }

/*Checkbox Info*/
  .checkbox-group {
    display: flex;
    flex-direction: column;
}

.checkbox-group.facility-types .checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.checkbox-group.facility-types .checkbox-column {
    flex: 0 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-group.facility-types .label-column {
    flex: 1;
    padding-left: 10px;
}

.checkbox-group.facility-types input[type="checkbox"] {
    margin: 0;
}

.checkbox-group.facility-types label {
    margin: 0;
    line-height: 1.2;
}
/*Create a class="..." Apply the same color to h4 tags linking to Theme */
.section-header {
  color: var(--bs-primary);
}