html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
/*    .header-box {
        background-color: ghostwhite;
        border: 8px inset lightskyblue;
        padding: 10px;
        margin: 5px;
        width:95%;
    }*/
}

.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 {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body always takes at least the full viewport height */
    margin: 0; /* Remove default body margin */
}
main {
    flex-grow: 1; /* Allows the main content to take up all available space */
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.warning-text {
    color: black;
    background-color: gold;
}
.header-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0;
}
.large-text {
    font-family: Calibri;
    font-weight: bold;
    font-size: 35px;
    line-height: 1.25;
    letter-spacing: 0;
    color: #DE9D66
}
.info-header-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
}
.header-box {
    background-color: ghostwhite;
    border: 8px inset lightskyblue;
    padding: 10px;
    margin: 5px;
}
.center-header-box {
    background-color: ghostwhite;
    border: 8px inset lightskyblue;
    padding: 10px 25px;
    margin: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
    .center-header-box {
        position: static;
        transform: none;
        top: auto;
        left: auto;
        background-color: ghostwhite;
        border: 8px inset lightskyblue;
        padding: 10px;
        margin: 5px;
    }
}
.description-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0;
}
.basic-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
}
.small-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0;
}
.link-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0;
}
.email-label-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0;
}
.survey-required-disclaimer {
    font-family: Calibri;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0;
    color: red;
}
.info-box {
    background-color: whitesmoke;
    border: 1px solid lightslategrey;
    padding: 10px;
    margin: 5px;
}
.scrollable-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ccc;
}
.scrollable-container-tall {
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ccc;
}
table, th, td {
    border: 1px solid black;
    border-collapse: collapse; /* Optional: collapses borders for a cleaner look */
}

th, td {
    padding: 8px; /* Optional: adds spacing inside cells */
    text-align: left; /* Optional: aligns text to the left */
}
.bscc-button-important {
    background-color:#FFBE87;
    border:solid;
    border-color:#3B4C32;
    color:#3B4C32;
    font-size:18px;
    font-weight:700;
    margin:4px;
    padding:2px 10px;
    width:fit-content;
}
    .bscc-button-important:hover {
        background-color: #faf216
    }
.bscc-button-important-right {
    background-color: #FFBE87;
    border: solid;
    border-color: #3B4C32;
    color: #3B4C32;
    font-size: 18px;
    font-weight: 700;
    margin: 4px;
    padding: 2px 10px;
    width: fit-content;
    float: right;
}
.bscc-button-important-right:hover {
    background-color: #faf216
}
@media (max-width: 768px) {
    .bscc-button-important-right {
        background-color: #FFBE87;
        border: solid;
        border-color: #3B4C32;
        color: #3B4C32;
        font-size: 18px;
        font-weight: 700;
        margin: 4px;
        padding: 2px 10px;
        width: fit-content;
        float: none;
    }

}
.task-button {
    background-color: #3B4C32;
    border: solid;
    border-color: #60635d;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin: 4px;
    padding: 2px 10px;
    width: fit-content;
}

    .task-button:hover {
        background-color: #60635d;
    }
    .task-button:disabled{
        background-color: grey;
        border: solid;
        border-color: darkgrey;
        color: #FFFFFF;
        cursor: not-allowed;
    }
.special-button {
    background-color: #d40f1f;
    border: solid;
    border-color: #9E0915;
    color: aliceblue;
    font-size: 16px;
    font-weight: 600;
    margin: 4px;
    padding: 2px 10px;
    width: fit-content;
    cursor: pointer; /* Indicates clickable item */
}

    .special-button:hover {
        background-color: #9E0915;
    }
.center-content {
    display: flex;
    justify-content: center; /* Horizontally centers items */
    align-items: center; /* Vertically centers items */
}

.clickable-row {
cursor: pointer;
background: rgba(124,184,207,.4)
}

.clickable-row:hover {
    background-color: #FFBE87; /* Optional: Add a hover effect */
}

    .clickable-li {
        cursor: pointer; /* Indicates clickable item */
        padding: 5px;
        margin-bottom: 5px;
        background: rgba(124,184,207,.4)
    }

    .pseudo-button {
        cursor: pointer; /* Indicates clickable item */
        padding: 5px;
        margin-bottom: 5px;
        background-color: #FFBE87;
        border: solid;
        border-color: #3B4C32;
        color: #3B4C32;
    }

        .pseudo-button:hover {
            background-color: #faf216;
        }
.pseudo-button-bright {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background-color: #0ee36a;
    border: solid;
    border-color: #3B4C32;
    color: #3B4C32;
}

    .pseudo-button-bright:hover {
        background-color: #faf216;
    }
.pseudo-button-alarm {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background-color: salmon;
    border: solid;
    border-color: #3B4C32;
    color: black;
    /* was in style of most uses (below)*/
    font-weight: bold; 
    padding-right: 25px;
    display: flex;
    width: auto;
    overflow-wrap: break-word
}

    .pseudo-button-alarm:hover {
        background-color: #faf216;
    }
.pseudo-button-blue {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background: rgba(124,184,207,.4);
    border: solid;
    border-color: #3B4C32;
    color: black;
}

    .pseudo-button-blue:hover {
        background-color: #faf216;
    }
.approve-button {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background-color: #7FFF00;
    border: solid;
    border-color: #3B4C32;
    color: #3B4C32;
}

    .approve-button:hover {
        background-color: #faf216;
    }
