html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px; /* Font size, adjust as needed */
    font-weight: 500; /* Regular font weight */
    color: #000000; /* Text color, typically a dark gray or near-black */
    line-height: 1.6; /* Slightly increased for AAA line-height */
    margin: 0px 0px 60px; /* Reset margin */
    padding: 0; /* Reset padding */
    width: 100%
}

@media (min-width: 768px) {
    html {
    font-size: 16px;
  }

}
@media (min-width: 768px) {
    .col-md-1-5 {
        flex: 0 0 12.5%;
        max-width: 12.5%;
    }
}
@media (max-width: 768px) {
    .mobile-sticky-top {
        position: sticky;
        top: 0;
        z-index: 1030; /* Ensure it stays above other content */
        background-color: #fff; /* Match your site's background */
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
}


@media (max-width: 768px) {
    .control-group-label {
        visibility: hidden;
    }
    #offcanvasNavbar2
    {
        height: auto !important
    }
}
@media(min-width:992px) {
    .modal-view .modal-dialog {
        max-width: 100% !important;
    }
}


.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;
}

.btn {
    white-space: nowrap
}
.btn-primary:hover {
    background-color: #0b5ed7; /* Change this to your desired color */
    border-color: #fff; /* Change this to match the background color */
}
.hover-btn:hover {
    background-color: #0d6efd !important; /* Bootstrap primary blue */
    color: white !important;
}
.btn-info {
    color:white !important
}

/*.btn-primary {
    background-color: #fff !important;*/ /* Change this to your desired color */
    /*border-color: #fff !important;*/ /* Change this to match the background color */
/*}*/

.row-gutter {
    margin-bottom: 30px; /* Adjust the value as needed */
}

.title-text {
    font-size: 16px;
    margin-left: 62px;
    font-weight: normal;
    color: black;
}
.elms-red {
    color: #dc3545;
}
.elms-blue {
    color: #0d6efd;
}
.elms-green {
    color: #198754;
}
.elms-gray {
    color: #6c757d;
}

.normal-text {
    font-size: 16px;
}
.form-input-number-sm {
    max-width: 120px;
}

.form-invalid-feedback {
    font-size: .875em;
    color: red;
}

.error-box {
    border: 1px solid red;
    border-radius: .25rem;
}

.success-box {
    border: 1px solid green;
    border-radius: .25rem;
}

.error-message-for-multiple-select {
    margin-top: -15px !important;
}

/* Yes/No toggle button styling */
.toggle-yes {
    
}

.toggle-no {
}

/* Override Bootstrap's btn-outline-success styling for unselected Yes button to match No button */
.btn-outline-success.toggle-yes {
    color: #6c757d !important;
    border-color: #6c757d !important;
    background-color: transparent !important;
}

