html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

logoImgContainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.csmAvatar {
    width: 60%;
}

img.avatar {
    width: 70%;
    border-radius: 50%;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

.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;
}

body {
    margin-bottom: 50px;
    margin-top: 75px;
    display: flex;
}

.logo {
    padding: 20px 0 10px 0px;
}


.headertitle {
    padding: 20px 0 10px 15px;
    font: Verdana, Geneva, sans-serif;
    font-size: 20px;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: central;
    font-weight: bold;
    color: white !important;
    text-transform: capitalize;
    background-color: #2b7cb3 !important;
}

.popupheadertitle {
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: central;
    font-weight: bold;
    color: white !important;
    text-transform: capitalize;
    background-color: #2b7cb3 !important;
}

.footer {
    position: fixed !important;
    width: 100% !important;
    background-color: #2b7cb1 !important;
    color: white !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
    text-align: center !important;
    font-weight: bolder;
}

.navbar-fixed-top {
    border: 1px solid transparent;
    padding: 5px 0;
}

.dropdown-menu, .dropdown-submenu {
    background-color: #226997;
}

    .dropdown-menu li {
        position: relative;
    }

    .dropdown-item, .dropdown-menu > li > a {
        color: white;
    }

.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}

.navbar {
    z-index: 9999;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,1);
    font-weight: bolder;
}

