.tab-content { display: none; }
.tab-content.active { display: block; }
.box-right { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; align-items: flex-start; flex-wrap: wrap; }
.report-list { font-size: 13px; color: #888; }
.report-list strong { font-weight: 600; color: #111; }
.report-list a { display: inline-block; white-space: nowrap; text-decoration: underline; margin: 0px 3px; box-shadow: none; padding: 3px 5px; }
.report-list a:hover { text-decoration: none; }
.report-list a.active { text-decoration: none; color: red; font-weight: 600; cursor: initial; }
.dropdown-item { font-size: 13px; }
.pro-features-list { list-style: disc; padding-left: 25px; }
.pro-features-list strong { font-weight: 600; }
#wpj_reports_board {
	padding: 20px 0;
}
.wpj_reports_loading {
	background: white;
    border: 1px solid #CCC;
    text-align: center;
    padding: 10px;
    margin-top: 25px;
}
.wpj_reports_date_filter {
    margin-left: auto;
    border-radius: 4px;
    display: flex;
    align-items: center;
    jutify-content: space-between;
	position: relative;
	background-color: #FFF;
	cursor: pointer;
	padding: 5px 10px;
	border: 1px solid #CCC;
	width: 202px;
}
.wpj_reports_date_filter input { border: 0px; box-shadow: none !important; line-height: initial; min-height: auto; width: 100%; font-size: 13px; }
.wpj_reports_date_filter .dashicons {
	font-size: 20px;
}
.wpj_reports_box {
	background-color: white;
	border: 1px solid #CCC;
	margin-top: 15px;
    overflow-x: auto; 
}
.wpj_reports_product_filter {
	padding: 10px 10px 0px 10px;
}
.wpj_reports_product_filter .tglBtnWrap{
	display: flex;
	flex-wrap: wrap;
}
.wpj_reports_product_filter .tglBtnWrap span {
	margin-right: 10px;
	margin-bottom: 10px;
    font-size: 13px;
	padding: 0 10px;
	line-height: 2.15;
	background-color: #F2F2F2;
	cursor: pointer;
}
.wpj_reports_product_filter .tglBtnWrap span:hover {
	background-color: #CCC;
}
.wpj_reports_product_filter .tglBtnWrap span.selected {
	background-color: #007cba;
	color: white;
}
.item_price_total {
    padding: 20px; font-size: 14px; 
    text-align: center;
}
.item_price_total strong { font-weight: 600; }
.wpj_reports_chart {
	position: relative; min-width: 1000px; 
}
.wpj_reports_chart_options{
	margin-top: 10px;
	margin-right: 10px;
}
.wpj_reports_chart svg {
	width: 100%;
}
.wpj_reports_chart svg .category-axis{
	font-size: 12px;
	text-transform: uppercase;
}
.wpj_reports_chart svg .category-total-axis{
	font-size: 12px;
}
.wpj_reports_chart_tooltip {
    text-align: center; 
	position: absolute;
	padding: 10px;
	border-radius: 2px;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	pointer-events: none;
	background-color: white;
	white-space: nowrap;
}
.wpj_reports_chart_tooltip.hidden {
	display: none;
}
.wpj_reports_sales { padding: 10px; line-height: 1.8; }
.wpj_reports_sales div.dt-buttons { display: none; }
.wpj_reports_sales table thead tr th {
	padding: 1px 10px;
}
.wpj_reports_sales table tbody tr td {
	text-align: center;
	padding: 1px 10px;
}
/*.wpj_reports_sales table tbody tr td div { margin-left: 18px; }*/
.wpj_reports_sales table.form-table tbody tr td { text-align: left; }
.wpj_reports_sales table.form-table th { width: 265px; }

/* Datatables Style */
.dataTable { padding-top: 20px; border: 0px; margin-bottom: 25px; }
.dataTable thead .sorting { background-position: -1000px; }
.dataTable thead .sorting:hover { background-position: center right; }
.dataTable th { font-size: 13px; padding: 10px 18px 10px 10px !important; font-weight: bold; text-align: left; border: 0px; border-bottom: 1px solid #999; line-height: initial; }
.dataTable tbody td { border-right: 0px; vertical-align: top; font-size: 13px; }
.dataTable tbody td div.name { min-width: 150px; margin-left: 0px; }
.dataTable tbody td span.color { display: inline-block; width: 18px; height: 18px; margin-top: 5px; }
.dataTables_wrapper .dataTables_filter input { min-height: 30px; }
th.left, td.left { text-align: left !important; }
th.right, td.right { text-align: right !important; }
th.center, td.center { text-align: center !important; }
.dataTable tbody td a { border-bottom: 0px; }
.dataTable tbody td i { font-size: 14px; }
.dataTable td.name { font-size: 14px; font-weight: 600; min-width: 100px; }
.dataTable td.dtr-control { font-size: 16px; }
.dataTable td button { padding: 0px 10px; border-radius: 5px; font-size: 12px; font-weight: 600; margin-bottom: 5px; }
.dataTable td button.view-button { background-color: transparent; border: 2px solid #666; color: var(--contrast); }
.dataTable td button.view-button:hover { background-color: #eee; }
.dataTable td button.remove-button { background-color: transparent; border: 2px solid #666; color: var(--contrast); }
.dataTable td button.remove-button:hover { background-color: #eee; }
.dataTable td code { padding: 3px 5px; margin-bottom: 5px; display: inline-block; }
.dataTable td.status { font-size: 13px; }
.dataTable p { font-size: 13px; margin-bottom: 0px; }
.dataTable td.name a { border-bottom: 2px solid #ffcd00; color: #000; }
.dataTable > tr.child span.dtr-title { font-size: 14px; }

.dataTables_info, .dataTables_filter { font-size: 14px; }
.dataTables_filter label { display: flex; margin-bottom: 0px; }
.dataTables_wrapper .dataTables_filter { display: flex; gap: 10px; }
.dataTables_filter label i { padding: 10px; background: #eee; order: 1; border-radius: 0px 3px 3px 0px; margin-left: -3px; color: #666; }
.inside-article .dataTables_wrapper .dataTables_filter input { background: #eee; border: 0px; padding-left: 12px; padding-right: 12px; }
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px; min-width: 30px; font-size: 12px; line-height: 16px; cursor: pointer; background: #eee; border: 0px; font-weight: 600; 
}
.wrap .dataTables_wrapper .dataTables_paginate .paginate_button:hover { background: #444; color: #fff !important; border: 1px solid #444; }
.wrap .dataTables_wrapper .dataTables_paginate .paginate_button.current { background: #222; color: #fff !important; border: 1px solid #222; }
.wrap .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { background: #222; color: #fff !important; border: 1px solid #222; }
.wrap .dataTables_wrapper .dataTables_filter input { line-height: initial; }
.wrap .dataTables_wrapper .dataTables_length select { line-height: initial; min-width: 50px; }
span.detail { font-weight: bold; font-size: 18px; line-height: initial; cursor: pointer;}
div.detail { text-align: left; padding-left: 30px; padding-bottom: 20px; white-space: initial; }
div.detail span.color-point{ display: inline-block; width: 8px; height: 8px; margin: 0px 10px 0px 15px; }
div.detail span.login{ display: inline-block; padding: 0px 15px; }

.wpj_reports_sales .tools-wrapper { display: flex; align-items: center; justify-content: space-between; margin: 10px 0px; flex-wrap: wrap; }
.wpj_reports_sales .tools-wrapper.has-border { padding-bottom: 10px; border-bottom: 1px solid #111; }
.export-csv-btn { margin-left: auto; }
.columns_filter_wrapper { display: flex; flex-wrap: wrap; width: 100%; justify-content: left; align-items: center; padding-top: 20px; line-height: 1em; }
.columns_filter_wrapper strong { font-weight: 600; font-size: 13px; line-height: initial; margin-right: 10px; }
.columns_filter_wrapper span { margin-right: 10px; white-space: nowrap; display: flex; margin-top: 3px; }
.columns_filter_wrapper input { margin: 0px 5px 0px 0px; }
.columns_filter_wrapper label { font-size: 12px; margin: 0px; }
table.dataTable.dtr-column > tbody > tr > td.dtr-control::before { background-color: transparent !important; color: #3c434a; box-shadow: none; font-size: 18px; font-weight: bold; border: 0px; }
table.dataTable > tbody > tr.child ul.dtr-details { width: 100%; padding-left: 50px; }
table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom: 0px; padding: 0px; margin-bottom: 2px; }
table.dataTable.display tbody td { text-align: left; }

#wpj-reports-dialog { max-width: 600px; }
#wpj-reports-dialog .form-wrapper { display: flex; gap: 10px; }
#wpj-reports-dialog .message-wrapper { min-height: 22px; font-size: 12px; }
#wpj-reports-dialog .message-wrapper.error { color: red; margin: 0px; }
.ui-dialog-title { text-transform: capitalize; }

.wpj-overlay { display: flex; justify-content: center; align-items: center; }
.wpj-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@media screen and (max-width: 768px) {
    .nav-tab-wrapper .nav-tab {
        margin: 10px 4px 0 0;
        border-bottom: 1px solid #c3c4c7;
        padding: 7px;
        font-size: 12px;
    }
    .wpj_reports_date_filter { width: 245px; margin-left: 0px; }
    .columns_filter_wrapper { width: 100%; margin-bottom: 15px; }
    .columns_filter_wrapper span { margin-top: 6px; }
    .columns_filter_wrapper strong { width: 100%; }
    .wpj_reports_box input[type="checkbox"] {
        height: 1rem;
        width: 1rem;
    }
    .wpj_reports_box input[type="checkbox"]:checked::before {
        width: 1.4rem;
    }
}