.btn-outline-success.toggle-yes:hover {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

/* Override Bootstrap's btn-outline-success when checked to use USWDS dark blue */
.btn-check:checked + .btn-outline-success.toggle-yes {
    background-color: #005ea2 !important;
    border-color: #005ea2 !important;
    color: white !important;
}

/* Ensure focus state also uses dark blue */
.btn-check:focus + .btn-outline-success.toggle-yes {
    box-shadow: 0 0 0 0.25rem rgba(0, 94, 162, 0.25) !important;
}


.zero-size-control {
    width: 0px !important;
    height: 0px !important;
    border: none;
    border-radius: 0px !important;
    z-index: -1;
}
.no-show {
    display: none;
}

.status-active, .status-approved {
    background-color: #166534; /* darker green for better contrast */
    color: #fff;
}

.status-pending, .status-completed {
    background-color: lightgray;
    color: black    
}
.me-4rem {
    margin-right: 4rem !important;
}

.status-expired {
background: #0d6efd; color: #fff; 
}

.status-inactive, .status-overdue {
    background-color:red
}

.status-active {
    background-color: green
}

.status-waiting-for-approval {
background: #ffc107; color: #000; 
}

.status-need-more-info, .status-registered {
background: #0d6efd; color: #fff; 
}

.email-messages-body {
    min-height: 300px;
}

.plr-5 {
    padding-left: 5px;
    padding-right: 5px;
}
.pl-0{
    padding-left: 0px;
}
.ml-1 {
    margin-left: 5px !important;
}
.card-container {
    border-radius: 6px;
/*    padding: 10px;
*/}

.sidebar {
    background-color: #fff;
    /*border-right: 1px solid #ddd;*/
    display: flex;
    flex-direction: column;
    padding: 0px;
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: 2px 0 6px rgba(0,0,0,0.04);
    height: 100%
}

.sidebar a {
    padding: 10px 15px; /* Adjust padding for spacing */
    border-bottom: 1px solid #ddd;
    color: black; /* Ensures readability */
}
.profile-form {
    padding-left: 22px;
    padding-right: 22px;
}
.sidebar h2 {
    font-size: 16px;
    font-weight: 600;
    color: #2a5d7d;
    /*padding: 0 20px 10px;*/
    margin-bottom:0px;
   /*border-bottom: 1px solid #eee;*/
}
.settings-box {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;

}

.form-group {
    flex: 1;
    min-width: 0;
    border-radius: 4px;
    display: flex;
}


.stats-col {
    flex: 1;
    min-width: 0;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 15px;
}
.stats-col-custom {
    flex: 1;
    min-width: 0;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 15px;
    min-height: 190px; /* Adjust this value as needed */
}

.stats-col-custom-width {
    width: 100%;
    flex: 1;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 15px;
}
.log-info {
    background: #f8f9fa;
    border-left: 4px solid #4f86c6;
    border-radius: 4px;
    padding: 10px;
    font-size: 0.9rem;
    color: #444;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    margin-top: 10px;
}
.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #555;
}
.toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
}
.course-name {
    color: #2a5d7d;
    font-size: 16px;
    font-weight: 600;
}
.label-col {
    flex: 1;
    font-weight: 600;
    color: #555;
}
.input-col {
    display: flex;
    align-items: center;
    gap: 10px;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default checkbox */
    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 34px;
}

    /* Slider circle */
    .slider:before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
    }

/* Checked state */
.toggle-switch input:checked + .slider {
    background-color: #4CAF50;
}

    .toggle-switch input:checked + .slider:before {
        transform: translateX(26px);
    }
.settings-footer {
    margin-top: 20px;
    text-align: right;
}
.save-btn {
    background-color: #2a5d7d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
/* Toggle Text */
.toggle-text {
    margin-left: 10px;
    font-weight: bold;
}
.category-row {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 6px 0;
    color: #2a5d7d;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.5rem;
}
.sub-items.open {
    display: block;
}

.sub-items {
    display: none;
    padding-left: 2rem;
    margin-bottom: 1rem;
}
.stat-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    padding: 6px 0;
    font-size: 0.95rem;
    color: #555;
}
.email-body-editor
{
    min-height: 500px;
    max-height: 700px;
}
.dataTables_length {
    position: absolute;
    right: 15px;
    top: -25px;
}
div.dataTables_wrapper div.dataTables_info {
    /*margin-top: 40px;*/
}

/*div.dataTables_wrapper div.dataTables_paginate {
    margin-top: 40px;
}*/

div#systemMessageTable_wrapper div.dataTables_paginate {
    position: absolute;
    right: 15px;
    top: 430px !important;
}
div#pushCommunicationTable_wrapper div.dataTables_paginate {
    position: absolute;
    right: 15px;
    top: 430px !important;
}

.conversation-summary {
    font-size: 0.75em;
}

.new-message-indication {
    background-color: lightBlue;
}

.scrolldown {
    /* Set the height of table body */
    height: 300px;
    /* Set vertical scroll */
    overflow-y: auto;
    /* Hide the horizontal scroll */
    overflow-x: hidden;
}
.course-title {

}
.header-text {
    font-size: 1.25em;
    font-weight: bold;
    color: #2a5d7d;
    align-items: center;
}
.section-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2a5d7d;
    margin-bottom: 10px;
    padding-bottom: 4px;
}

.label-text {
    font-weight: bold;
    font-size: 0.9rem;
}


table.table-fit {
    width: 100% !important;
    table-layout: auto !important;
}

