* {
    box-sizing: border-box;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

input[data-autocompleted] {
    background-color: transparent !important;
}

.app {
    background-color: #f8f9fa;
    overflow: hidden;
}
.app>.wrapper{
    min-height: 100vh;
}

header.header.net-repor {
    background-color: #ffffff !important;
}


header.header.net-report .header-top {
    background: #d93025;
    color: #fff;
}

.filter-request {
    background: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
}

header .filter-request {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .filter-request .filter-label {
    margin-right: 15px
}

header .filter-request .filter-list {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.filter-request .filter-item,
.select-app {
    margin-right: 10px;
    cursor: pointer;
    border: 1px solid #dadce0;
    border-radius: 20px;
    background-color: #fff;
    color: #5f6368;
    padding: 5px 10px;
    position: relative;
}

td .select-app {
    width: 50px;
}

.filter-request .filter-item.active,
.select-app.active {
    border: 1px solid #e8f0fe !important;
    background-color: #e8f0fe !important;
    color: #1a73e8;
}

#reportrange {
    width: 100%;
    color: inherit;
}

#reportrange span {
    font-weight: 500;
    font-size: 13px;
}

.filter--btn {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background: transparent;
    color: inherit;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    max-width: 300px;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
}

.filter-popup.show {
    display: flex;
    flex-direction: column;
}

.filter-popup {
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
    width: 320px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    z-index: 555;
}

.popup-head {
    background-color: #1a73e8;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.popup-head .popup-title {
    font-size: 16px;
}

.popup-head .popup-close {
    background: none;
    color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
}

.popup-body {
    background-color: #fff;
    padding: 10px 20px;
    max-height: 400px;
    overflow-y: auto;
}

.popup-footer {
    background-color: #fff;
    padding: 10px 20px;
    color: #1a73e8;
    display: flex;
    align-items: inherit;
    justify-content: space-between;
}

.popup-footer .btn {
    color: inherit;
    font-weight: 500;
}

.popup-footer .btn-select-all,
.popup-footer .btn-destroy-all {
    margin-right: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.popup-footer .btn-select-all:hover,
.popup-footer .btn-destroy-all:hover {
    color: #fff !important;
}

/*----------- end header -------------- */
/* main report*/


.main-content {
    width: 100%;
    position: relative;
    /*overflow-x: auto;*/
    /*-ms-overflow-x: auto;*/
    height: inherit;
}

.main-content:not(.product) .table thead tr th:first-child {
    padding-left: 20px;
    min-width: 120px;
    max-width: 250px;
}

.main-content:not(.product) .table tbody tr td {
    min-width: 100px;
    vertical-align:middle;
}
.main-content .table tbody tr td {
    font-size: 13px;
    font-weight: 400;
}

.main-content:not(.product) .table tbody tr td:first-child {
    padding-left: 20px;
    max-width: 200px;
}

.main-content .table tr th {
    font-weight: 500;
    font-size: 14px;
}

.main-content .table thead tr th.col-dimension {
    border-bottom: 3px solid #81c784;
}

.main-content .table thead tr th.col-metric {
    border-bottom: 3px solid #7baaf7;
}

.spinner-wrap {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    transition: all linear 0.1s;
}

.spinner-center {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    -ms-transform: translate(50%, -50%);
}


.main-report {
    margin: 20px;
    padding: 10px 0;
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    position: relative;
}

/*---- data table ----*/
.dataTables_wrapper .bottom {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dataTables_wrapper .bottom .bt-right {
    display: flex;
    align-items: center;
}

div.dataTables_wrapper div.dataTables_info {
    padding: 0;
    margin-right: 10px;
}

/*--- admin ----*/

header.header.admin {
    padding: 20px;
    background: #2584e3;
    color: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
}

.header-text a {
    color: #fff;
    font-size: 28px;
    text-decoration: none;
}

span.account-display {
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 5px 10px;
    display: block;
    border: 1px solid;
    border-radius: 16px;
    cursor: pointer;
}

.header-account {
    position: relative;
}

.header-account:hover .acc-action-list:not(.sub-menu-content) {
    display: block;
}

ul.acc-action-list {
    position: absolute;
    top: 100%;
    right: 0;
    list-style: none;
    margin: 0;
    display: none;
    background: #ffffff;
    padding: 5px 0;
    border-radius: 8px;
    color: #000000;
    z-index: 11;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
}

ul.acc-action-list li {
    padding: 0 15px 5px;
}

ul.acc-action-list>li:hover>a{
    color: var(--bs-red);
}

ul.acc-action-list>li:hover i.fa-chevron-right{
    transform: rotate(90deg);
    transition: all linear 0.2s;
}

ul.acc-action-list li a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

ul.acc-action-list>li.sub-menu:hover .sub-menu-content {
    display: block;
}
.acc-action-list.sub-menu-content {
    display: none;
}


.app-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.dashboard-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.app-nav .nav-item {
    text-decoration: none;
    font-weight: 500;
    padding: 20px;
}
.app-nav .nav-item:last-child {
    margin-right: 0 !important;
}

.app-nav .nav-item:hover {
    color: #ffffff;
}

.section-wrap {
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    position: relative;
    padding: 10px;
}

.heading {
    font-size: 20px;
    margin: 0;
}

.form-label {
    font-weight: 500;
    color: #1a202c;
}

.password-group {
    position: relative;
}

.checkPass {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    cursor: pointer;
}

.checkPass i:last-child {
    display: none;
}

.checkPass.show i:last-child {
    display: block;
}

.checkPass.show i:first-child {
    display: none;
}

.form-action .btn {
    margin: 0 2px;
}

.form-action.store .btn-modify {
    display: none !important;
}

.form-action.update .btn-modify {
    display: block;
}

.form-action.update .btn-store {
    display: none;
}

.block-setting {
    position: relative;
}

.menu-setting {
    display: none;
    z-index: 22;
    position: absolute;
    top: 100%;
    right: 0;
    width: max-content;
}

.menu-setting ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 10px 20px;
    margin: 0;
}

.menu-setting.active {
    display: block;
}

.menu-setting ul li a {
    text-decoration: none;
    color: #1a202c;
    padding: 5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.menu-setting ul li:hover a {
    color: #1a73e8;
}

/* product report */
td.view-cost .show-format {
    display: block;
}

td.view-cost.editing .show-format {
    display: none;
}

td.view-cost.editing {
    padding: 0;
}

td.view-cost input.input-editing {
    display: none;
}

td.view-cost.editing input.input-editing {
    display: block !important;
    width: 100%;
    height: 100%;
}

.invalid .form-label {
    color: #d93025 !important;
}

.invalid .form-control {
    border-color: #d93025 !important;
}

.invalid .form-message {
    color: #d93025 !important;
    font-size: 14px !important;
}

ul.pagination li a {
    font-size: 16px;
    line-height: 16px;
}

.btn-save-report,
.btn-bg-currency {
    position: relative;
    overflow: hidden;
    outline: none !important;
    border: none !important;
}

.btn-bg-currency:hover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: currentColor;
    opacity: .1;
    display: block;
    border-radius: inherit;
    pointer-events: none;
}

.modal-body .form-label {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    color: var(--bs-primary);
}

.form-control.form-border-button {
    border-radius: inherit;
    border-width: 0 0 2px 0;
    transition: all linear .1s;
    padding: 2px 2px 5px 2px;
}

.form-control.form-border-button:focus {
    border-color: #1a73e8;
    outline: none !important;
    box-shadow: initial;
}
.btn-go-back {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 100%;
}

/* active sort */
table.dataTable thead .sorting.sorting_desc:before {
    content: unset !important;
}
table.dataTable thead .sorting.sorting_desc:after {
    content: "\f175" !important;
    top: 40% !important;
    opacity: 0.8 !important;
}

table.dataTable thead .sorting.sorting_asc:before {
    content: "\f176" !important;
    bottom: 40% !important;
    opacity: 0.8 !important;
}
table.dataTable thead .sorting.sorting_asc:after {
    content: unset !important;
}

/* default sort*/
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_desc:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f077" !important;
    color: #000000 !important;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078" !important;
    color: #000000 !important;
}
div.dataTables_wrapper div.dataTables_filter {
    width: 20%;
}
div.dataTables_wrapper div.dataTables_filter label {
    display: block;
    width: 100%;
    min-width: max-content;
}

div.dataTables_wrapper div.dataTables_filter input {
    width: 100%;
    min-width: max-content;
}

/* dropdown menu */


.input-search {
    padding: 5px 10px;
    border: none;
    outline: none;
    width: 100%;
}


.btn-filter-network {
    color: #5f6368;
}
.btn-filter-network.active {
    border: 1px solid #e8f0fe !important;
    background-color: #e8f0fe !important;
    color: #1a73e8;
}

.block-shadow {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
    background-color: #fff;
    box-sizing: border-box;
    margin: 16px 0;
    width: 100%;
}
