
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #88898c;
    text-align: left;
    background-color: transparent;
    /*background: linear-gradient(0deg,#83a6c2,#FFF);*/
}

/* Full-height layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Flex container for entire page */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content grows to fill space */
.content {
    flex: 1;
}

/* Footer style */
.footer-hydrite {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0px 12px;
    font-size: 16px;
    color: white;
    background-color: #2d2d2d;
}

body.print {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #88898c;
    text-align: left;
    background-color: #fff;
    /*background: linear-gradient(0deg,#83a6c2,#FFF);*/
}

/*#IndexDiv {
    background-image: url("../images/istock-505169324.webp");
}*/

.validation-summary-errors ul {
    padding-left: 0;
    list-style: none;
    font-weight: bolder;
    font-size: larger;
    margin-bottom: 0px;
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

.loginContainer {
    padding: 10px 10px 3px 10px;
}

.logoImage {
    padding: 10px 10px 3px 130px;
}

.invalidUsernamePswd {
    padding-left: 130px;
}

#IndexDiv {
    background-image: url(/images/Monitor_Transparent.png);
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    height: 20vh;
    width: 101%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-left: 10%;
    margin-top: -3%;
}

.content h3 {
    color: black; /* Or white, depending on your image */
    z-index: 2;
}

.loginHeader {
    background-color: #2d2d2d;
    color: white;
    padding: 6px 42px 7px 130px;
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
}

.pageHeader {
    background-color: #2d2d2d;
    color: white;
    padding: 6px 42px 7px 146px;
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
}

.welcomeTxt {
    padding-top: 7px;
    padding-bottom: 50px;
    text-align: left; /* ?? Moves text to the left */
    padding-left: 147px;
    font-weight: bolder;
    font-size: 1.5rem;
}

.logo {
    max-height: 40px;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        align-items: flex-start !important;
    }

        .navbar-nav .nav-item {
            text-align: left;
            padding: 0.5rem 1rem;
            width: 100%;
        }

        .navbar-nav .nav-link {
            display: block;
            gap: 1.5rem;
        }
}

.logoutBtn {
    border: none;
    outline: none;
    box-shadow: none;
    background-color: transparent;
}

.reportViewer {
    margin-left: 135px;
}

.navList {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* optional spacing between items */
}

    .navList a,
    .dropdown-menu a {
        text-decoration: none;
        color: rgb(0,0,0,0.55);
    }

    .navList button,
    .dropdown-menu button {
        text-decoration: none;
        color: rgb(0,0,0,0.55);
    }

    .navList a:hover,
    .navList a:focus,
    .navList a:active {
        color: rgb(0,0,0,0.7);
    }

    .navList button:hover {
        color: rgb(0,0,0,0.7);
    }

.loginBtn {
    color: white;
    background-color: #dc3545;
    border-radius: 4px;
    border: none;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
}

.main-header {
    transition: margin-left .3s ease-in-out;
    margin-left: 250px;
    background-color: #5C95FF;
    color: #2f5597;
}

    .main-header.navbar {
        padding-left: 0px;
        color: #2f5597;
    }

    .main-header div.container-fluid {
        padding-left: 0px;
    }

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    color: #2f5597;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}



/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.wrapper {
    position: relative;
    background-color: #ededed;
}

    .wrapper .content-wrapper {
        min-height: calc(100vh - calc(4.1rem + 1px) - calc(4.1rem + 1px));
    }

.main-footer {
    background: #fff;
    border-top: 1px solid #dee2e6;
    color: #869099;
    padding: 1rem;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 999;
    background: #5C95FF;
    color: #f8f9fa;
    font-weight: 600;
    transition: all 0.3s;
    overflow-y: hidden;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

    #sidebar.active {
        left: 0;
    }

#sidebarCollapse {
    width: 40px;
    height: 40px;
    /*background: #000;*/
    color: #f8f9fa;
    cursor: pointer;
}

#sidebar .sidebar-header {
    padding: 10px;
    background: #002469;
    font-weight: 600;
    font-size: x-large;
}

    #sidebar .sidebar-header img {
        /*        width: 40px;
        height: 40px;*/
        margin: 0px 2px 0px 2px;
    }

    #sidebar .sidebar-header a {
        color: #f8f9fa;
    }

#sidebar .info {
    margin: 0px 0px 0px 10px;
    text-align: center;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #f8f9fa;
}