table.table-fit thead th,
table.table-fit tbody td,
table.table-fit tfoot th,
table.table-fit tfoot td {
    width: auto !important;
}

.table-responsive, .dataTables_scrollBody {
    overflow: visible !important;
}



.clickableRow {
    cursor: pointer;
}


a.nav-link {
    white-space: nowrap
}

.review-label {
    font-weight: bold;
    font-size: 1.25em;
}

.review-label2 {

}
.cursor-pointer{
cursor:pointer !important;
}
label.error {
    color: #DC3545 !important;
    font-size: .875em;
}

.container-view {
    margin: 10px;
}
.container-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
/*    gap: 20px;
    padding: 20px;*/
}

thead
{
    /*background-color: lightgrey;*/
}

.empty-placeholder 
{
    background-color: ButtonFace;
}

.display-none{
    display:none
}

.nav-bar-position{
    margin-top:101px;
    max-height:75px;
}
.content-position{
    margin-top: 75px;
}
.big-icon
{
    font-size: 8em;
}

.border-right {
    border-right: 1px solid #333;
}

.indent-4 {
    margin-left: 4px;
}
.indent-10 {
    margin-left: 10px;
}
.indent-20 {
    margin-left: 20px;
}
.indent-30 {
    margin-left: 30px;
}
textarea{
    resize: none;
}

.nicEdit-main{
    width: 100%; 
    padding: 4px; 
    min-height: 100px; 
    overflow: hidden;
}

.count-message {
    background-color: whitesmoke;
    margin-top: -27px;
    margin-right: 5px;
}

.menu
{
    list-style-type: none
}

.control-group-label {
    text-align: right !important;
    white-space: nowrap
}
.toast-success {
    background-color: green;
    white-space: nowrap
}

.toast-warning {
background: #0d6efd; color: #fff; 
    white-space: nowrap
}

.toast-error {
    background-color: red;
    white-space: nowrap
}

.warning-icon {
    color: orange
}


.header {
    background-color: lightgrey;
}
.modal-info-header {
/*    background: #eef6fb;
*/    padding: 12px 20px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2a5d7d;
}
.modal-caution-header {
    background-color: #fff3cd;
    color: #000;
}
.modal {
    position: fixed;
}

.confirm-modal-small.show {
    z-index: 1060;
}

.modal-backdrop.show {
    z-index: 1050;
}
.offcanvas {
    position: fixed;
    z-index: 10000;
}
.fixed {
    position: fixed;
    z-index: 9999;
}
a {
    text-decoration: none !important;
    color: inherit;


}

.search-panel {
    background-color: white;
}

.bg-lightgray {
    background-color: #f5f5f5;
    color: black;
}

.bg-white {
    background-color: white;
    color: black;
}

.rounded-corner {
    border: 1px solid black;
    border-radius: 10px;
}

/* rounded corner top-left 0 border */
.rounded-corner-tl-0 {
    border: 0px;
    border-top-left-radius: 10px;
}

/* rounded corner bottom-left 0 border */
.rounded-corner-bl-0 {
    border: 0px solid black;
    border-bottom-left-radius: 10px;
}

.list-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Active Button */
.page-item.active-btn .page-link {
    background-color: #0D6EF2;
    color: white;
    border-color: #0D6EF2;
}

/* Inactive Buttons */
.page-item.inactive-btn .page-link {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
}

/* Disabled (Previous/Next) */
.page-item.disabled .page-link {
    background-color: #e9ecef;
    color: #6c757d;
    pointer-events: none;
    opacity: 0.65;
}

/* ─── XS overrides (≤579 px) ───────────────────────────── */
@media (max-width:579.98px) {
    .capacity-section {
        flex: 1 1 auto !important
    }

    .btn-group.full-width-xs {
        flex: 1 1 auto
    }
}

@media (max-width:575.98px) {
    .search-input {
        width: 100%
    }
    /* full-width on phones */
}

/* Desktop tweak ── lock the input once viewport ≥ 1100 px  */
@media (min-width:1100px) {
    .search-input {
        flex: 0 0 180px !important; /* stop flex-growing */
        max-width: 180px !important; /* cap actual pixels */
    }
}
/* Previous and Next Buttons */
.page-item.previous-btn .page-link, .page-item.next-btn .page-link {
    background-color: #0D6EF2;
    color: white;
    border-color: #0D6EF2;
}

