﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial, Calibri, 'Bookman Old Style', sans-serif;
    color: #fff;
    font-size: 14px;
}

.login-body {
    height: 100vh;
    font-family: Arial, Calibri, 'Bookman Old Style', sans-serif;
    background: linear-gradient(to bottom, #4b6cb7, #182848);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}


.container {
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.login-card {
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.card-img-left {
    object-fit: cover;
    height: 100%;
    border-radius: 2rem 0 0 2rem;
}

.btn {
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-gradient {
    /*background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);*/
    background: linear-gradient(90deg, #3e1bbb 0%, #8727a2 100%);
    border: none;
    border-radius: 2rem;
    color: #fff;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

/**=========== Layout css start ============== **/
/*.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00AFD8;
    padding: 15px 40px;
    color: #000;
    flex-wrap: wrap;
}*/

.top-bar {
    width: 100%;
    background: linear-gradient(to bottom, #4b6cb7, #182848);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    color: #fff;
}

.user-label {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
}

.top-left h1 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
}

.top-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.top-right a {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.top-right a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;        
    }

    .top-left h1 {
        font-size: 18px;
    }

    .top-right {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .top-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

.top-buttons a {
    margin-left: 10px;
    background-color: #0288d1;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar .title {
    font-size: 20px;
    font-weight: bold;
    color: black;
    margin-left: 10px;
}

.top-bar .menu-buttons button {
    border-radius: 20px;
    margin-left: 10px;
}

.main-content {
    flex: 1;
    /*padding: 40px 20px;*/
    overflow-y: auto;
}

.dashboard-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-height: calc(100vh - 60px);*/
    padding: 20px;
    box-sizing: border-box;
}

.menu-panel {
    /* background: rgba(255, 255, 255, 0.2);
    padding: 50px;
    border-radius: 20px;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;*/
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 1000px;
    margin: auto;
    width: 100%;
    box-sizing: border-box;
}

.menu-card {
    background: linear-gradient(to bottom, #4b6cb7, #182848);
    border-radius: 12px;
    text-align: center;
    padding: 16px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.menu-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 6px;
    object-fit: contain;    
}

.menu-card-label {
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
    color: #fff;
}

.menu-item {
    text-align: center;
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease;
}

.menu-item:hover {
    transform: scale(1.05);
}


@media (max-width: 400px) {
    .menu-panel {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
        gap: 10px;
    }

    .menu-card {
        padding: 10px;
    }

    .menu-card-icon {
        width: 30px;
        height: 30px;
    }

    .menu-card-label {
        font-size: 11px;
    }
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.85);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

/**=========== Layout css end ============== **/
.page-content {
   /* padding-top: 10px;*/
    width: 100%;
}

.fade-in-up {
    -webkit-animation: fadeInUp .5s;
    animation: fadeInUp .5s;
}

/**====== ibox css start ======**/

.ibox {
    position: relative;
    margin-bottom: 25px;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.ibox .ibox-head {
    padding: 0 20px;
    border-bottom: 1px solid #eee;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: auto;
    height: auto;
}

.ibox .ibox-head .ibox-title {
    font-size: 16px;
    font-weight: 600;
}

.ibox .ibox-head .ibox-title small {
    font-weight: 400;
    font-size: 13px;
    color: #777;
}

.ibox .ibox-head .ibox-title small a {
    color: inherit;
}

.ibox .ibox-head .ibox-tools {
    position: relative;
}

.ibox .ibox-head .ibox-tools > a {
    color: #aaa;
    font-size: 14px;
    padding: 0 6px;
}

.ibox .ibox-head .ibox-tools > a:hover {
    color: #6d7c85;
}

.ibox .ibox-head .nav-tabs {
    margin: 0;
    border: 0;
    height: 100%;
}

.ibox .ibox-head .nav-tabs .nav-link {
    height: 100%;
    padding: .9rem 1rem;
}

.ibox .ibox-body {
    padding: 15px 20px 20px 20px;
}

.ibox .ibox-footer {
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.ibox.ibox-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 1005;
}

.ibox.ibox-fullscreen .fullscreen-link > i::before {
    content: "\f066";
}

.ibox.collapsed-mode .ibox-collapse > i::before {
    content: "\f067";
}

.ibox-primary .ibox-head {
    color: #fff;
    /*background-color: #3498db;*/
    background: linear-gradient(to bottom, #4b6cb7, #182848);
}

.ibox-primary .ibox-head .ibox-tools > a, .ibox-primary .ibox-head .ibox-tools > a:hover {
    color: #fff;
}

.ibox-primary1 .ibox-head {
    color: #fff;
    background-color: #3498db;
}

.ibox-primary1 .ibox-head .ibox-tools > a, .ibox-primary .ibox-head .ibox-tools > a:hover {
    color: #fff;
}

.ibox-success .ibox-head {
    color: #fff;
    background-color: #2ecc71;
}

.ibox-success .ibox-head .ibox-tools > a, .ibox-success .ibox-head .ibox-tools > a:hover {
    color: #fff;
}

.ibox-info .ibox-head {
    color: #fff;
    background-color: #23B7E5;
}

.ibox-info .ibox-head .ibox-tools > a, .ibox-info .ibox-head .ibox-tools > a:hover {
    color: #fff;
}

.ibox-warning .ibox-head {
    color: #fff;
    background-color: #F39C12;
}

.ibox-warning .ibox-head .ibox-tools > a, .ibox-warning .ibox-head .ibox-tools > a:hover {
    color: #fff;
}

.ibox-danger .ibox-head {
    color: #fff;
    background-color: #e74c3c;
}

.ibox-danger .ibox-head .ibox-tools > a, .ibox-danger .ibox-head .ibox-tools > a:hover {
    color: #fff;
}

.ibox-grey .ibox-head {
    color: #fff;
    background-color: #bdc3c7;
}

.ibox-grey .ibox-head .ibox-tools > a, .ibox-grey .ibox-head .ibox-tools > a:hover {
    color: #fff;
}
body.fullscreen-mode {
    overflow-y: hidden;
}

/**====== ibox css end ======**/

.table-responsive {
    display: inline-block;
    width: 100%;
    overflow-x: auto;
}

.table > tbody > tr > th, .table > tbody > tr > td,
.table > tfoot > tr > th, .table > tfoot > tr > td {
    border-top: 1px solid #e8e8e8;
    font-size: 14px;
}

.table thead th {
    border-bottom: 1px solid #ddd !important;
    border-top: 0;
    font-weight: 700;
}

.table.no-border > tbody > tr > td, .table.no-border > thead > tr > th {
    border: 0 none !important;
}

.table-bordered {
    border: 1px solid #e8e8e8;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.04);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.table tr.success > td {
    background-color: #e0f7ea !important;
}

.table tr.info > td {
    background-color: #def4fb !important;
}

.table tr.warning > td {
    background-color: #fdf0db !important;
}

.table tr.danger > td {
    background-color: #fbe4e2 !important;
}

.pagination .page-link {
    color: inherit;
}

.pagination .page-link:hover, .pagination .page-link:focus {
    color: #3498db;
}

.pagination .page-item.active .page-link,
.pagination .active > a, .pagination .active > a:hover, .pagination .active > a:focus,
.pagination .active > span, .pagination .active > span:hover, .pagination .active > span:focus {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

/**====== Button-Size css start ======**/
.btn-xlg {
    padding: 14px 20px;
    font-size: 21px;
    line-height: 40px;
}

.btn-lg {
    padding: 12px 18px;
    font-size: 18px;
    line-height: 32px;
}

.btn-md {
    padding: 10px 16px;
    font-size: 15px;
    line-height: 23px;
}

.btn-sm {
    padding: 8px 14px;
    line-height: 16px;
    font-size: 11px;
}

.btn-mini {
    padding: 5px 10px;
    line-height: 14px;
    font-size: 10px;
}

/**====== Button-Size css end ======**/

.modal-dialog {
    z-index: 1100;
}


.modal-dialog .modal-content {
    border: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.14), 0 4px 5px 0 rgba(0, 0, 0, 0.098), 0 1px 10px 0 rgba(0, 0, 0, 0.084);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.14), 0 4px 5px 0 rgba(0, 0, 0, 0.098), 0 1px 10px 0 rgba(0, 0, 0, 0.084);
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}

.has-success .control-label, .has-success .col-form-label, .has-success .input-icon > i {
    color: #2ecc71;
}

.input-rounded {
    -webkit-border-radius: 200px;
    border-radius: 200px;
}

.input-group-addon {
    color: #5d6064;
    color: #71808f;
    -webkit-border-radius: 2px !important;
    border-radius: 2px !important;
}

.help-block {
    display: block;
    font-size: 13px;
    margin-bottom: 0;
    margin-top: 2px;
}

.input-group-icon {
    position: relative;
    color: #71808f;
}

    .input-group-icon .form-control {
        padding-left: 33px;
    }

    .input-group-icon .input-icon {
        position: absolute;
        left: 0;
        top: 0;
        height: 33px;
        line-height: 33px;
        width: 34px;
        text-align: center;
    }

    .input-group-icon.right .input-icon {
        right: 0;
        left: auto;
    }

    .input-group-icon.right .form-control {
        padding-left: 12px;
        padding-right: 33px;
    }

.has-success .form-control, .has-success .form-control:focus {
    border-color: #2ecc71;
}

.has-success .control-label, .has-success .col-form-label, .has-success .input-icon > i {
    color: #2ecc71;
}

.has-warning .form-control, .has-warning .form-control:focus {
    border-color: #F39C12;
}

.has-warning .control-label, .has-warning .col-form-label, .has-warning .input-icon > i {
    color: #F39C12;
}

.has-error .form-control, .has-error .form-control:focus {
    border-color: #e74c3c;
}
/*======= Session Timeout css start ======== */
#sessionTimeout-dialog .close {
    display: none;
}

/*====== Session Timeout css ends ======= */

.nav-pills, .nav-tabs {
    margin-bottom: 15px;
}
    
.nav-pills .nav-link, .nav-tabs .nav-link {
        color: inherit;
}

.nav-tabs .nav-link {
    -webkit-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;
    margin-right: 0;
    /*padding: .7rem 1rem;*/
}

.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus, .nav-tabs .nav-link.active {
    color: #333;
}

.tabs-line > li .nav-link {
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    border-bottom: 3px solid transparent;
}

.tabs-line > li .nav-link:hover {
    border-color: transparent;
    background-color: transparent;
    border-bottom-color: #cce5f6 !important;
}

.tabs-line > li .nav-link.active, .tabs-line > li .nav-link.active:hover, .tabs-line > li .nav-link.active:focus {
    border-color: transparent;
    border-bottom: 3px solid #52a7e0 !important;
}

.tabs-left, .tabs-right, .tabs-line-left, .tabs-line-right {
    border-bottom: 0;
}

.tabs-line-left {
    float: left;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: 20px;
}

.tabs-line-left > li > .nav-link, .tabs-line-left > li > .nav-link:focus {
    border-right: 1px solid #ddd;
}

.tabs-line-left > li > .nav-link:hover {
    border-color: transparent;
    border-right: 3px solid #caf0f2;
    padding-right: 13px;
    margin-right: -1px;
}

.tabs-line-left > li > .nav-link.active, .tabs-line-left > li > .nav-link.active:hover, .tabs-line-left > li > .nav-link.active:focus {
    border: 1px solid transparent;
    border-right: 3px solid #4ccdd3;
    padding-right: 13px;
    margin-right: -1px;
}

.tabs-line-right {
    float: right;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: 20px;
}

.tabs-line-right > li > .nav-link, .tabs-line-right > li > .nav-link:focus {
    border-left: 1px solid #ddd;
}

.tabs-line-right > li > .nav-link:hover {
    border-color: transparent;
    border-left: 3px solid #caf0f2;
    padding-left: 13px;
    margin-left: -1px;
}

.tabs-line-right > li > .nav-link.active, .tabs-line-right > li > .nav-link.active:hover, .tabs-line-right > li > .nav-link.active:focus {
    border: 1px solid transparent;
    border-left: 3px solid #4ccdd3;
    padding-left: 13px;
    margin-left: -1px;
}

.tabs-left {
    float: left;
    margin-right: 20px;
}

.tabs-left .nav-link {
    -webkit-border-radius: 2px 0 0 2px;
    border-radius: 2px 0 0 2px;
    margin-right: -1px;
    border-right: 1px solid #ddd;
}

.tabs-left .nav-link.active, .tabs-left .nav-link.active:hover, .tabs-left .nav-link.active:focus {
    border-color: #ddd transparent #ddd #ddd;
}

.tabs-right {
    float: right;
    margin-left: 20px;
}

.tabs-right .nav-link {
    -webkit-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
    margin-left: -1px;
    margin-right: 0;
    border-left: 1px solid #ddd;
}

.tabs-right .nav-link.active, .tabs-right .nav-link.active:hover, .tabs-right .nav-link.active:focus {
    border-color: #ddd #ddd #ddd transparent;
}

.tabs-below {
    margin-bottom: 0;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    border-bottom: 0;
}

.tabs-below .nav-item {
    margin-bottom: 0;
    margin-top: -1px;
}

.tabs-below .nav-link.active {
    border-color: transparent #ddd #ddd !important;
}

.nav-pills .nav-link.active, .nav-pills .nav-link.active:hover, .nav-pills .nav-link.active:focus {
    background-color: #2CC4CB !important;
    color: #fff;
}

.nav-pills .nav-link {
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
.chart-container {
    position: relative;
    width: 100%;
    height: 400px;
}

@media (max-width: 768px) {
    .chart-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .chart-container {
        height: 250px;
    }
}

.details-control::before {
    content: '+';
    cursor: pointer;
}

tr.shown .details-control::before {
    content: '-';
}