.reject-button {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background-color: #d40f1f;
    border: solid;
    border-color: #3B4C32;
    color: aliceblue;
}

    .reject-button:hover {
        background-color: #ffbe99;
    }
.warning-button {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background-color: #fffb99;
    border: solid;
    border-color: #3B4C32;
    color: #3B4C32;
}

    .warning-button:hover {
        background-color: #faf216;
    }
    .clickable-li:hover {
        background-color: #FFBE87;
    }

    .clickable {
        cursor: pointer; /* Indicates clickable item */
        padding: 5px;
        margin-bottom: 5px;
        background: rgba(124,184,207,.5)
    }

        .clickable:hover {
            background-color: #FFBE87; /* Optional: Add a hover effect */
        }

    table-wrapper {
        height: 400px; /* Or a specific height */
        overflow: auto;
    }

    .sticky-header th {
        position: sticky;
        top: 0;
        z-index: 5; /* Adjust as needed */
        background-color: white; /* Ensure background for visibility */
        box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4); /* Optional: for visual separation */
    }

    .sticky-header-table {
        width: 100%;
        position: sticky;
        top: 0;
        background-color: #f0f0f0; /* Optional: background for the sticky header */
        z-index: 1; /* Ensure header stays on top */
    }

    .hidden-div {
        display: none; /* Initially hidden */
        padding: 20px;
        border: 1px solid #ccc;
        margin-top: 10px;
        background-color: #f9f9f9;
    }

    .myCheckbox {
        position: relative;
        display: inline;
        width: 22px;
        height: 22px;
        border: 1px solid #808080;
        content: "";
        background: #FFF;
    }

    #loadingOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
        display: flex; /* For centering the spinner */
        justify-content: center;
        align-items: center;
        z-index: 9999; /* Ensure it's on top */
    }

    .spinner {
        /* Style your spinner here (e.g., CSS animation for a rotating circle) */
        border: 4px solid #f3f3f3;
        border-top: 4px solid #3498db;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }
@media print {
    body {
        visibility: hidden;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        /* Add other styling for your header, e.g., height, background, padding */
    }
    .printable {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
    }
}
.page-break-after {
    page-break-after: always;
}
.searchableTable thead th {
    background-color: darkgrey;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

    .searchableTable thead th:hover {
        background-color: grey;
        cursor: pointer;
    }

.searchInput {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%; /* Adjust as needed */
    max-width: 450px;
}

.searchButton {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 8px;
}

    .searchButton:hover {
        background-color: #45a049;
    }
.dataButton {
    background-color: darkgrey; /* Green */
    color: black;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 8px;
}

    .dataButton:hover {
        background-color: lightgrey;
    }
.searchCheckbox {
    margin-right: 5px;
}

.searchCheckboxLabel {
    margin-right: 15px;
    font-weight: normal;
}

/* --- Site header navbar: account initials + mobile layout --- */
.site-navbar .container {
    flex-wrap: wrap;
    align-items: center;
}

.site-navbar-brand {
    max-width: min(100%, calc(100% - 120px));
}

.site-navbar-logo {
    max-height: 56px;
    width: auto;
    height: auto;
}

@media (min-width: 576px) {
    .site-navbar-logo {
        max-height: none;
    }
}

/* Desktop: logo | centered nav | account + toggler (toggler hidden) */
@media (min-width: 576px) {
    .site-navbar-brand {
        order: 1;
        max-width: none;
    }

    .site-navbar-collapse {
        order: 2;
        flex-grow: 1;
        flex-basis: auto !important;
    }

    .site-navbar-toolbar {
        order: 3;
    }
}

/* Phone: logo left, account + menu button right; nav opens full width below */
@media (max-width: 575.98px) {
    .site-navbar-brand {
        order: 1;
        flex: 0 1 auto;
        min-width: 0;
    }

    .site-navbar-toolbar {
        order: 2;
        margin-left: auto;
    }

    .site-navbar-collapse {
        order: 3;
        flex-basis: 100%;
        align-items: stretch;
    }

    .site-navbar-collapse .site-navbar-nav {
        padding-top: 0.5rem;
        padding-bottom: 0.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 0.35rem;
    }

    .site-navbar-collapse .site-nav-link {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .site-navbar-logo {
        max-height: 48px;
    }

    .account-menu-button {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .account-menu-button.dropdown-toggle::after {
        display: none;
    }

    .site-navbar-toggler {
        padding: 0.35rem 0.5rem;
    }
}

.site-navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.site-nav-link {
    color: #FFFFFF !important;
    font-family: sans-serif;
    font-size: 18px;
    padding: 0 10px;
    margin: 0 15px;
}

.site-navbar-login {
    white-space: nowrap;
    padding: 0.35rem 0.5rem !important;
    margin: 0 !important;
}

.site-navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
}

.site-navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.35);
}

.site-navbar-toggler .navbar-toggler-icon {
    filter: invert(1);
}

.account-menu-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    font-weight: bold;
    color: #3B4C32;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    line-height: 1;
    flex-shrink: 0;
}

.account-menu-button:hover,
.account-menu-button:focus {
    color: #3B4C32;
    background-color: #f2f2f2;
    border-color: #f2f2f2;
}

@media (max-width: 380px) {
    .site-navbar-logo {
        max-height: 40px;
    }

    .account-menu-button {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .site-navbar-toggler {
        padding: 0.25rem 0.4rem;
    }
}

.site-account-dropdown {
    z-index: 1056;
}