.page-item.previous-btn.disabled .page-link, .page-item.next-btn.disabled .page-link {
    background-color: #e9ecef;
    color: #6c757d;
    border-color: #dee2e6;
    pointer-events: none;
}


.description-tooltip {
    min-width: 250px;
}

#report-container {
    height: calc(0.5625 * 61vw); /* 16:9 aspect ratio */
}
iframe {
    border: none;
}

@media only screen and (max-width: 574px) {
    #report-container {
        height: calc(0.5625 * 100vw); /* 16:9 aspect ratio */
    }
}

.truncate {
    display: inline-block;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;

}

.truncate-one-line {
    display: -webkit-box;
    -webkit-line-clamp: 1 ;
    -webkit-box-orient: vertical ;
    white-space: normal ;
    overflow: hidden ;
    text-overflow: ellipsis ;
}

/* Announcement list preview: match Listing page — normal paragraph text, not editor heading/bold styles */
.announcement-list-preview {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #1b1b1b;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
}

.announcement-list-preview :is(p, div, span, strong, b, em, i, u, h1, h2, h3, h4, h5, h6, li, a) {
    font-weight: 400 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none;
}

.announcement-list-preview p {
    display: inline;
}

.card-text.single-line.announcement-list-preview {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

#announcements-card .announcement-list-preview {
    margin-top: 0.25rem;
}

.section-title {
    font-size: 17px;
    font-weight: 600;
    color: #4f86c6;
    margin-bottom: 10px;
}
.ck-editor__editable {
    min-height: 300px;
}

.option-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    position: absolute;
    top: 12px;
    right: 15px;
}

.fit-content {
    width: fit-content;
}

.selected-background {
    animation: transitionBackground 5s;
}

.text-primary-dark {
    color: #0b5d6e;
    font-weight: bold;
    font-size: larger;
}

.text-blue {
    color: #2384bf;
    font-weight: bold;
}

.rounded-corner-gray {
    border: 1px solid #ccc;
    border-radius: 10px;
}

.jusify-content-space {
    justify-content: space-between;
    display: flex;
}

.flex-1 {
    flex: 1;
}

.gap-2 {
    gap: 2%;
}

.mt-0 {
    margin-top: 0;
}

.pt-0 {
    padding-top: 0;
}

.padding-left {
    padding-left: 1rem;
    display: block;
}

.p-10 {
    padding: 10px;
}

.text-align-right {
    text-align: right;
}

.height-20 {
    height: 20px;
}

.helper-text-container {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    border-left: 4px solid #2384bf;
}

.bg-blue {
    background-color: #dcedf7;
}

.bg-gray {
    background-color: lightgray;
}

.check-icon {
    color: green;
}

.cross-icon {
    color: red;
}

.full-width {
    width: 100%;
}

.list-no-style {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.icon-back-btn {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.text-unpublished {
    color: gray;
}

.contact-instructor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #0d6efd;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
}

.btn-tertiary {
    background-color: #2e7d32;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
    margin-bottom: 10px;
    width: 100%;
}

    .btn-tertiary:hover {
        background-color: #2e7d32; /* Keeps the same color on hover */
    }


.btn-split-left {
    width: 100%;
    border-radius: 8px 0 0 8px;
}

.btn-split-right {
    width: 100%;
    border-radius: 0px 8px 8px 0px;
}

.btn-unenroll {
    background-color: #c62828;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
}

    .btn-unenroll:hover {
        background-color: #c62828; /* Keep the same color on hover */
    }

.enter-classroom-btn {
    background-color: #0d6efd;
    color: #fff;
    border: none;
}

.ratings-cell {
    display: flex;
    gap: 8px;
}

.rating-column {
    flex: 1;
    border: 1px dashed #ccc;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}



    .enter-classroom-btn:hover {
        background-color: #0d6efd; /* Keep the same color on hover */
    }

.date-time-combined .form-control {
    margin-right: 0;
    border-radius: 0;
}

.date-time-combined #DueDateDate {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
}

.date-time-combined #DueDateTime {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}
.date-time-combined #PublishedOnDate {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
}