.fix-header-top {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.loginbackground {
    background: #c1e5f5;
}


.btn-login {
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    padding: 0.75rem 1rem;
}

.loginHeader {
    font-weight: bold !important;
}

.nameBgColor {
    color: white !important;
}

a {
    cursor: pointer;
}

tr:hover td {
    background-color: #e9ecef;
    cursor: pointer
}

tr.row_selected td {
    background-color: #e9ecef !important;
}

.bg-blue {
    background-color: #d3e5ff !important
}

.innerDiv1 {
    float: left;
}

.innerDiv2 {
    float: left;
    clear: left;
}

.card-body {
    height: 400px !important;
    overflow: auto !important;
}

.loginCard-body {
    overflow: auto !important;
}

.errorPage {
    margin: 0;
    padding: 0;
    height: auto;
    width: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hidden {
    visibility: hidden;
    display: none;
}

.disable {
    pointer-events: none;
}

.enable {
    pointer-events: painted;
}

.paddingTop {
    padding-top: 15px;
}

.popup {
    border: 1px solid #2b7cb1;
    position: fixed;
    _position: absolute;
    z-index: 50000;
    background-color: #ffffff;
    min-width: 350px;
    display: none;
}

#popup_back {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: silver;
    top: 0;
    left: 0;
    filter: alpha(opacity=75);
    opacity: 0.75;
}

.fieldtitle {
    text-align: right;
    font: 14px Arial;
    color: #000000;
    padding-bottom: 6px;
    padding-left: 3px;
    padding-right: 6px;
    padding-top: 6px;
    background-color: #f3fbfe;
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
    border-top: 1px solid #e9e9e9;
}

/*Start elements for the body content of form pages */
.formtable table {
    width: 100%;
    margin: 0px 0;
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
    border-top: 1px solid #e9e9e9;
}

.formtable th {
    text-align: left;
    padding: 10px 5px;
    border: 1px solid #000000;
    background-color: #e9e9e9;
    color: #7c7c7c;
    font: Verdana, Geneva, sans-serif;
    font-size: 12px;
}

.formtable td {
    border: 1px solid #e9e9e9;
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px #e9e9e9;
    padding: 4px 4px 4px 4px; /* top right bottom left */
    color: #7c7c7c;
    font-size: 13px;
    vertical-align: middle;
}

@media print {
    .noprint {
        display: none !important;
    }
}

fieldset, legend {
    all: revert;
}

.blankLink {
    text-decoration: none;
    color: #000;
}

fieldset {
    border: 2px solid;
    border-radius: 10px;
    margin: 10px 10px 3px 3px;
}

legend {
    border-radius: 10px;
    box-shadow: 0 0 0 1px;
    background-color: inherit;
}

    legend h5 {
        font-weight: bold !important;
        margin-left: 5px;
    }

.loginContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loginContainerAdj {
    width: 500px;
    height: 75%;
}

.rcorners {
    border-radius: 20px;
    background: white;
    padding: 20px;
}

.innerrcorners {
    border: 1px solid #749cba;
}

.rounded {
    border-radius: 20%;
    background-color: #04AA6D;
    border: none;
    color: white;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 40%;
}

.logoImgContainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.csmAvatar {
    width: 60%;
}

.centercontainer {
    position: relative;
    margin: auto;
    padding-top: 100px;
}


.btn3d {
    position: relative;
    top: -6px;
    border: 0;
    transition: all 40ms linear;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
}

    .btn3d:active:focus,
    .btn3d:focus:hover,
    .btn3d:focus {
        -moz-outline-style: none;
        outline: medium none;
    }

    .btn3d:active,
    .btn3d.active {
        top: 2px;
    }

    .btn3d.btn-white {
        color: #666666;
        box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #f5f5f5, 0 8px 8px 1px rgba(0, 0, 0, .2);
        background-color: #fff;
    }

        .btn3d.btn-white:active,
        .btn3d.btn-white.active {
            color: #666666;
            box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
            background-color: #fff;
        }

    .btn3d.btn-default {
        color: #666666;
        box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #BEBEBE, 0 8px 8px 1px rgba(0, 0, 0, .2);
        background-color: #f9f9f9;
    }

        .btn3d.btn-default:active,
        .btn3d.btn-default.active {
            color: #666666;
            box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
            background-color: #f9f9f9;
        }

    .btn3d.btn-primary {
        box-shadow: 0 0 0 1px #417fbd inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #4D5BBE, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #4274D7;
    }

        .btn3d.btn-primary:active,
        .btn3d.btn-primary.active {
            box-shadow: 0 0 0 1px #417fbd inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #4274D7;
        }

    .btn3d.btn-success {
        box-shadow: 0 0 0 1px #31c300 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #5eb924, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #78d739;
    }

        .btn3d.btn-success:active,
        .btn3d.btn-success.active {
            box-shadow: 0 0 0 1px #30cd00 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #78d739;
        }

    .btn3d.btn-info {
        box-shadow: 0 0 0 1px #00a5c3 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #348FD2, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #39B3D7;
    }

        .btn3d.btn-info:active,
        .btn3d.btn-info.active {
            box-shadow: 0 0 0 1px #00a5c3 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #39B3D7;
        }

    .btn3d.btn-warning {
        box-shadow: 0 0 0 1px #d79a47 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #D79A34, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #FEAF20;
    }

        .btn3d.btn-warning:active,
        .btn3d.btn-warning.active {
            box-shadow: 0 0 0 1px #d79a47 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #FEAF20;
        }

    .btn3d.btn-danger {
        box-shadow: 0 0 0 1px #b93802 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #AA0000, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #D73814;
    }

        .btn3d.btn-danger:active,
        .btn3d.btn-danger.active {
            box-shadow: 0 0 0 1px #b93802 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #D73814;
        }

    .btn3d.btn-magick {
        color: #fff;
        box-shadow: 0 0 0 1px #9a00cd inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #9823d5, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #bb39d7;
    }

        .btn3d.btn-magick:active,
        .btn3d.btn-magick.active {
            box-shadow: 0 0 0 1px #9a00cd inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #bb39d7;
        }

fieldset {
    border: 1px solid #749cba;
}

select.minimal {
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

    select.minimal:focus {
        background-image: linear-gradient(45deg, green 50%, transparent 50%), linear-gradient(135deg, transparent 50%, green 50%), linear-gradient(to right, #ccc, #ccc);
        background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em;
        background-size: 5px 5px, 5px 5px, 1px 1.5em;
        background-repeat: no-repeat;
        border-color: green;
        outline: 0;
    }

.bg-danger {
    margin-left: 10px !important;
    margin-top: 2px !important;
}

td.details-control {
    background: url('http://www.datatables.net/examples/resources/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('http://www.datatables.net/examples/resources/details_close.png') no-repeat center center;
}

.dt-search {
    float: right !important;
}

.dt-paging {
    text-align: right !important;
}

.paging_full_numbers {
    text-align: right !important;
}

.exportButtons {
    text-align: right !important;
}

.top-0 {
    margin-top: 5px !important;
    margin-left: 13px !important;
}

.top-1 {
    margin-top: 5px !important;
    margin-left: 12px !important;
}

table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td {
    padding: 5px 5px !important;
    border: 1px solid #749cba;
}

tbody, td, tfoot, th, thead, tr {
    padding: 5px 5px !important;
    border: 1px solid #749cba;
}

.dt-search {
    padding-bottom: 5px !important;
}

.reportHeader {
    height: 42px;
}

.signIn {
    margin: 20px 0px 8px;
    text-align: center;
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
    color: rgb(51, 51, 51);
}

#emailAlert {
    display: none;
    color: green;
    font-size: 14px;
}

.pwa-install-banner {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding: 1rem;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
#pwaBanner {
    display: none !important; /* Ensure hidden unless explicitly shown */
}
.form-check-label,
.form-check-input {
    cursor: pointer;
}

/* Override Notyf container styles */
.notyf__toast {
    max-width: fit-content !important; /* Auto size to fit content */
    width: auto !important;
}

.notyf__wrapper {
    white-space: nowrap; /* Prevent text wrapping */
}

.notyf__message {
    font-size: 16px;
}

/* Type-specific styles */
.notyf__warning {
    background-color: #FF9800; /* Orange */
}

.notyf__info {
    background-color: #2196F3; /* Blue */
}

.notyf__question {
    background-color: #2196F3; /* Blue */
}

/* Shared base style for custom types */
.notyf__custom {
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}