@import "../components/navbar/navbar-dropdowns.css";
@import "../components/sidebar/sidebar-default.css";
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
body,
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
p,
a,
td {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.arial-numbers {
    font-family: Arial, sans-serif !important;
}

@media (max-width: 768px) {
    footer {
        display: none;
    }
}

body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f4f6fa 0%, #e9ecef 100%);
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    color: #444;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading-text {
    color: white;
    font-size: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    color: #ee6930;
    font-size: 24px;
    font-weight: 500;
}

.card-header {
    font-weight: 600;
}

.btn-primary {
    background: rgba(238, 105, 48, 0.7) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600 !important;
    --bs-btn-border-color: rgba(238, 105, 48, 0.7) !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(238, 105, 48, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 105, 48, 0.3);
}

.navbar-brand img {
    width: 10%;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    overflow-x: hidden
}

#body {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    transition: all 0.3s;
}


/*------------------------------------------------------------------
[2. Header / #header]
*/

#body>.navbar {
    padding: 0 1.5rem;
    min-height: 54px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}


/*------------------------------------------------------------------
[3. Navigation / #navbar] - see /components/navbar/navbar-dropdown.css
*/

.default-light-menu {
    border: none !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
    color: #fff;
}

.default-light-menu:hover {
    background: #2196F3 !important;
    color: #fff;
}


/*------------------------------------------------------------------
[4. Content / #content]
*/

#body>.content {
    position: relative;
    padding: .5rem;
}

#body .content .page-title h3 {
    margin: 1rem 0;
}

.page-header {
    margin-top: 1.25rem;
}

.page-pretitle {
    font-size: .8rem;
    text-transform: uppercase;
    line-height: 1.6;
    color: #656d77;
}

.page-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.5555556;
}

.detail-subtitle {
    font-size: .8rem;
    text-transform: uppercase;
    line-height: 1.6;
}


/*------------------------------------------------------------------
[5. Sidebar / #sidebar] - see /components/sidebar/sidebar-default.css
*/


/*------------------------------------------------------------------
[6. Boxes / .box] 
*/

.box {
    position: relative;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
}

.box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

.box-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
}

.box-footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top: 1px solid #f4f4f4;
    padding: 10px 20px;
    background-color: #FAFAFA;
    text-align: right;
}

.box-primary {
    border-top-color: #22a1f9;
}


/*------------------------------------------------------------------
[7. Dashboard Cards / .card] 
*/

.card {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
}


.card .content {
    padding: 15px 15px 10px 15px;
}

.card .content .icon-big {
    font-size: 3em;
    min-height: 64px;
    line-height: 64px;
}

.card .content .number {
    font-size: 1.5em;
    text-align: right;
    font-weight: bolder;
}

.card .content .footer {
    background-attachment: fixed;
    position: relative;
    padding: 0;
    line-height: 30px;
}

.card .content .stats {
    display: inline-block;
    color: #a9a9a9;
}


/*------------------------------------------------------------------
[8. Miscellaneous ] 
*/

.line {
    border-bottom: 1px solid #E0E0E0;
}