.date-time-combined #PublishedOnTime {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}
@keyframes transitionBackground {
    from {
        background-color:gainsboro;
    }

    to {
        background-color: inherit;
    }
}

.nav-tabs .nav-item {
    margin-right: 0; /* Ensures no space between buttons */
}

.nav-tabs .nav-link {
    border-radius: 0; /* Optional: Removes rounded edges if not needed */
    margin-right: 0; /* Ensures no space between buttons */
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.right {
    text-align: right;
}
.centered {
    text-align: center;
}
.v-centered {
    align-content: center
}

.offcanvas-header {
    padding-bottom: 0px;
}

.offcanvas-actions {
    margin-top: 30px;
}

.fixed-col {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
    word-wrap: break-word; /* For older compatibility */
    word-break: break-word; /* For modern browsers */
    white-space: normal; /* Allow text to wrap */
}

.position-relative {
    position: relative;
}


.clear-icon {
    position: absolute;
    right: 75px; /* Adjusted this value */
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    color: #999;
    cursor: pointer;
    padding-right: 5px;
    padding-left: 5px;
    background-color: transparent;
    border-radius: 50%;
    border: 0;
    z-index: 1;
    margin-top: -7px;
}

    .clear-icon:hover {
        color: black;
        border-color: black;
    }
.overflow-x-auto {
    overflow-x: auto !important;
}

@media(max-width: 768px) {
    #elmsView .navbar {
        flex-wrap: wrap !important;
    }

    #elmsView .navbar-left {
        order: 0;
    }

    .profile-wrapper {
        order: 1;
        margin-left: auto;
    }

    .nav-menu {
        order: 2;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.75rem 0;
        border-top: 1px solid #ddd;
        box-shadow: none;
        display: none !important; /* Hide nav menu by default in mobile */
    }
        .nav-menu.menu-open {
            display: flex !important;
        }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
    }

    .hamburger {
        display: inline-block !important;
    }

    .nav-item:hover > .dropdown-menu,
    .nav-item:focus-within > .dropdown-menu {
        display: none;
    }

    .has-submenu {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .expand-icon {
        display: inline-block !important;
    }

    .nav-item .dropdown-menu {
        position: static;
        min-width: unset;
        border: none;
        box-shadow: none;
        margin-left: 1.5rem;
        padding: 0.5rem 0;
    }

    .dropdown-menu.mobile-hidden {
        display: none !important;
    }

    .dropdown-menu.mobile-open {
        display: block !important;
    }
 
}
@media (min-width: 768px) { /* md and up */
    .w-md-100 {
        width: 100% !important;
    }
    /* Hide hamburger toggle on desktop */
    .hamburger { display: none !important; }
}





/* Employment Verification cards --------------------------- */
.verify-card {
    margin-bottom: .45rem
}

    .verify-card .card-body {
        position: relative;
        padding: .55rem 1rem
    }

    .verify-card .badge {
        font-size: .72rem;
        white-space: nowrap
    }

.info-indent {
    padding-left: 2.4rem
}

.tile-main {
    min-width: 0;
    padding-right: 3rem
}

.worksite, .city {
    white-space: nowrap
}

/* … menu */
.tile-menu {
    position: absolute;
    top: .55rem;
    right: 1rem
}

.ellipsis-btn {
    width: 44px; /* meets 44x44 enhanced target */
    height: 44px;
    cursor:pointer;
    border: 0;
    background: #f1f3f5;
    border-radius: .25rem
}

/* mass toolbar (sticky top) */
#massBar {
    display: none;
    position: sticky;
    top: 0;
}

    #massBar.show {
        display: block
    }

/* circle buttons */
.btn-circle {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center
}

/* ——— mobile tweaks (<992 px) ——— */
@media (max-width:991.98px) {
  

        .search-bar .input-group {
            flex: 1 1 auto;
            min-width: 0
        }

        .search-bar .clear-btn {
            display: none !important
        }

        .search-bar .search-label {
            display: none !important
        }

    .desktop-only {
        display: none !important
    }

    .tile-main .worksite {
        display: block;
        margin-left: 2.4rem
    }

    .tile-main .city {
        display: none
    }

    .footer-show-label {
        display: none
    }
}