#sidebar ul p {
    color: #f8f9fa;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    display: block;
    color: #f8f9fa;
}

    #sidebar ul li a:hover {
        background-color: rgba(255,255,255,.1);
        color: #fff;
    }

a[data-bs-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle.tree-menu-header::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

a.download {
    background: #fff;
    color: #7386D5;
}

.elevation-4 {
    box-shadow: 0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22) !important;
}

[class*=sidebar-dark-] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item:hover > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-link:focus {
    background-color: rgba(255,255,255,.1);
    color: #fff;
}

/* ---------------------------------------------------
    FORM SPECIFIC STYLES
----------------------------------------------------- */
.form-label {
    margin-top: 0.5rem;
    margin-bottom: 0rem;
}

span.required {
    color: red;
}

/* ---------------------------------------------------
    CARD SPECIFIC STYLES
----------------------------------------------------- */

.card-header {
    color: #f8f9fa;
    font-weight: 600;
    text-align: center;
    background-color: #002469;
}

.card-body {
    background-image: linear-gradient(0deg,#83a6c2,#FFF);
}

/* ---------------------------------------------------
    NEW MENU STYLE
----------------------------------------------------- */

#AdminTree span {
    padding-left: 0.2rem;
}

.menu {
    padding: 0;
    margin: 0;
    position: relative;
    list-style: none;
    display: flex;
}

    .menu.vertical {
        flex-wrap: nowrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
    }

    .menu.nested {
        margin-right: 0;
        margin-left: 1.5rem;
    }

    .menu .is-active > a {
        background-color: rgba(255,255,255,.1);
        color: #fff !important;
    }

.dropdown-toggle::after {
    transform: rotate(0deg);
}

.dropdown-toggle.collapsed::after {
    transform: rotate(90deg);
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    /*min-height: 100vh;*/
    transition: all 0.3s;
    position: absolute;
    /*top: 0;*/
    right: 0;
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 0rem !important;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-header {
        transition: margin-left .3s ease-in-out;
        margin-left: 250px;
    }
}

@media (max-width: 991.98px) {
    #sidebarCollapse.nav-link {
        margin-left: 250px;
    }

        #sidebarCollapse.nav-link.active {
            margin-left: 0px;
        }

    body:not(.sidebar-mini-md), .content-wrapper, body:not(.sidebar-mini-md) .content-wrapper::before, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-footer::before, body:not(.sidebar-mini-md) .main-header, body:not(.sidebar-mini-md) .main-header::before {
        margin-left: 0;
    }
}

/*.card-header {
    background-color: black;
    font-weight: bolder;
    text-align:center;
    color:white;
}*/

/*Dashboard boxes*/
.small-box {
    border-radius: 0.25rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 20px;
    position: relative;
}

    .small-box > .inner {
        padding: 10px;
    }

    .small-box > .small-box-footer {
        background: rgba(0, 0, 0, 0.1);
        color: rgba(255, 255, 255, 0.8);
        display: block;
        padding: 3px 0;
        position: relative;
        text-align: center;
        text-decoration: none;
        z-index: 10;
    }

        .small-box > .small-box-footer:hover {
            background: rgba(0, 0, 0, 0.15);
            color: #ffffff;
        }

    .small-box h3 {
        font-size: 2.2rem;
        font-weight: bold;
        margin: 0 0 10px 0;
        padding: 0;
        white-space: nowrap;
    }

#notSetup {
    border-radius: 0.5rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    display: block;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px;
    position: relative;
}

/*PDF Styles*/
#pdfContainer {
    background-color: white;
}

/* Responsive navigation and logo */
@media (max-width: 768px) {
    .navList {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .logoImage {
        padding: 10px 10px 3px 10px; /* Reduce left padding for mobile */
        max-width: 150px;
        height: auto;
    }

    .loginHeader {
        padding: 6px 42px 7px 10px;
    }

    .invalidUsernamePswd {
        padding-left: 10px;
    }

    .pageHeader {
        padding: 6px 42px 7px 10px;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navList a,
    .navList button {
        display: block;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .nav-link.active {
        font-weight: bold;
        color: #0d6efd !important; /* Bootstrap primary color */
        border-bottom: 2px solid #0d6efd;
    }

    .loginBtn {
        color: white;
        background-color: #dc3545;
        border-radius: 4px;
        border: none;
        padding: 10px 20px; 
        font-size: 1rem;
        width: 100%; 
        height: 60px;
    }

    .loginBtn:hover {
        background-color: #bb2d3b;
    }
}