.nav-pills {
    padding: 15px;
    background: rgba(224, 224, 224, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 8px;
}

.btn-rounded {
    border-radius: 10em;
    padding: 6px 8px;
    font-size: small;
    text-transform: none;
    text-shadow: none !important;
    background: rgba(234, 234, 234, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-rounded:hover {
    background: rgba(234, 234, 234, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#myTab {
    margin-bottom: 15px;
}

.no-margin {
    margin: 0;
}

.dfd {
    width: 100%;
}

.bg-lighter-grey {
    background: #FAFAFA;
}


/*------------------------------------------------------------------
[9. Adjustments to default behaviors] 
*/

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.btn.focus,
.btn:focus {
    box-shadow: none;
}

.btn.btn-square {
    border-radius: 0;
}

.table td,
.table th {
    vertical-align: middle;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after {
    font-size: .8rem;
    bottom: .9rem;
}

.dataTables_info {
    visibility: hidden;
}

table.dataTable>tbody>tr.child ul.dtr-details {
    display: block;
}

.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-item {
    margin-bottom: 0px;
}

.nav-tabs .nav-link {
    border: none;
    -webkit-transition: color .1s ease;
    transition: color .1s ease;
    color: inherit;
}

.nav-link {
    font-weight: 600 !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #007bff;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid #22a1f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tab-content {
    padding: 15px;
}

.svg-inline--fa {
    min-width: 15px;
}

.display-absolute {
    position: absolute;
}

.large-icon {
    font-size: 3em;
}

.license span {
    margin-bottom: 1em;
}


/*------------------------------------------------------------------
[10. Colors / .teal, .olive, .violet, .orange, .darkgray, .blue, .grey] 
*/

.teal {
    color: #00b5ad !important;
}

.olive {
    color: #b5cc18 !important;
}

.violet {
    color: #6435c9 !important;
}

.orange {
    color: #f2711c !important;
}

.darkgray {
    color: darkgray !important;
}

.blue {
    color: #2185d0 !important;
}

.grey {
    color: #767676 !important;
}


/*------------------------------------------------------------------
[11. Responsive properties] 
*/

@media (max-width: 768px) {
    .display-absolute {
        position: relative;
    }
}

@media (max-width: 680px) {
    #body.active .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .nav-dropdown .nav-link-menu {
        position: fixed !important;
        top: 52px !important;
        width: 100% !important;
        margin-top: 0;
    }
    .nav-dropdown .nav-link {
        padding: 10px;
    }
    .nav-dropdown .nav-link-menu::before {
        right: 50%;
    }
    #body .navbar-collapse {
        display: none !important;
    }
    #body .nav-dropdown .nav-item span {
        display: none !important;
    }
    .btn-header {
        display: none;
    }
}

@media (min-width: 200px) {
    .navbar-expand-lg .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .navbar-expand-lg .navbar-nav {
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

/*#app {
    display: flex;
    min-height: 100vh;
}
*/

#sidebar ul li a {
    color: white;
}
#sidebar ul ul a {
font-size: 1rem;
background:#EE6930;
}
#sidebar,
.sidebar {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    background-color: #3E8B69;
    color: #ecf0f1;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: width 0.3s ease !important, min-width 0.3s ease !important, max-width 0.3s ease !important;
}
#sidebar:hover,
.sidebar:hover {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
}
#sidebar.expanded,
.sidebar.expanded {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
}
.sidebar-header {
    padding: 20px;
    background-color: #3E8B69;
    border-bottom: 1px solid #333333;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-header img {
    width: 50px;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s;
    filter: brightness(0) invert(1);
}
.sidebar:hover .sidebar-header,
.sidebar.expanded .sidebar-header {
    justify-content: flex-start;
}
.sidebar:hover .sidebar-header img,
.sidebar.expanded .sidebar-header img {
    width: 100%;
    max-width: 150px;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-menu li {
    border-bottom: 1px solid #333333;
}
.sidebar-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    color: #ecf0f1;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
    overflow: hidden;
}
.sidebar:hover .sidebar-menu a,
.sidebar.expanded .sidebar-menu a {
    justify-content: flex-start;
}
.sidebar-menu a i {
    min-width: 20px;
    text-align: center;
    margin-right: 0;
    font-size: 20px;
}
.sidebar:hover .sidebar-menu a i,
.sidebar.expanded .sidebar-menu a i {
    margin-right: 10px;
}
.sidebar-menu a span {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s, width 0.3s;
    pointer-events: none;
}
.sidebar:hover .sidebar-menu a span,
.sidebar.expanded .sidebar-menu a span {
    opacity: 1;
    width: auto;
    pointer-events: auto;
}
.sidebar-menu a:hover {
    background-color: #333333;
    color: #fff;
}
.sidebar-menu a.active {
    background-color: #3498db;
    color: #fff;
}
.sidebar-menu .dropdown-toggle::after {
    float: right;
    margin-top: 8px;
}
.sidebar-menu .dropdown-menu {
    background-color: #3E8B69;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    position: static !important;
    transform: none !important;
    display: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.sidebar-menu .dropdown-menu.show {
    display: block;
    max-height: 1000px;
}
.sidebar:hover .sidebar-menu .dropdown-menu.show,
.sidebar.expanded .sidebar-menu .dropdown-menu.show {
    display: block;
}
.sidebar-menu .dropdown-menu a {
    padding: 12px 20px 12px 40px;
    color: #bdc3c7;
    font-size: 0.9em;
}
.sidebar-menu .dropdown-menu a:hover {
    background-color: #333333;
    color: #fff;
}
.sidebar-menu .dropdown-toggle[aria-expanded="true"] {
    background-color: #333333;
}
.sidebar-menu .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    display: block;
}
.main-content {
    margin-left: 70px;
    flex: 1;
    width: calc(100% - 70px);
    transition: margin-left 0.3s ease, width 0.3s ease;
}
.sidebar:hover ~ .main-content,
.sidebar.expanded ~ .main-content {
    margin-left: 260px;
    width: calc(100% - 260px);
}
.main-content .top-navbar {
    display: none;
}
.top-navbar {
    background-color: #3E8B69;
    border-bottom: 1px solid #333333;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}
.top-navbar .user-menu {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s, width 0.3s;
    pointer-events: none;
}
.sidebar:hover .top-navbar .user-menu,
.sidebar.expanded .top-navbar .user-menu {
    opacity: 1;
    width: auto;
    pointer-events: auto;
}
.top-navbar .user-menu .dropdown-toggle {
    color: #ecf0f1;
    white-space: nowrap;
}
.top-navbar .user-menu .dropdown-toggle span {
    opacity: 0;
    transition: opacity 0.3s;
}
.sidebar:hover .top-navbar .user-menu .dropdown-toggle span,
.sidebar.expanded .top-navbar .user-menu .dropdown-toggle span {
    opacity: 1;
}
.top-navbar .user-menu .dropdown-toggle::after {
    content: attr(data-title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 15px;
    background-color: #3E8B69;
    color: #ecf0f1;
    padding: 8px 15px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1001;
    border: 1px solid #333333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.top-navbar .user-menu {
    display: flex;
    align-items: center;
}
.top-navbar .user-menu .dropdown-toggle {
    color: #ecf0f1;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.top-navbar .user-menu .dropdown-toggle:hover {
    background-color: #333333;
}
.top-navbar .dropdown-menu {
    background-color: #3E8B69;
    border: 1px solid #333333;
}
.top-navbar .dropdown-menu .dropdown-item {
    color: #ecf0f1;
}
.top-navbar .dropdown-menu .dropdown-item:hover {
    background-color: #333333;
    color: #fff;
}
.content-wrapper {
    padding: 0px;
}
.sidebar-toggle {
    display: block;
    background: none;
    border: none;
    color: #ecf0f1;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    margin-right: 10px;
}
.sidebar-toggle:hover {
    color: #fff;
}
.pin-toggle {
    display: none;
    background: none;
    border: none;
    color: #ecf0f1;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
}
.sidebar:hover .pin-toggle,
.sidebar.expanded .pin-toggle {
    display: block;
}
.pin-toggle:hover {
    color: #fff;
}
.pin-toggle.pinned {
    color: #3498db;
}
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background-color: #3E8B69;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.mobile-menu-toggle:hover {
    background-color: #2d6a4f;
}
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 260px !important;
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
    .sidebar-toggle {
        display: block;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .top-navbar {
        padding-top: 60px;
    }
}