@media (min-width:992px) {
    .mobile-only {
        display: none !important
    }
}

:root {
    --bg: #f4f6f8;
    --card-shadow: 0 2px 6px rgba(0,0,0,.05);
    --card-shadow-hov: 0 4px 12px rgba(0,0,0,.08);
}

body {
    background: var(--bg);
    font-family: "Segoe UI",system-ui,sans-serif
}

/* top / status bars */
.top-row {
    border-bottom: 1px solid #dee2e6;
    /*padding: .5rem .75rem*/
}

.status-bar {
    border-bottom: 1px solid #dee2e6;
    padding: .5rem 0;
}

@media (max-width:575.98px) {
    .status-bar select {
        flex: 0 0 100%
    }
}

.search-wrap .input-group {
    max-width: 340px
}

/* cards */
.course-card {
    background: #fff;
    border: none;
    border-radius: .6rem;
    box-shadow: var(--card-shadow);
    margin-bottom: .5rem
}

    .course-card:hover {
        box-shadow: var(--card-shadow-hov)
    }

.course-title {
    font-size: 1rem;
    line-height:1.3;
        font-weight: 600
}

.course-meta {
    font-size: .85rem;
    color: #6c757d;
    padding-left: 1.25rem
}
/* indented */
.badge-counter {
    font-size: .75rem
}

/* responsive adjustments */
@media (min-width:576px) {
    .search-wrap {
        flex-wrap: nowrap !important
    }
}

@media (max-width:575.98px) {
    .title-text {
        font-size: 1.1rem !important
    }

    .course-title {
        font-size: 1rem
    }
    /* smaller mobile title */
    .search-wrap {
        flex-direction: row !important;
        gap: .5rem;
        width: 100%
    }

        .search-wrap .input-group {
            flex: 1 1 auto !important;
            min-width: 0;
            max-width: none !important
        }

        .search-wrap .btn {
            white-space: nowrap
        }

    .desktop-only {
        display: none !important
    }

    .big-icon {
        font-size: 6em !important;
    }
}
@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}


/*Educator Dashboard*/
:root {
    --aa-blue: #0d6efd;
    --aa-green: #198754;
    --aa-red: #dc3545;
    --aa-amber: #ffc107;
}

body {
    background: white !important;
    font-family: system-ui,sans-serif
}

/* Ensure dashboard pages have white background */
#educator-dashboard,
#instructor-dashboard, 
#admin-dashboard,
.grid-container {
    background: white !important;
}

/* ───────── ICON HELPERS ───────── */
.icon-blue {
    color: var(--aa-blue)
}

.icon-green {
    color: var(--aa-green)
}

.icon-red {
    color: var(--aa-red)
}

.icon-amber {
    color: var(--aa-amber)
}

/* ───────── CARD SHELL ─────────── */
.aa-card {
    border: 1px solid #e0e2e5;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.aa-card-header {
    background: #fafafa;
    border-bottom: 1px solid #e0e2e5;
    padding: .75rem 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem
}

.aa-card-body {
    padding: 1rem
}

.aa-card small {
    color: #6c757d
}

/* ───────── COURSE TILES — unchanged ───────── */
.course-tile {
    border: 1px solid #e8e9eb;
    border-radius: .75rem;
    padding: 1rem 1rem 0.5rem;
    position: relative;
    cursor: pointer;
    transition: box-shadow .18s;
    /*min-height: 140px;*/
}

    .course-tile:hover {
        box-shadow: 0 4px 14px rgba(0,0,0,.08)
    }

.course-status {
    position: absolute;
    bottom: 1rem;
    left: 1rem
}

.course-menu {
    position: absolute;
    top: .75rem;
    right: .75rem
}

.course-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: .35rem;
    border-bottom-left-radius: .75rem;
    border-bottom-right-radius: .75rem;
    background: linear-gradient(90deg,var(--aa-green) calc(var(--pct)*1%),#e9ecef 0)
}

