html,
body {
  height: 100%;
}

.form-body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="phone"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-registration {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: auto;
  }

.form-new {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: auto;
  }

.inline-label-input {
display: flex;
align-items: center;
}

.inline-label-input label {
    margin-right: 10px; /* Adjust this as needed */
    white-space: nowrap; /* Prevent label text from wrapping */
}

.inline-label-input input {
    flex: 1; /* Ensure input takes the remaining space */
}

.flashes {
          list-style-type: none;
          padding: 0;
      }


.flashes li.alert-success {
    background-color: #d4edda; /* Green background for success */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 1.5em;
}

.flashes li.alert-danger {
    background-color: #f8d7da; /* Light red background for waitlist */
    color: #721c24; /* Dark red text */
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 1.5em;
}

#form-registration {
     display: none;
}


.error {
    color: red;
}

canvas {
            padding: 20px;
            max-width: 600px; /* Set the maximum width */
            max-height: 300px; /* Set the maximum height */
        }
        
.chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  width: 100%;
}

.chart-container canvas {
  position: relative;
  width: 100% !important;
  height: 350px !important; /* adjust height as desired */
}

#waitlistDisplay {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 600;
  color:#343a40;
  text-align: center;
}

/*.chart-container {
            position: relative;
            width: 100%;
            height: 400px;
        }
        .chart-container canvas {
            position: absolute;
            width: 100% !important;
            height: 100% !important;*/

 @media print {
            body * {
                visibility: hidden;
            }
            #printable-area, #printable-area * {
                visibility: visible;
            }
            #printable-area {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
            }
        }

 .password-entry {
            width: 50%; /* Full width for input fields */
            margin-bottom: 1rem; /* Space between inputs */
        }

/* --- Printable area uses GRID so items never split --- */
#printable-area {
  display: grid;
  grid-template-columns: 1fr;   /* single column by default */
  gap: 16px 24px;               /* row, column gap */
  font-size: 20px;              /* your slider will override inline */
  line-height: 1.25;
}

/* Two-column layout for records (toggled via JS) */
#printable-area.two-col {
  grid-template-columns: repeat(2, 1fr);
}

/* Keep each record intact */
.print-item {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  margin: 0;                   /* grid provides spacing */
  border: 1px solid #dee2e6;
  border-radius: .25rem;
  padding: .75rem;
}

/* Tighter rows inside each card */
.print-item .row {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 4px 0 !important;
}

.print-item .label { 
  font-weight: 600; 
  margin-right: 6px; 
  white-space: nowrap; 
  flex: 0 0 40%;
}
.print-item .value { 
  flex: 1; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: nowrap; 
}

/* Mobile safety: collapse to one column on narrow screens */
@media (max-width: 768px) {
  #printable-area.two-col {
    grid-template-columns: 1fr;
  }
}


