html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
}


/*adjust all fa-solid*/
.fa-solid {
    padding-left: 6px;
    padding-right: 6px;
}

/*adjust all fa-regular*/
.fa-regular {
    padding-left: 6px;
    padding-right: 6px;
}


html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}




#custom-styled-page h1 {
    color: #333;
    margin-bottom: 20px;
}

#custom-styled-page table {
    width: 80%;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

#custom-styled-page th,
#custom-styled-page td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

#custom-styled-page th {
    background-color: #007BFF;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

#custom-styled-page tr:nth-child(even) {
    background-color: #f9f9f9;
}

#custom-styled-page tr:hover {
    background-color: #f1f1f1;
}

#custom-styled-page td.separator {
    text-align: center;
    font-weight: bold;
    color: #007BFF;
}

/* Remove obsolete margin-bottom that was for an absolute footer */
body {
    margin: 0;
}

/* (Optional) explicit flex semantics for clarity */
main {
    flex: 1 0 auto;
}

footer.footer {
    flex-shrink: 0;
    /* keep position static; no overlap */
}

/* If (later) you decide to make the footer fixed, uncomment:
footer.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #ffffff;
    height: 56px;
    display: flex;
    align-items: center;
}
main {
    padding-bottom: 56px; /* match footer height to prevent overlap */
}

/* --- Sticky FIXED footer --- */
.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;                 /* define a fixed height */
    display: flex;
    align-items: center;
    background: #0F6CBD;          /* opaque (not see-through) */
    color: #ffffff;
    z-index: 1030;                /* below Bootstrap modals (1050) */
    box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
}

/* Ensure page content clears the footer */
main {
    padding-bottom: 70px;         /* > footer height for safe spacing */
}

/* Vertically scrollable table container (keeps page static) */
.table-vert-scroll {
    /* Adjust the 200px offset to suit your header/toolbars above the table */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    /* Keep Bootstrap’s horizontal behavior from .table-responsive */
    overflow-x: auto;
}

/* Keep table headers visible while scrolling */
.table-sticky-header thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8f9fa; /* match .table-light */
}

/* Optional: small visual separation for sticky header */
.table-sticky-header thead th {
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}