/* ───────── ASSIGNMENTS — unchanged ───────── */
.assignment-item {
    padding: .6rem .5rem
}

    .assignment-item:hover {
        background: #f7f9fc
    }

.assignment-badge {
    min-width: 4.5rem
}

/* ───────── NOTIFICATIONS — unchanged ───────── */
.scroll-box {
    max-height: 320px;
    overflow-y: auto !important;
    overflow-x: hidden;
}

.notif-item {
    border: 1px solid #e0e2e5;
    border-radius: .5rem;
    padding: .5rem .75rem;
    margin-bottom: .75rem
}

    .notif-item.unread {
        background: #fffbea
    }

/* ───────── TASKS ───────── */
.tasks-item {
    padding: .6rem 1rem;
    border-bottom: 1px solid #e0e2e5;
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .tasks-item:last-child {
        border-bottom: none
    }

.task-status {
    white-space: nowrap
}

.btn-task {
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.margin-left-05 {
    margin-left: 0.5rem;
}
/* NEW: high-contrast task badge */
.badge-task {
    font-size: .85rem;
    font-weight: 600;
    padding: .35em .7em;
    background: #e6f0ff; /* light blue background */
    color: #0B4778; /* darker blue text for WCAG AA contrast (4.5:1) */
    border: 1px solid #b6d1ff; /* subtle outline */
    border-radius: .75rem;
}

/* ───────── RESPONSIVE ORDER HELPERS ───────── */
@media (max-width:991.98px) {
    .order-mob-1 {
        order: 1
    }

    .order-mob-2 {
        order: 2
    }

    .order-mob-3 {
        order: 3
    }

    .order-mob-4 {
        order: 4
    }

    .order-mob-5 {
        order: 5
    }
}

@media (max-width: 767.98px) { /* Bootstrap's mobile breakpoint */
    .menu-label {
        display: none !important;
    }
}
.sidebar.collapsed .menu-label {
    display: none !important;
}
#sidebarCol.overlay .menu-label {
    display: block !important;
}
.help-content {
    max-height: 450px;
    overflow-y: auto;
}
/* Custom Bootstrap half-column classes */

.col-0-5 {
    flex: 0 0 4.16666667%;
    max-width: 4.16666667%;
}

.col-11-5 {
    flex: 0 0 95.83333333%;
    max-width: 95.83333333%;
}

.help-content h6 {
    margin-top: 0;
    margin-bottom: .75rem;
    color: #2a5d7d !important;
    font-size: 1.25em;
    border-bottom: 1px solid #ddd;
    padding-bottom: .25rem;
}

.help-content strong {
    color: #0056b3 !important;
}
/* Overlay sidebar styling */
@media (max-width: 991.98px) { /* Bootstrap md and below */
    #sidebarCol.overlay {
        position: fixed;
        top: 150px;
        left: 0;
        height: 90vh;
        width: 80vw; /* Adjust as needed */
        max-width: 250px;
        background: #fff;
        z-index: 1050;
        box-shadow: 8px 0 24px rgba(0,0,0,.18);
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        border-right: 1px solid #eee;
        overflow-y: auto;
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        transform: translateX(0);
        display: block !important;
    }

    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.2);
        z-index: 1040;
        opacity: 1;
    }
}
.help-content p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.help-content ul {
    list-style: disc inside;
    margin-bottom: 1rem;
    padding-left: 0;
}

.help-content li {
    margin-bottom: .75rem;
    line-height: 1.4;
}
.item-aging{
    white-space:nowrap;
}

.nested-list {
    margin-left: 1.5rem;
    list-style-type: circle;
}

    .nested-list li {
        margin-bottom: .5rem;
    }

/* Add horizontal line above the first item in course template search results */
#course-catalog .usa-table--bordered tbody tr:first-child,
#course-catalog table.dataTable.usa-table--bordered tbody tr:first-child {
    border-top: 1px solid #e5e7eb !important;
}

/* Add horizontal line above the first item in course offering search results */
#course-offerings .usa-table--bordered tbody tr:first-child,
#course-offerings table.dataTable.usa-table--bordered tbody tr:first-child {
    border-top: 1px solid #e5e7eb !important;
}



