body.toplevel_page_trackship-dashboard,
body.trackship_page_trackship-shipments,
body.trackship_page_trackship-logs,
body.trackship_page_trackship-for-woocommerce {
	background-color: #f8fafe;
}
.toplevel_page_trackship-dashboard #wpcontent, .trackship_page_trackship-shipments #wpcontent, .trackship_page_trackship-logs #wpcontent, .trackship_page_trackship-for-woocommerce #wpcontent {
	padding-left: 0;
}
.rtl .toplevel_page_trackship-dashboard #wpcontent, .rtl .trackship_page_trackship-shipments #wpcontent, .rtl .trackship_page_trackship-logs #wpcontent, .rtl .trackship_page_trackship-for-woocommerce #wpcontent {
	padding-right: 0;
}
.tab_inner_container .trackship_admin_content {
	margin: 0 !important;
}
.woocommerce_page_trackship-for-woocommerce #wpbody-content {
	padding-bottom: 40px;
}
.zorem-layout {
	margin: 0;
	padding: 0;
}
.zorem-layout__header {
	background: #fff;
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	box-sizing: border-box;
	border-bottom: 1px solid #fff;
	width: 100%;
	z-index: 1001;
	align-items: center;
	height: 60px;
	padding: 15px 20px;
}
.zorem-layout__header .zorem-layout__header-breadcrumbs {
	font-size: 14px;
	font-weight: 600;
	flex: 1 auto;
	line-height: 30px;
}
.zorem-layout__header a {
	text-decoration: none;
	color: #3858e9;
}
.zorem-layout__header .dashicons-arrow-right-alt2 {
	font-size: 14px;
	padding-top: 3px;
}
.zorem-layout__header .zorem-layout__header-breadcrumbs span+span:before {
	content: " / ";
	color: #555d66;
	margin: 0 2px;
}
.trackship_admin_content {
	vertical-align: top;
}
.trackship_page_trackship-shipments .trackship_admin_content, .trackship_page_trackship-logs .trackship_admin_content {
	font-family: 'Rubik', sans-serif;
}
.d_table {
	display: table;
	width: 100%;
}
.woocommerce table.form-table {
	margin: 0;
	position: relative;
	table-layout: fixed;
}
input.tab_input {
	display: none;
}
label.tab_label, label.inner_tab_label {
	text-decoration: none;
	padding: 15px;
	font-size: 14px;
	color: #3c4858;
	display: inline-block;
	line-height: 1;
	outline: none;
	font-weight: 500;
	cursor: pointer;
}
label.tab_label a {
	text-decoration: none;
	color: #3c4858;
}
.menu_devider {
	border-top: 1px solid #e0e0e0;
	margin-bottom: 15px;
}
section.inner_tab_section {
	display: none;
}
section#content_trackship_settings, section#content_trackship_notifications, section#content_trackship_integrations, section#content_trackship_tracking_page, section#content_trackship_setup {
	margin: 0 20px;
}
.trackship_admin_content section#content_trackship_dashboard, section#content_trackship_tools, section#content_trackship_logs {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 15px 20px;
}
#content_trackship_notifications .inner_tab_section {
	border: 0;
}
.trackship_other_page_fieldset {
	padding-top: 10px;
}
.woocommerce.trackship_admin_layout table.form-table th {
	padding: 15px;
}
.woocommerce.trackship_admin_layout table.form-table th label {
	font-weight: 500;
	color: #444;
	cursor: auto;
}
.open_tracking_details {
	cursor: pointer;
}
.wp-core-ui .button-primary.btn_ts_sidebar {
	background: #fafafa;
	color: #3c4858;
	border: 1px solid #bdbdbd;
	font-size: 13px;
	box-shadow: none;
}
.form-table.shipment-status-email-table .enable .button-primary.btn_ts_sidebar {
	color: #3858e9;
}
.button-primary.btn_ts_sidebar.ts_customizer_btn {
	border: 1px solid #3858e9;
	color: #3858e9;
}
.trackship_admin_layout table.form-table {
	border: 0;
	margin-top: 0;
	margin-bottom: 0px;
}
.trackship_admin_layout table.form-table.heading-table {
	margin: 0;
	border: 0;
}
.trackship_admin_layout table.form-table.heading-table h1 {
	margin: 0;
	font-size: 22px;
}
.trackship_admin_layout h1.table-heading {
	color: #005B9A;
	margin: 0;
	padding: 15px;
	font-weight: 400;
}
.zorem_admin_layout h1.table-heading:after {
	content: '';
	clear: both;
}
.woocommerce.trackship_admin_layout table.form-table.heading-table td {
	padding: 0;
}
.trackship_admin_layout h3 {
	margin: 1em 0;
}
.woocommerce.trackship_admin_layout table.form-table.heading-table td h3 {
	margin: 10px 0;
	color: #3c4858;
	font-weight: 600;
	font-size: 16px;
}
table.form-table.tracking_page_heading {
	background: #fff;
	border: 1px solid #e0e0e0;
}
table.form-table.tracking_page_heading td {
	padding: 15px 20px;
}
table.form-table.tracking_page_heading td h3 {
	margin: 0 0 5px;
}
table.form-table.tracking_page_heading td:last-child {
	text-align: right;
}
.spinner.active {
	visibility: visible;
}
.woocommerce.trackship_admin_layout table.form-table td.button-column {
	padding: 5px 15px;
}
.trackship_admin_content div.submit {
	padding: 0;
}
.border-top {
	border-top: 1px solid #eee;
}
.email_heading {
	font-size: 14px!important;
	font-weight: 600;
	text-decoration: none;
	line-height: 20px;
}
.trackship_admin_content div.submit .spinner {
	display: none;
	float: none;
	margin: 0px 10px 0;
}
.trackship_admin_content div.submit .spinner.active {
	display: inline-block;
	visibility: visible;
}
.add-custom-mapping.spinner {
	float: none;
}
.post-type-shop_order .wp-list-table .column-shipment_status {
	width: 20ch;
	padding: .5em;
	pointer-events: none;
}
ul.ts-shipment-status-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ts-shipment-status-list li {
	position: relative;
	box-sizing: border-box;
	padding: 6px 4px;
	margin: 0;
}
.ts-shipment-status-list li:not(:last-child) {
	border-bottom: 1px solid #e8e8e8;
}
.ts-shipment-status-list li:last-child {
	margin-bottom: 0;
}
.ts-shipment-status-list .ts-shipment-status {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.ast-shipment-tracking-status {
	font-weight: 600;
}
.ft12 {
	font-size: 11px;
	color: #6b7280;
}
.ts4wc_track_button {
	display: inline-block;
	font-size: 11px;
	font-weight: 500;
	color: var(--tsd-blue);
	text-decoration: none;
	pointer-events: all;
	background: rgba(18, 78, 214, 0.08);
	border-radius: 4px;
	padding: 1px 7px;
	margin-left: 4px;
	line-height: 1.6;
}
.ts4wc_track_button:hover {
	background: rgba(18, 78, 214, 0.15);
	color: #0d3fa3;
	text-decoration: none;
}
.open_more_info_popup {
	pointer-events: all;
	font-size: 11px;
	color: #6b7280;
	margin-left: 4px;
}

.has_est_delivery_0 .showif_has_est_delivery_0, .ts-shipment-status-list .ts-shipment-est-delivery {
	display: block;
}
span.view_shipment_log {
	display: block;
	margin: 8px 0 0;
}
/* Status badge pill */
.ts-shipment-status .shipment-icon {
	display: inline-flex;
	align-items: flex-start;
	max-width: 100%;
	font-size: 12px;
	font-weight: 600;
	background: #f3f4f6;
	border: 1px solid #e3e5e8;
	padding: 3px 8px;
	border-radius: 12px;
	line-height: 1.4;
}
/* Status badge dot */
.ts-shipment-status .shipment-icon:before {
	content: '';
	width: 8px;
	height: 8px;
	min-width: 8px;
	display: inline-block;
	background-color: #9ca3af;
	border-radius: 50%;
	margin: 4px 5px 0 0;
	flex-shrink: 0;
}
.ts-shipment-status .icon-delivered {
	color: #0c8043;
}
.ts-shipment-status .icon-in_transit {
	color: #52c3be;
}
.ts-shipment-status .icon-pending_trackship {
	color: #bd3e85;
}
.ts-shipment-status .icon-on_hold {
	color: #ffde00;
}
.ts-shipment-status .icon-out_for_delivery {
	color: #8fc95c;
}
.ts-shipment-status .icon-available_for_pickup {
	color: #f49d1d;
}
.ts-shipment-status .icon-unknown {
	color: #8a2f1b;
}
.ts-shipment-status .icon-pre_transit {
	color: #35609a;
}
.ts-shipment-status .icon-invalid_tracking, .ts-shipment-status .icon-carrier_unsupported, .ts-shipment-status .icon-exception, .ts-shipment-status .icon-return_to_sender, .ts-shipment-status .icon-invalid_carrier, .ts-shipment-status .icon-failure, .ts-shipment-status .icon-invalid_user_key, .ts-shipment-status .icon-label_cancelled, .ts-shipment-status .icon-expired {
	color: #cd2128;
}
.rtl .ts-shipment-status .icon-default:before {
	margin: 0 0 0 3px;
}
.ts-shipment-status .icon-invalid_user_key:before, .ts-shipment-status .icon-failure:before, .ts-shipment-status .icon-exception:before, .ts-shipment-status .icon-invalid_tracking:before, .ts-shipment-status .icon-return_to_sender:before, .ts-shipment-status .icon-invalid_carrier:before, .ts-shipment-status .icon-carrier_unsupported:before, .ts-shipment-status .icon-label_cancelled:before, .ts-shipment-status .icon-expired:before {
	background: #cd2128;
}
.ts-shipment-status .icon-delivered:before {
	background: #0c8043;
}
.ts-shipment-status .icon-in_transit:before {
	background: #52c3be;
}
.ts-shipment-status .icon-on_hold:before {
	background: #ffde00;
}
.ts-shipment-status .icon-pre_transit:before {
	background: #35609a;
}
.ts-shipment-status .icon-out_for_delivery:before {
	background: #8fc95c;
}
.ts-shipment-status .icon-available_for_pickup:before {
	background: #f49d1d;
}
.ts-shipment-status .icon-unknown:before {
	background: #8a2f1b;
}
.ts-shipment-status .icon-pending_trackship:before {
	background: #bd3e85;
	animation: ts_load 1s ease infinite;
}
@keyframes ts_load {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0.5;
	}
}
.trackship_admin_content .form-table .wp-color-result.button {
	margin: 0 6px 0px 0;
}
.woocommerce.trackship_admin_layout table.form-table select {
	width: auto;
	max-width: 400px;
	min-width: 200px;
	line-height: 20px;
}
.form-table tr td .link_row a, .tracking_page_desc a {
	color: #124fd6;
	font-size: 0.9em;
}
#wc_ts_border_color {
	width: 80px;
}
.woocommerce .trackship_admin_content table.form-table th label .woocommerce-help-tip {
	margin: -4px 0 0 5px;
	position: relative;
	font-size: 21px;
	color: #005B9A;
}
.woocommerce.trackship_admin_layout input.tab_input:checked + label, .trackship_tab_name input.tab_input:checked + label {
	color: #124fd6;
	border-bottom: 3px solid #124fd6;
	margin-top: 3px;
}
.woocommerce.trackship_admin_layout input.inner_tab_input:checked + label {
	color: #124fd6;
}
label.tab_label.first_label {
	margin: 0 0 0 20px;
}
.rtl label.tab_label.first_label {
	margin: 0 20px 0 0;
}
.woocommerce.trackship_admin_layout table.form-table.heading-table td h3.tracking_page_heading {
	display: inline-block;
	vertical-align: top;
	margin-left: 25px;
}
.wp-core-ui .btn_green2 {
	background: #3858e9;
	text-shadow: none;
	border-color: #3858e9;
	box-shadow: none;
	font-size: 14px;
	line-height: 32px;
	height: 35px;
	padding: 0 20px;
}
.wp-core-ui .btn_large {
	line-height: 33px;
	padding: 0px 15px;
	font-size: 13px;
	font-weight: 600;
	height: auto;
}
.wp-core-ui .btn_green2:hover, .wp-core-ui .btn_green2:focus {
	background: #3858e9;
	border-color: #3858e9;
	color: #fff;
	text-shadow: none;
	box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
}
.wp-core-ui .btn_large .dashicons {
	vertical-align: middle;
	margin-left: 5px;
}
.settings_ul {
	margin-top: 0;
	margin-bottom: 0;
}
.settings_ul > li {
	padding: 15px 0;
	border-bottom: 1px solid var(--tsd-line);
	margin: 0;
	min-height: 25px;
	position: relative;
}
.section_sms_content .input-text, .section_sms_content select {
	max-width: 300px;
	width: 100%;
}
.settings_ul li:last-child {
	border-bottom: 0;
}
.settings_ul .setting_ul_checkbox_label {
	margin-left: 5px;
}
.status-label-li .wp-picker-container {
	vertical-align: middle;
}
.tracking_page_desc {
	font-size: 12px;
	margin: 0;
	display: block;
}
#trackship_late_shipments_form .heading-table.shipment-status-email-table {
	border-spacing: 0;
	margin-top: 0 !important;
}
.woocommerce.trackship_admin_layout table.form-table.shipment-status-email-table td {
	padding: 15px;
	border: 1px solid #e0e0e0;
	background: #fff;
}
tr.admin_notifications_tr.open td {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}
.admin_notifications_tr .woocommerce-save-button, .admin_notifications_tr.open .shipment_status_toggle, .admin_notifications_tr.open .edit_customizer_a {
	display: none;
}
.admin_notifications_tr.open .woocommerce-save-button, .admin_notifications_tr .shipment_status_toggle, .admin_notifications_tr .edit_customizer_a {
	display: inline-block;
}
.woocommerce.trackship_admin_layout table.form-table.shipment-status-email-table tr {
	background: #fff;
	cursor: pointer;
}
.shipment_status_toggle label {
	vertical-align: text-top;
}
.woocommerce table.form-table .shipment-status-label.woocommerce-help-tip {
	font-size: 14px;
	padding: 0 1em;
	line-height: 2.2em;
	margin: -.25em 0;
	width: auto;
	height: auto;
}
.woocommerce table.form-table .shipment-status-label.woocommerce-help-tip:after {
	content: "";
}
.form-table.shipment-status-email-table .edit_customizer_a {
	color: #545479;
}
.form-table.shipment-status-email-table .shipment_status_toggle {
	margin: 0 10px;
	vertical-align: middle;
}
.shipment-status-email-table tr td:last-child {
	text-align: right;
}
.shipment-status-email-table tr.disable {
	opacity: 0.7;
}
.shipment-status-email-table tr.disable td:last-child .edit_customizer_a {
	pointer-events: none;
}
#trackship_late_shipments_form .shipment-status-email-table tr.disable td:last-child .edit_customizer_a {
	pointer-events: all;
}
.trackship_admin_layout .admin_notifiations_content {
	display: none;
	border: 1px solid #e0e0e0;
	border-top: 0;
	background: #fff;
	border-radius: 0 0 5px 5px;
	border-collapse: separate;
	table-layout: auto;
	padding: 0 20px;
}
.trackship_admin_layout .admin_notifiations_content tr td {
	padding: 15px;
}
.trackship_admin_layout .admin_notifiations_content tr td label {
	margin: 0 10px;
}
.trackship_admin_layout .admin_notifiations_content tr td select {
	width: 100px;
	vertical-align: middle;
}
.trackship_admin_content .admin_notifiations_content .spinner {
	float: none;
	margin: 0px 10px 0;
}
.trackship_admin_layout table.form-table.map-provider-table {
	max-width: 700px;
}
.trackship_admin_layout table.form-table.map-provider-table th {
	padding: 6px 15px 6px 0;
}
.form-table.fixed.map-provider-table td {
	padding: 10px 10px 10px 0;
}
.add_custom_mapping_h3 {
	cursor: pointer;
}
.add_custom_mapping {
	color: #3c4858;
	text-decoration: unset;
}
.woocommerce table.form-table.map-provider-table .map_shipping_provider_text {
	width: 100%;
}
.remove_custom_maping_row {
	color: #3c4758;
	margin: 4px;
	cursor: pointer;
}
.log_search_bar {
	float: right;
}
.filters_div{
	margin: 20px 0 10px;
	display: none;
}
span.filter_data {
	background: #e0e0e0;
	padding: 8px;
	border-radius: 5px;
	vertical-align: top;
	line-height: 20px;
	display: none;
}
span.filter_data .dashicons {
	margin: 0 2px;
	cursor: pointer;
}
.filter_data:nth-child(2) {
	margin: 0 8px;
}
.woocommerce.trackship_admin_layout .form-table.shipment-status-email-table tr td:first-child {
	border-right: 0;
	border-radius: 3px 0 0 3px;
	width: 70%;
}
.woocommerce.trackship_admin_layout .form-table.shipment-status-email-table tr td:nth-child(2) {
	border-left: 0;
	border-radius: 0 3px 3px 0;
}
.fullfillment_dashboard .fullfillment_table thead td {
	text-align: right;
}
.fullfillment_header {
	display: flex;
	border-bottom: 1px solid #e0e0e0;
}
.fullfillment_header .fullfillment_header_h2 {
	padding: 15px 20px;
	margin: 0;
	color: #6e708c;
	font-size: 20px;
	justify-content: space-between;
	flex-direction: row;
	box-sizing: border-box;
	width: 100%;
	align-items: center;
}
.fullfillment_dashboard h3 {
	color: #6e708c;
}
.heading_panel div.heading_panel_save .spinner {
	float: none;
}
.plugin_setting_note {
	display: block;
	font-size: 14px;
}
.section_sms_content .plugin_setting_note {
	padding: 20px 0 10px;
}
.rtl .dataTables_wrapper .dataTables_info {
	float: right;
}
.rtl .trackship-notice p span, .rtl .dataTables_wrapper .datatable_footer .dataTables_length, .rtl .dataTables_wrapper .datatable_footer .dataTables_paginate {
	float: left;
}
.rtl .trackship_admin_content .inner_tab_section select {
	background: #fafafa url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat left 5px top 55%;
}
.rtl .woocommerce.trackship_admin_layout .form-table.shipment-status-email-table tr td:nth-child(2) {
	text-align: left;
}
.rtl .fullfillment_dashboard .fullfillment_table thead th {
	text-align: right;
}
.rtl .fullfillment_dashboard .fullfillment_table thead td {
	text-align: left;
}
.rtl .shipment_search_bar {
	float: left;
}
.rtl .shipment_length img {
	margin-right: 5px;
}
.rtl .heading_panel div.heading_panel_save {
	float: left;
}
.rtl .fullfillment_dashboard .fullfillment_dashboard_section {
	margin: 0 0 15px 15px;
}
.rtl .ts_activity-panel-wrapper {
	left: 0;
	right: auto;
}
.rtl .zorem-layout__header .zorem-layout__header-breadcrumbs {
	padding: 0 30px 0 0;
}
.rtl .ts4wc_logo_header {
	margin: 0 20px 0 0;
}
.rtl .tsh-header__brand {
	margin-right: 0;
	margin-left: 32px;
}
.rtl .ts_integration_checkbox {
	margin-left: 0;
	margin-right: auto;
}
.rtl .ts_integration_image {
	margin: 0 0 0 15px;
}
/** Header help button CSS Start**/
.zorem-layout__header * {
	box-sizing: border-box;
}
.ts_activity-panel-tabs {
	display: flex;
	height: 50px;
	justify-content: flex-end;
}
.trackship_admin_layout .ts_activity-panel-tabs {
	position: absolute;
	right: 0;
}
.rtl .trackship_admin_layout .ts_activity-panel-tabs {
	left: 0;
	right: auto;
}
.ts_activity-panel-tabs .dashicons {
	width: 24px;
	height: 24px;
	font-size: 24px;
	color: #124fd6;
}
.ts_activity-panel-tabs label {
	color: #005b9a;
}
.ts_activity-panel-tabs .ts_activity-panel-tab {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	border: none;
	outline: none;
	cursor: pointer;
	max-width: -webkit-min-content;
	max-width: min-content;
	min-width: 80px;
	width: 100%;
	color: #757575;
	white-space: nowrap;
	height: 50px;
	background: transparent;
}
.zorem-layout .ts_activity-panel {
	display: contents;
}
.ts_activity-panel-tabs .ts_activity-panel-tab:before {
	background-color: #005b9a;
	bottom: 0;
	content: "";
	height: 0;
	opacity: 0;
	transition-property: height, opacity;
	transition-duration: .3s;
	transition-timing-function: ease-in-out;
	left: 0;
	position: absolute;
	right: 0;
}
.ts_activity-panel-tabs .ts_activity-panel-tab:hover {
	background-color: #f0f0f0;
	box-shadow: none;
}
.ts_activity-panel-tabs .ts_activity-panel-tab.is-active {
	color: #1e1e1e;
	box-shadow: none;
}
.ts_activity-panel-tabs .ts_activity-panel-tab.is-active:before {
	height: 3px;
	opacity: 1;
}
.ts_activity-panel-wrapper {
	background: #f0f0f0;
	width: 220px;
	transition-property: transform box-shadow;
	transition-duration: .3s;
	transition-timing-function: ease-in-out;
	position: absolute;
	right: 0;
	z-index: 1000;
	overflow-x: hidden;
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	margin-top: 50px;
}
.ts_activity-panel-wrapper.is-open {
	box-shadow: 0 12px 12px 0 rgb(85 93 102 / 30%);
}
.ts_activity-panel-wrapper.is-switching {
	animation: tabSwitch;
	animation-duration: .3s;
	visibility: visible;
	opacity: 1;
}
.woocommerce-list {
	margin: 0;
	padding: 0;
}
.woocommerce-list__item {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	background-color: #fff;
	border: 0 !important;
}
.woocommerce-list__item:not(:first-child) {
	border-top: 1px solid #f0f0f0;
}
.woocommerce-list__item.has-action {
	cursor: pointer;
}
.woocommerce-list__item > .woocommerce-list__item-inner {
	text-decoration: none;
	width: 100%;
	display: flex;
	align-items: center;
	padding: 0;
}
.woocommerce-list__item .woocommerce-list__item-before {
	display: flex;
	align-items: center;
}
.woocommerce-list__item .woocommerce-list__item-title {
	color: #3c4758;
}
.woocommerce-list-Text {
	box-sizing: border-box;
	margin: 0px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
}

@media (min-width: 783px) {
.ts_activity-panel-header {
	padding: 16px 24px;
}
}
/** Header help button CSS End**/

/* =====================================================================
   TrackShip Admin Header — inline nav design (all plugin pages)
   ===================================================================== */
.tsh-header {
	background: #fff;
	border-bottom: 1px solid #e2e5ef;
	box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
	width: 100%;
	box-sizing: border-box;
}
.tsh-header * { box-sizing: border-box; }
.tsh-header__inner {
	display: flex;
	align-items: stretch;
	padding: 0 24px;
	height: 56px;
}
.tsh-header__brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: 32px;
	text-decoration: none !important;
}
.tsh-header__logo {
	height: 26px;
	width: auto;
	display: block;
	vertical-align: middle;
	margin: 0;
}
.tsh-header__nav {
	display: flex;
	align-items: stretch;
	flex: 1;
	overflow-x: auto;
	scrollbar-width: none;
}
.tsh-header__nav::-webkit-scrollbar { display: none; }
.tsh-header__nav-link {
	display: inline-flex;
	align-items: center;
	padding: 0 14px;
	font-size: 13.5px;
	font-weight: 500;
	color: #5d6677;
	text-decoration: none !important;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: color .18s ease, border-color .18s ease;
	outline: none;
	margin-bottom: -1px;
}
.tsh-header__nav-link:hover {
	color: #124ED6;
	border-bottom-color: rgba(18, 78, 214, .28);
}
.tsh-header__nav-link:focus {
	outline: none;
	box-shadow: none;
}
.tsh-header__nav-link:focus-visible {
	outline: 2px solid #124ED6;
	outline-offset: -2px;
	border-radius: 3px;
}
.tsh-header__nav-link--active,
.tsh-header__nav-link--active:hover {
	color: #124ED6 !important;
	border-bottom-color: #124ED6 !important;
	font-weight: 600;
}
.tsh-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	flex-shrink: 0;
	padding-left: 16px;
}
.tsh-header__action {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #5d6677;
	text-decoration: none !important;
	transition: background .18s ease, color .18s ease;
	white-space: nowrap;
	line-height: 1;
}
.tsh-header__action svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}
.tsh-header__action:focus {
	outline: none;
	box-shadow: none;
}
.tsh-header__action:focus-visible {
	outline: 2px solid #124ED6;
	outline-offset: 1px;
}
.tsh-header__action:hover {
	background: #f1f3f5;
	color: #111827;
}
.tsh-header__action--support {
	background: rgba(18, 78, 214, .07);
	color: #124ED6;
}
.tsh-header__action--support:hover {
	background: rgba(18, 78, 214, .13);
	color: #0f3fa8;
}
/* =====================================================================
   End TrackShip Admin Header
   ===================================================================== */

/** Toggle CSS Start**/
input[type=checkbox].tgl {
	display: none;
}
.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
	box-sizing: border-box;
}
.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
 background: none;
}
.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
 background: none;
}
.tgl + .tgl-btn {
	outline: 0;
	display: inline-block;
	width: 36px;
	height: 18px;
	position: relative;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
	position: relative;
	display: block;
	content: "";
	width: 40%;
	height: 100%;
}
.tgl + .tgl-btn:after {
	left: 0;
}
.tgl + .tgl-btn:before {
	display: none;
}
.tgl:checked + .tgl-btn:after {
	left: 50%;
}
.tgl-flat + .tgl-btn {
	padding: 2px;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
	background: rgba(0,0,0, 0.26);
	border: 1px solid #ccc;
	border-radius: 2em;
}
.tgl-flat + .tgl-btn:after {
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
	background: #f2f2f2;
	content: "";
	border-radius: 1em;
}
.tgl-flat:checked + .tgl-btn {
	border: 1px solid #ccc;
	background: #fff;
	vertical-align: middle;
}
.tgl-flat:checked + .tgl-btn:after {
	left: 55%;
	background: #09d3ac;
}
.rtl .woocommerce-list__item .woocommerce-list__item-before {
	margin: 0 0 0 20px;
}
/** Toggle CSS End**/
/*** Snackbar css START ***/
/* Animations to bouncein the snackbar in and out */
@-webkit-keyframes bouncein {
 from {
right: 0;
opacity: 0;
}
 to {
right: 20px;
opacity: 1;
}
}
@keyframes bouncein {
 from {
right: 0;
opacity: 0;
}
 to {
right: 20px;
opacity: 1;
}
}
.snackbar-logs {
	position: fixed;
	z-index: 9999999;
	top: 95px;
	right: 30px;
	width: 300px;
}
.snackbar-log {
	-webkit-animation: bouncein 0.5s;
	animation: bouncein 0.5s;
}
.snackbar-log {
	display: block;
	margin-top: 10px;
	position: relative;
	right: -300px;
	opacity: 0;
}
.snackbar-log-show {
	right: 0;
	opacity: 1;
}
.snackbar-log {
	background: #1F1F1F;
	background: rgba(0, 0, 0, 0.9);
	padding: 15px;
	border-radius: 4px;
	color: #FFF;
}
/*** Snackbar css END ***/
/* Popup CSS*/
.popupwrapper {
	position: fixed;
	top: 0;
	left: 0;
	background: rgb(250 250 250 / 0.9);
	z-index: 100000;
	width: 100%;
	height: 100%;
	text-align: center;
}
.popupwrapper:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
.popuprow {
	display: inline-block;
	vertical-align: middle;
	max-width: 800px;
	background: #fff;
	padding: 0;
	position: relative;
	z-index: 10;
	border-radius: 5px;
	width: 97%;
	width: calc(100% - 5px);
	max-height: 90%;
	overflow-y: overlay;
	text-align: left;
}
.popuprow.trackship_provider {
	max-width: 400px;
	border: 1px solid #e0e0e0;
}
.popupwrapper.trackship_logs_details {
	font-size: 14px;
	background: rgba(15, 23, 42, .45);
}
.popupwrapper.trackship_logs_details .popuprow {
	width: 480px;
	max-width: calc(100% - 30px);
	border-radius: var(--tsd-radius, 14px);
	box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
	overflow: hidden;
	text-align: left;
}
.popupwrapper.trackship_logs_details .popup_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-bottom: 1px solid var(--tsd-line, #e9ebf2);
}
.popupwrapper.trackship_logs_details .popup_header h3.popup_title {
	font-size: 15px;
	font-weight: 600;
	color: var(--tsd-ink, #1f2540);
}
.popupwrapper.trackship_logs_details .popup_header .popup_close_icon {
	position: static;
	width: 28px;
	height: 28px;
	line-height: 28px;
	font-size: 18px;
	border: 0;
	border-radius: 50%;
	color: var(--tsd-muted, #6b7280);
	text-align: center;
	transition: color .18s, background .18s;
}
.popupwrapper.trackship_logs_details .popup_header .popup_close_icon:hover {
	color: var(--tsd-ink, #1f2540);
	background: rgba(107, 114, 128, .12);
}
.popupwrapper.trackship_logs_details .popup_body {
	padding: 4px 20px 8px;
}
.popupwrapper.trackship_logs_details .popup_body div {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--tsd-line, #e9ebf2);
	font-size: 13px;
}
.popupwrapper.trackship_logs_details .popup_body div:last-child {
	border-bottom: 0;
}
.popupwrapper.trackship_logs_details .popup_body strong {
	flex: 0 0 130px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--tsd-muted, #6b7280);
}
.popupwrapper.trackship_logs_details .popup_body span {
	padding: 0;
	color: var(--tsd-ink, #1f2540);
	word-break: break-word;
}
.popuprow .popup_header {
	border-bottom: 1px solid #e0e0e0;
	padding: 15px 20px;
}
.popuprow .popup_header h3.popup_title {
	font-size: 16px;
	display: inline-block;
	margin: 0;
	color: #005b9a;
	font-weight: 400;
}
.popuprow .popup_header .popup_close_icon {
	color: #005b9a;
	width: 60px;
	height: 50px;
	font-size: 30px;
	border-left: 1px solid #e0e0e0;
	position: absolute;
	right: 0;
	top: 0px;
	cursor: pointer;
	line-height: 50px;
}
.popuprow .popup_body {
	padding: 20px 25px;
}
.popup_body .sync_message {
	margin-top: 0;
}
.popuprow .popup_body .synch_result {
	display: none;
	margin: 0;
}
.popupclose {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 9;
	top: 0;
	left: 0;
}
/* TrackShip Dashboard CSS*/
button.button-primary.button-trackship.tools-ts-button {
	float: none;
}
#content_trackship_status .trackship-notice {
	border-bottom: 1px solid #e0e0e0;
}
.trackship-notice p span.dashicons {
	float: right;
	margin-top: 7px;
	font-weight: 600;
	cursor: pointer;
}
.tools_tab, .setup_tab {
	max-width: 1000px;
	width: 100%;
}
.tools_tab .inner_div {
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	background: #fff;
	margin-bottom: 15px;
}
.tools_tab h3 {
	margin: 0;
}
.p15 {
	padding: 15px;
}
.mb0 {
	margin-bottom: 0 !important;
}
.trackship-notice p, .trackship-verify-table p {
	margin: 0;
	line-height: 35px;
}
button.tools-ts-button {
	box-shadow: none;
	font-size: 14px;
	line-height: 32px;
	height: 35px;
	padding: 0 20px;
}
.form-table td p {
	margin: 0;
}
.wp-core-ui .button-trackship {
	background: #3858e9;
	border-color: #3858e9;
}
.wp-core-ui .button-trackship-red, .wp-core-ui .button-trackship-red.focus, .wp-core-ui .button-trackship-red.hover, .wp-core-ui .button-trackship-red:focus, .wp-core-ui .button-trackship-red:hover {
	background: #f44336;
	border-color: #f44336;
	color: #fff;
}
.wp-core-ui .button-trackship.focus, .wp-core-ui .button-trackship.hover, .wp-core-ui .button-trackship:focus, .wp-core-ui .button-trackship:hover {
	background: #3858e9;
	border-color: #3858e9;
	outline: none;
	box-shadow: none;
}
.settings_ul .settings_radio_li>label, .settings_ul .multiple_select_li>label {
	width: auto;
	display: inline-block;
}
.inner_tab_section li.dis_block label {
	display: block;
	margin-bottom: 10px;
}
.multiple_select_container {
	display: inline-block;
	width: 100%;
	max-width: 400px;
}
.settings_ul .multiple_select_li .multiple_select_container .select2-container .select2-selection--multiple {
	border-color: #e0e0e0;
	background: #fafafa;
}
.settings_ul .multiple_select_container .multiple_select_container select[multiple] {
	width: 100%;
}
form.zorem_plugin_setting_tab_form tr.title_row {
	border-bottom: 1px solid #ddd;
}
form.zorem_plugin_setting_tab_form h1 {
	margin: 0;
}
.trackship_notice_msg.tools_tab_ts4wc {
	border: 1px solid #e0e0e0;
	padding: 15px;
	margin: 15px 20px;
	background: #fff;
}
.tools_tab_ts4wc {
	border-radius: 5px;
	box-sizing: border-box;
}
input.tab_input, input.inner_tab_input {
	display: none;
}
.shipment-status-email-table tr td.status-label-column strong {
	margin: 0 10px;
	vertical-align: middle;
}
.shipment-status-email-table tr td.status-label-column img {
	vertical-align: middle;
}
.wp-core-ui .btn_outline {
	border-color: #3858e9 !important;
	background: transparent !important;
	color: #3858e9 !important;
}
label.setting_ul_tgl_checkbox_label {
	margin: 0 5px;
}
.section_mapping_content p.map_providers_note {
	margin-top: 0;
}
input#late_shipments_days, input#exception_shipments_days, input#on_hold_shipments_days {
	width: 50px;
}
div.admin_notifiations_content tr input, div.admin_notifiations_content tr td select {
	max-width: 350px !important;
	width: 100% !important;
}
.trackship_section {
	border: 0;
	background: transparent;
	padding: 10px;
	text-align: center;
}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	width: 100%;
	top: 0;
	height: 100%;
}
.ts_landing_header {
	font-size: 26px;
	line-height: 28px;
	margin: 0;
	font-weight: 700;
}
.ts_landing_description {
	font-size: 15px;
	max-width: 585px;
	margin: 1em auto;
}
.ts_landing_banner {
	text-align: center;
	max-width: 900px;
	margin: 20px auto;
	position: relative;
	border: 0;
	padding: 0;
}
.ts_landing_banner img {
	width: 100%;
}
.open_ts_video {
	position: absolute;
	font-size: 70px;
	top: 33%;
	left: 47%;
	color: #3858e9;
	cursor: pointer;
}
button.button-primary.add_custom_mapping_h3, button.button-primary.add_custom_mapping_h3:hover {
	margin-top: 10px;
	color: #3858e9 !important;
	background: #fafafa !important;
	border-color: #3858e9 !important;
}
span.dashicons.dashicons-plus.ptw-dashicons {
	margin-top: 6px;
	margin-left: 7px;
}
.woocommerce table.form-table.map-provider-table .select2-container {
	min-width: 0px!important;
}
#trackship-tracking-items small.last-update-on {
	display: inline;
	margin: 0 10px;
}
#trackship .inside {
    background: #F8FAFE;
    margin: 0 !important;
    padding: 12px;
}
.row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -10px;
	margin-left: -10px;
}
.wp-core-ui #trackship_tracking_page_form select, input#tracking_other_page, select.daily_digest_time {
	background-color: #fafafa;
	width: 250px;
}
input#late_shipments_email_to, input#exception_shipments_email_to, input#on_hold_shipments_email_to {
	max-width: 500px;
	width: 100%;
}
.trackship_sms_settings tr th {
	padding: 15px 10px 15px 0 !important;
	width: 30%;
}
.woocommerce.trackship_admin_layout table.form-table td p.description {
	margin-bottom: 0;
}
.wp-core-ui .connect-your-store {
	line-height: 38px;
	padding: 0px 10px 0 15px;
	font-size: 16px;
	font-weight: 400;
	height: 40px;
}
.ts-shipment-status-div {
	margin-top: 10px;
}
#admin_tracking_widget .popuprow {
	padding: 20px;
	border: 0;
	max-height: 100%;
	background: transparent;
	vertical-align: top;
	max-width: 600px;
	box-sizing: border-box;
	position: fixed;
	right: 0;
	background: #fff;
	border-left: 1px solid #ccc;
	height: 100%;
}
span.admin_tracking_page_close {
	width: 60px;
	height: 60px;
	right: 15px;
	left: auto;
	z-index: 100;
	cursor: pointer;
}
span.admin_tracking_page_close .dashicons {
	font-size: 30px;
	height: 30px;
	width: 30px;
	padding: 15px;
}
.ts4wc_logo {
	width: 100px;
	float: right;
	margin-top: 10px;
}
.ts4wc_logo_header {
	width: 150px;
	vertical-align: middle;
	margin-left: 20px;
}
.trackship_admin_content .inner_tab_section input {
	border-color: #e0e0e0;
	background: #fafafa;
}
.trackship_admin_content .inner_tab_section select {
	border-color: #e0e0e0;
	background: #fafafa url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
}
#admin_tracking_widget .shipment_status_heading {
	line-height: 1;
	margin-top: 0;
}
td.shipment_tracking.column-shipment_tracking li {
	min-height: 50px;
	margin: 0;
	padding: 5px;
	box-sizing: border-box;
}
.tracking-content .metabox_get_shipment_status, .tracking-content .ts-custom-tool-tip {
	margin-top: 10px;
}
#trackship-tracking-items .tracking-content:after {
	display: none;
}
.snackbar-log-success {
	background: #09d3ac;
}
.snackbar-log-error {
	background: #ed1c24;
}
span.log_search_bar, span.shipment_search_bar {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin: 0 5px;
}
span.log_search_bar span.dashicons-no, .shipment_search_bar span.dashicons-no {
	position: absolute;
	display: none;
	right: 10px;
	cursor: pointer;
	color: #3858e9;
}
span.shipment_search_bar {
	width: 100%;
}
.serch_button {
	height: 40px;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #3858e9;
	padding: 0 16px;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 600;
}
.content_trackship_logs .serch_button {
	float: right;
}
.shipment-status-sms-section .smswoo-shipment-sendto .button-primary.woocommerce-save-button.button-smswoo {
	background: #3858e9;
	border-color: #3858e9;
	padding: 0 10px;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
	border-radius: 10px;
}
.widefat .column-wc_actions a.delivered_icon.button::after {
	font-family: woocommerce;
	content: "\e01a";
}
span.percentage {
	font-size: 16px;
	float: right;
	padding-right: 15px;
	font-weight: 600;
}
body #admin_tracking_widget .col.tracking-detail {
	background: #fff;
}
body #admin_tracking_widget .tracking-detail .shipment-content, body #admin_tracking_widget .tracking-detail .shipment-content h4 {
	color: #333;
}
#free_user_popup.popupwrapper {
	background: #0c0c0c66;
	z-index: 9989;
}
.free_user_popup.popuprow {
	max-width: 550px;
}
.free_user_popup li {
	font-size: 14px;
	font-weight: 600;
	margin: 10px 0;
}
.free_user_popup li:before {
	content: ' \2714';
	color: #09d3ac;
	padding-right: 10px;
}
.form-table.shipment-status-email-table {
	border-collapse: separate;
	border-spacing: 0 10px;
	margin-top: -10px !important;
}
.analytics_link {
	padding: 15px;
	border-top: 1px solid #f5f5f5;
	width: 100%;
	bottom: 0;
	position: absolute;
}
span.dashicons.dashicons-update.update_shipping_provider {
	width: 26px;
	height: 26px;
	font-size: 26px;
	vertical-align: middle;
	color: #3858e9;
	margin: 0 10px;
	cursor: pointer;
}
.tracking_notification_log_delete p {
	line-height: 35px;
	display: inline-block;
	margin: 0;
}
/** Accordion Design **/
section#content_trackship_settings.inner_tab_section, section#content_trackship_notifications.inner_tab_section {
	padding: 0;
	border: 0;
}
.inner_tab_section .heading_panel .button-primary {
	display: none;
}
.inner_tab_section .heading_panel {
	background: #fff;
	padding: 10px 20px;
	border: 1px solid var(--tsd-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: var(--tsd-shadow);
	border-radius: var(--tsd-radius) var(--tsd-radius) 0 0;
}
.inner_tab_section .heading_panel.active {
	border-radius: 3px 3px 0 0;
	color: #124fd6;
}
.inner_tab_section .panel_content {
	padding: 5px 20px;
	border: 1px solid var(--tsd-line);
	border-top: 0;
	background: #fff;
	border-radius: 0 0 var(--tsd-radius) var(--tsd-radius) !important;
}
.inner_tab_section .panel_content.section_mapping_content {
	padding: 20px;
}
.inner_tab_section .panel_content.section_admin_notifications_content {
	padding: 0 15px;
}
.section_mapping_content .map-provider-table p {
	margin: 0 0 13px 0;
}
.inner_tab_section .heading_panel strong {
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	pointer-events: none;
	color: var(--tsd-ink);
}
.inner_tab_section .heading_panel span.dashicons {
	pointer-events: none;
	padding: 5px 0;
	display: inline-table;
}
/** End Accordion **/

/** Start Fullfillment Dashboard **/
.trackship_admin_content section#content_trackship_fullfill_dashboard {
	margin: 15px 20px;
}
/* ==========================================================
	🔷 TRACKSHIP DASHBOARD — brand-forward redesign
	========================================================== */
:root {
	--tsd-teal: #09d3ac;
	--tsd-blue: #124ed6;
	--tsd-ink: #1f2540;
	--tsd-muted: #6b7280;
	--tsd-line: #e9ebf2;
	--tsd-bg: #f6f8fb;
	--tsd-radius: 14px;
	--tsd-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
	--tsd-grad: linear-gradient(120deg, #09d3ac 0%, #1aa6c6 45%, #124ed6 100%);
}
.tsd-dashboard {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Rubik, Roboto, Helvetica, Arial, sans-serif;
	color: var(--tsd-ink);
	box-sizing: border-box;
}
.tsd-dashboard *,
.tsd-dashboard *::before,
.tsd-dashboard *::after {
	box-sizing: border-box;
}
.tsd-dashboard svg {
	width: 100%;
	height: 100%;
	display: block;
}


/* --- Hero overview band --- */
.tsd-hero {
	background: #fff;
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	color: var(--tsd-ink);
	padding: 28px 28px 24px;
	margin-bottom: 20px;
	border: 1px solid var(--tsd-line);
	box-shadow: var(--tsd-shadow);
}
.tsd-hero::before,
.tsd-hero::after {
	display: none;
}
.tsd-hero__head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 22px;
}
.tsd-hero__title h3 {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 600;
	color: var(--tsd-ink);
}
.tsd-hero__title p {
	margin: 0;
	font-size: 13px;
	color: var(--tsd-muted);
}

/* Date toggle pills */
.tsd-tabs {
	display: inline-flex;
	padding: 4px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--tsd-line);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.tsd-tabs .tab_input { display: none; }
.tsd-tabs label.tab_label.tsd-tab {
	margin: 0;
	padding: 8px 18px;
	border: 0;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	color: var(--tsd-muted);
	cursor: pointer;
	transition: background .18s ease, color .18s ease;
	width: auto;
}
.tsd-tabs .tab_input:checked + label.tsd-tab {
	background: var(--tsd-grad);
	color: #fff;
	box-shadow: 0 4px 10px rgba(18, 78, 214, .22);
}

/* Stat tiles */
.tsd-stats {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	background: transparent;
}
.tsd-stat {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 14px;
	padding: 18px;
	border-radius: var(--tsd-radius);
	background: #fff;
	border: 1px solid var(--tsd-line);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	transition: transform .18s ease, box-shadow .18s ease;
}
.tsd-stat:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}
.tsd-stat__icon {
	grid-column: 1;
	grid-row: 1 / 3;
	align-self: center;
	display: inline-flex;
	width: 46px;
	height: 46px;
	padding: 11px;
	border-radius: 12px;
	color: var(--tsd-blue);
	background: rgba(18, 78, 214, .1);
}
/* Per-metric icon tones */
.tsd-stat--total_shipment .tsd-stat__icon { color: #2563eb; background: rgba(37, 99, 235, .1); }
.tsd-stat--active_shipment .tsd-stat__icon { color: #0bab90; background: rgba(9, 211, 172, .14); }
.tsd-stat--delivered_shipment .tsd-stat__icon { color: #16a34a; background: rgba(22, 163, 74, .12); }
.tsd-stat--tracking_issues .tsd-stat__icon { color: #d97706; background: rgba(217, 119, 6, .12); }
.tsd-stat--avg_transit .tsd-stat__icon { color: #6366f1; background: rgba(99, 102, 241, .12); }
.tsd-stat--delivered_rate .tsd-stat__icon { color: #0bab90; background: rgba(9, 211, 172, .14); }
.tsd-stat__value small {
	font-size: 14px;
	font-weight: 600;
	color: var(--tsd-muted);
	margin-left: 2px;
	letter-spacing: 0;
}
.tsd-stat__value {
	grid-column: 2;
	align-self: end;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.5px;
	color: var(--tsd-ink);
}
.tsd-stat__label {
	grid-column: 2;
	align-self: start;
	margin-top: 2px;
	font-size: 13px;
	color: var(--tsd-muted);
}
.tsd-hero__foot {
	position: relative;
	z-index: 1;
	margin-top: 18px;
	text-align: right;
}
.tsd-hero__foot a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tsd-blue);
	text-decoration: none;
	transition: opacity .18s ease;
}
.tsd-hero__foot a:hover { opacity: .8; }
.tsd-hero__foot a svg { width: 16px; height: 16px; }

/* --- Lower grid: Action Needed + Plan --- */
.tsd-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 20px;
	align-items: stretch;
}
.tsd-card {
	background: #fff;
	border: 1px solid var(--tsd-line);
	border-radius: var(--tsd-radius);
	box-shadow: var(--tsd-shadow);
	overflow: hidden;
}
.tsd-card__head {
	padding: 18px 22px;
	border-bottom: 1px solid var(--tsd-line);
}
.tsd-card__head h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--tsd-ink);
}

/* Action rows */
.tsd-card--action {
	display: flex;
	flex-direction: column;
}
.tsd-actions { padding: 8px; flex: 1; }
.tsd-action {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 14px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--tsd-ink);
	transition: background .15s ease;
}
.tsd-action:hover { background: var(--tsd-bg); }
.tsd-action + .tsd-action { border-top: 1px solid var(--tsd-line); }
.tsd-action__icon {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	padding: 9px;
	border-radius: 10px;
}
.tsd-action__count {
	flex: 0 0 auto;
	min-width: 34px;
	height: 26px;
	padding: 0 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
}
.tsd-action__text {
	flex: 1 1 auto;
	font-size: 13.5px;
	line-height: 1.45;
	color: #4b5266;
}
.tsd-action__arrow {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: #c2c7d6;
	transition: transform .15s ease, color .15s ease;
}
.tsd-action:hover .tsd-action__arrow { color: var(--tsd-blue); transform: translateX(2px); }
/* Action tones */
.tsd-action--blue   .tsd-action__icon { color: #2563eb; background: rgba(37, 99, 235, .1); }
.tsd-action--blue   .tsd-action__count { color: #2563eb; background: rgba(37, 99, 235, .1); }
.tsd-action--amber  .tsd-action__icon { color: #d97706; background: rgba(217, 119, 6, .12); }
.tsd-action--amber  .tsd-action__count { color: #d97706; background: rgba(217, 119, 6, .12); }
.tsd-action--red    .tsd-action__icon { color: #dc2626; background: rgba(220, 38, 38, .1); }
.tsd-action--red    .tsd-action__count { color: #dc2626; background: rgba(220, 38, 38, .1); }
.tsd-action--purple .tsd-action__icon { color: #7c3aed; background: rgba(124, 58, 237, .1); }
.tsd-action--purple .tsd-action__count { color: #7c3aed; background: rgba(124, 58, 237, .1); }

/* Empty state */
.tsd-actions__empty {
	text-align: center;
	padding: 34px 20px;
}
.tsd-actions__empty-icon {
	display: inline-flex;
	width: 48px;
	height: 48px;
	padding: 12px;
	margin-bottom: 12px;
	border-radius: 14px;
	color: var(--tsd-teal);
	background: rgba(9, 211, 172, .12);
}
.tsd-actions__empty p {
	margin: 0 0 2px;
	font-size: 15px;
	font-weight: 600;
	color: var(--tsd-ink);
}
.tsd-actions__empty-sub {
	font-size: 13px;
	color: var(--tsd-muted);
}

/* Plan & balance card */
.tsd-card--plan {
	display: flex;
	flex-direction: column;
}
.tsd-plan {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.tsd-plan .tsd-btn { margin-top: auto; }
.tsd-plan__metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding-bottom: 22px;
	margin-bottom: 20px;
	border-bottom: 1px dashed var(--tsd-line);
}
.tsd-plan__metric { text-align: center; }
.tsd-plan__icon {
	display: inline-flex;
	width: 46px;
	height: 46px;
	padding: 12px;
	margin-bottom: 12px;
	border-radius: 14px;
}
.tsd-plan__icon--balance {
	color: var(--tsd-teal);
	background: rgba(9, 211, 172, .12);
}
.tsd-plan__icon--plan {
	color: var(--tsd-blue);
	background: rgba(18, 78, 214, .1);
}
.tsd-plan__value {
	display: block;
	font-size: 32px;
	font-weight: 800;
	line-height: 38px;
	letter-spacing: -1px;
	background: var(--tsd-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.tsd-plan__value--plan {
	font-size: 22px;
	letter-spacing: -.4px;
}
.tsd-plan__label {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	color: var(--tsd-muted);
}
.tsd-plan__account {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--tsd-bg);
	text-align: left;
}
.tsd-plan__account-icon {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	padding: 9px;
	border-radius: 10px;
	color: var(--tsd-blue);
	background: #fff;
	border: 1px solid var(--tsd-line);
}
.tsd-plan__account-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.tsd-plan__account-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: var(--tsd-muted);
}
.tsd-plan__account-email {
	font-size: 14px;
	font-weight: 600;
	color: var(--tsd-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Buttons */
.tsd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.tsd-btn svg { width: 16px; height: 16px; }
.tsd-btn--solid {
	flex: 0 0 auto;
	color: #fff;
	background: var(--tsd-grad);
	box-shadow: 0 6px 16px rgba(18, 78, 214, .25);
}
.tsd-btn--solid:hover { transform: translateY(-1px); color: #fff; }
.tsd-btn--ghost {
	width: 100%;
	color: var(--tsd-blue);
	background: rgba(18, 78, 214, .07);
}
.tsd-btn--ghost:hover { background: rgba(18, 78, 214, .12); color: var(--tsd-blue); }

/* --- Analytics grid (donut + bars) --- */
.tsd-grid--analytics {
	grid-template-columns: 1fr 1.35fr;
	align-items: stretch;
	margin-top: 20px;
}
.tsd-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.tsd-card__sub {
	font-size: 12px;
	font-weight: 500;
	color: var(--tsd-muted);
	background: var(--tsd-bg);
	padding: 4px 11px;
	border-radius: 999px;
}

/* Donut chart */
.tsd-donut-wrap {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 24px 22px;
}
.tsd-donut {
	position: relative;
	flex: 0 0 auto;
	width: 168px;
	height: 168px;
}
.tsd-donut__track { stroke: #eef1f6; }
.tsd-donut__center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.tsd-donut__total {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	color: var(--tsd-ink);
}
.tsd-donut__cap {
	margin-top: 4px;
	font-size: 12px;
	color: var(--tsd-muted);
}
.tsd-legend {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tsd-legend__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	font-size: 13px;
}
.tsd-legend__item + .tsd-legend__item { border-top: 1px solid var(--tsd-line); }
.tsd-legend__dot {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-radius: 3px;
}
.tsd-legend__label {
	flex: 1 1 auto;
	color: #4b5266;
}
.tsd-legend__val {
	font-weight: 600;
	color: var(--tsd-ink);
	white-space: nowrap;
}
.tsd-legend__pct {
	display: inline-block;
	min-width: 40px;
	margin-left: 8px;
	text-align: right;
	color: var(--tsd-muted);
	font-weight: 500;
}

/* Bar lists */
.tsd-bars-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	padding: 24px 22px;
}
.tsd-bars__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tsd-ink);
}
.tsd-bars__ic {
	display: inline-flex;
	width: 28px;
	height: 28px;
	padding: 6px;
	border-radius: 8px;
	color: var(--tsd-blue);
	background: rgba(18, 78, 214, .08);
}
.tsd-bar {
	display: grid;
	grid-template-columns: 82px 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
}
.tsd-bar__label {
	font-size: 13px;
	color: #4b5266;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tsd-bar__track {
	height: 8px;
	border-radius: 999px;
	background: var(--tsd-bg);
	overflow: hidden;
}
.tsd-bar__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	min-width: 6px;
}
.tsd-bar__fill--carrier { background: linear-gradient(90deg, #1aa6c6, #124ed6); }
.tsd-bar__fill--dest { background: linear-gradient(90deg, #09d3ac, #1aa6c6); }
.tsd-bar__val {
	font-size: 13px;
	font-weight: 600;
	color: var(--tsd-ink);
	min-width: 34px;
	text-align: right;
}
.tsd-bars__empty {
	margin: 0;
	font-size: 13px;
	color: var(--tsd-muted);
}

/* spacing between stacked grids */
.tsd-grid + .tsd-grid { margin-top: 20px; }

/* Carriers & Destinations + Carrier Performance — equal height */
.tsd-grid--insights { align-items: stretch; }
.tsd-card--bars {
	display: flex;
	flex-direction: column;
}
.tsd-bars-grid {
	flex: 1;
}
.tsd-card--perf {
	display: flex;
	flex-direction: column;
}
.tsd-perf {
	flex: 1;
}

/* --- Shipments over time (mini bar chart) --- */
.tsd-card--trend {
	display: flex;
	flex-direction: column;
}
.tsd-trend {
	padding: 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.tsd-trend__bars {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	flex: 1;
	min-height: 170px;
}
.tsd-trend__col {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}
.tsd-trend__bar-wrap {
	flex: 1 1 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
}
.tsd-trend__val {
	font-size: 11px;
	font-weight: 700;
	color: #4b5266;
	margin-bottom: 6px;
	white-space: nowrap;
}
.tsd-trend__bar {
	display: block;
	width: 100%;
	max-width: 30px;
	border-radius: 6px 6px 0 0;
	background: linear-gradient(180deg, #1aa6c6, #124ed6);
	transition: filter .15s ease;
	min-height: 4px;
}
.tsd-trend__col:hover .tsd-trend__bar { filter: brightness(1.08); }
.tsd-trend__label {
	margin-top: 8px;
	font-size: 11px;
	color: var(--tsd-muted);
}

/* --- Carrier performance table --- */
.tsd-perf { padding: 8px 22px 18px; }
.tsd-perf__head,
.tsd-perf__row {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 14px;
	align-items: center;
}
.tsd-perf__head {
	padding: 10px 0;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--tsd-muted);
}
.tsd-perf__head span:nth-child(2),
.tsd-perf__head span:nth-child(3),
.tsd-perf__transit,
.tsd-perf__ontime {
	text-align: right;
	white-space: nowrap;
}
.tsd-perf__row {
	padding: 11px 0;
	font-size: 13.5px;
	border-top: 1px solid var(--tsd-line);
}
.tsd-perf__carrier {
	font-weight: 600;
	color: var(--tsd-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tsd-perf__transit { color: #4b5266; min-width: 64px; }
.tsd-perf__ontime {
	font-weight: 700;
	min-width: 48px;
	padding: 2px 8px;
	border-radius: 999px;
	justify-self: end;
}
.tsd-perf__ontime.is-good { color: #16a34a; background: rgba(22, 163, 74, .1); }
.tsd-perf__ontime.is-mid { color: #d97706; background: rgba(217, 119, 6, .12); }
.tsd-perf__ontime.is-low { color: #dc2626; background: rgba(220, 38, 38, .1); }
.tsd-perf__ontime.is-na { color: var(--tsd-muted); background: var(--tsd-bg); }

/* Responsive */
@media screen and (max-width: 1100px) {
	.tsd-stats { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 960px) {
	.tsd-grid { grid-template-columns: 1fr; }
	.tsd-grid--analytics { grid-template-columns: 1fr; }
}
@media screen and (max-width: 782px) {
	.tsd-stats { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 600px) {
	.tsd-stats { grid-template-columns: 1fr; }
	.tsd-hero__head { flex-direction: column; }
	.tsd-tabs { width: 100%; justify-content: space-between; }
	.tsd-donut-wrap { flex-direction: column; text-align: center; }
	.tsd-bars-grid { grid-template-columns: 1fr; gap: 22px; }
}
/** End TrackShip Dashboard redesign **/

/* =====================================================================
   TrackShip Shipments Page — modern design
   ===================================================================== */

/* Page padding */
.trackship_page_trackship-shipments #content_trackship_dashboard {
	padding: 20px 24px 32px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Rubik, Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Filter bar (date / status / provider) ---- */
.ts-filters-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--tsd-line);
	border-bottom: none;
	border-radius: var(--tsd-radius) var(--tsd-radius) 0 0;
	padding: 12px 16px;
}
.ts-filters-bar span { display: inline-flex; }

/* ---- Bulk action bar ---- */
.trackship_page_trackship-shipments .bulk_action_div {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--tsd-line);
	border-radius: 0 0 var(--tsd-radius) var(--tsd-radius);
	padding: 10px 16px;
	margin-bottom: 14px;
}
/* Hide the duplicate fixed-columns header row DataTables injects */
.trackship_page_trackship-shipments #active_shipments_table thead tr:nth-child(2) {
	display: none;
}

/* Select inputs (date range + status + provider + bulk actions) */
#content_trackship_dashboard .tab_inner_container select.select_option,
#content_trackship_dashboard .tab_inner_container input.select_option,
#content_trackship_logs .tab_inner_container select.select_option,
.trackship_page_trackship-shipments .select_option,
.trackship_page_trackship-shipments #shipment_date_range {
	height: 40px;
	padding: 0 40px 0 15px;
	border: 1px solid var(--tsd-line);
	border-radius: 8px;
	background-color: var(--tsd-bg);
	background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E);
	background-repeat: no-repeat;
	background-position: right 15px top 55%;
	-webkit-appearance: none;
	appearance: none;
	font-size: 13px;
	color: var(--tsd-ink);
	cursor: pointer;
	outline: none;
	transition: border-color .18s, box-shadow .18s;
	font-family: inherit;
}
#content_trackship_dashboard .tab_inner_container select.select_option:hover,
#content_trackship_dashboard .tab_inner_container input.select_option:hover,
#content_trackship_logs .tab_inner_container select.select_option:hover,
.trackship_page_trackship-shipments .select_option:hover,
.trackship_page_trackship-shipments #shipment_date_range:hover {
	border-color: var(--tsd-blue);
}
#content_trackship_dashboard .tab_inner_container select.select_option:focus,
#content_trackship_dashboard .tab_inner_container input.select_option:focus,
#content_trackship_logs .tab_inner_container select.select_option:focus,
.trackship_page_trackship-shipments .select_option:focus,
.trackship_page_trackship-shipments #shipment_date_range:focus {
	border-color: var(--tsd-blue);
	box-shadow: 0 0 0 3px rgba(18, 78, 214, .12);
	background-color: #fff;
	outline: none;
}
#shipment_date_range { min-width: 210px; cursor: pointer; }

/* Apply button */
.trackship_page_trackship-shipments .bulk_action_button {
	line-height: 1;
	height: 40px;
	padding: 0 30px;
	background: var(--tsd-blue);
	border: 1px solid var(--tsd-blue);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	transition: opacity .18s;
	font-family: inherit;
}
.trackship_page_trackship-shipments .bulk_action_button:hover:not(:disabled) { opacity: .86; }
.trackship_page_trackship-shipments .bulk_action_button:disabled { opacity: .38; cursor: not-allowed; }

/* ---- Active filter chips ---- */
.trackship_page_trackship-shipments .filters_div {
	margin: 0 0 12px;
	gap: 8px;
}
.trackship_page_trackship-shipments .filter_data {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 8px 4px 12px;
	background: rgba(18, 78, 214, .08);
	border: 1px solid rgba(18, 78, 214, .2);
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: var(--tsd-blue);
	cursor: pointer;
	user-select: none;
}
.trackship_page_trackship-shipments .filter_data .dashicons-no-alt {
	font-size: 14px;
	width: 14px;
	height: 14px;
	line-height: 1;
	opacity: .65;
}
.trackship_page_trackship-shipments .filter_data:hover .dashicons-no-alt { opacity: 1; }

/* ---- DataTable wrapper card ---- */
.trackship_page_trackship-shipments .dt-container {
	background: #fff;
	border: 1px solid var(--tsd-line);
	border-radius: var(--tsd-radius);
	box-shadow: var(--tsd-shadow);
	overflow: hidden;
}
/* Hide the raw DT info text that floats above the search bar (direct child of dt-container, not the one inside datatable_footer) */
.trackship_page_trackship-shipments .dt-container > .dt-info {
	display: none !important;
}
/* Hide DT native CSV button (triggered via custom icon) */
.trackship_page_trackship-shipments .dt-buttons { display: none; }

/* ---- Search / export / columns toolbar ---- */
.trackship_page_trackship-shipments .shipments_custom_data {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-bottom: 1px solid var(--tsd-line);
	background: #fff;
}
.trackship_page_trackship-shipments span.shipment_search_bar {
	flex: 1;
	margin: 0;
}
.trackship_page_trackship-shipments span.shipment_search_bar input#search_bar {
	width: 100%;
	height: 36px;
	padding: 0 34px 0 36px;
	border: 1px solid var(--tsd-line);
	border-radius: 8px;
	font-size: 13px;
	color: var(--tsd-ink);
	background: var(--tsd-bg);
	font-family: inherit;
	outline: none;
	transition: border-color .18s, box-shadow .18s, background .18s;
	box-sizing: border-box;
}
.trackship_page_trackship-shipments span.shipment_search_bar input#search_bar:focus {
	border-color: var(--tsd-blue);
	box-shadow: 0 0 0 3px rgba(18, 78, 214, .12);
	background: #fff;
}
.trackship_page_trackship-shipments .shipment_search_bar .serch_icon {
	left: 10px;
	color: var(--tsd-muted);
	font-size: 17px;
	width: 17px;
	height: 17px;
	line-height: 36px;
}
/* Export icon button */
.trackship_page_trackship-shipments .export_shipment {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--tsd-line);
	border-radius: 8px;
	background: var(--tsd-bg);
	color: var(--tsd-muted);
	cursor: pointer;
	transition: background .18s, color .18s, border-color .18s;
	flex-shrink: 0;
}
.trackship_page_trackship-shipments .export_shipment:hover {
	background: var(--tsd-blue);
	border-color: var(--tsd-blue);
	color: #fff;
}
.trackship_page_trackship-shipments .export_shipment .dashicons {
	font-size: 17px; width: 17px; height: 17px; line-height: 1; margin: 0;
}
/* Column toggle button */
.trackship_page_trackship-shipments .more_info_shipment {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--tsd-line);
	border-radius: 8px;
	background: var(--tsd-bg);
	color: var(--tsd-muted);
	cursor: pointer;
	transition: background .18s, color .18s, border-color .18s;
	flex-shrink: 0;
	position: relative;
}
.trackship_page_trackship-shipments .more_info_shipment:hover {
	background: #f1f3f5;
	border-color: #c8cdd8;
	color: var(--tsd-ink);
}
.trackship_page_trackship-shipments .more_info_shipment .dashicons {
	font-size: 17px; width: 17px; height: 17px; line-height: 1; margin: 0;
}
/* Column toggle popover */
.trackship_page_trackship-shipments .more_info_shipment {
	position: relative;
}
.trackship_page_trackship-shipments .more_info_shipment .popover__content {
	top: calc(100% + 4px);
	right: 0;
	margin-top: 0;
	border: 1px solid var(--tsd-line);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
	padding: 6px 0;
	background: #fff;
	min-width: 230px;
	max-height: 340px;
	overflow-y: auto;
	z-index: 100;
	text-align: left;
}
.trackship_page_trackship-shipments .column_toogle {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px;
	transition: background .12s;
}
.trackship_page_trackship-shipments .column_toogle:hover { background: var(--tsd-bg); }
/* Text label on the left, switch pushed to the right */
.trackship_page_trackship-shipments .column_toogle label:last-child {
	order: 1;
	flex: 1;
	font-size: 13px;
	color: var(--tsd-ink);
	cursor: pointer;
	white-space: nowrap;
}
.trackship_page_trackship-shipments .column_toogle .tgl-btn {
	order: 2;
}
/* Modern switch — blue when on */
.trackship_page_trackship-shipments .column_toogle .tgl-flat + .tgl-btn {
	width: 34px;
	height: 19px;
	padding: 2px;
	border: 0;
	border-radius: 2em;
	background: #d2d6e0;
	flex-shrink: 0;
}
.trackship_page_trackship-shipments .column_toogle .tgl-flat + .tgl-btn:after {
	width: 15px;
	height: 15px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .2);
}
.trackship_page_trackship-shipments .column_toogle .tgl-flat:checked + .tgl-btn {
	border: 0;
	background: var(--tsd-blue);
}
.trackship_page_trackship-shipments .column_toogle .tgl-flat:checked + .tgl-btn:after {
	left: calc(100% - 15px);
	background: #fff;
}

/* ---- Table ---- */
.trackship_page_trackship-shipments #active_shipments_table.dataTable {
	border: none !important;
	border-collapse: collapse !important;
	font-size: 13px;
	width: 100% !important;
}
.trackship_page_trackship-shipments #active_shipments_table thead th {
	background: var(--tsd-bg) !important;
	color: var(--tsd-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	border-bottom: 1px solid var(--tsd-line) !important;
	border-top: none !important;
	padding: 10px 12px !important;
	white-space: nowrap;
}
/* DataTable sort arrows */
.trackship_page_trackship-shipments #active_shipments_table thead th.sorting:after,
.trackship_page_trackship-shipments #active_shipments_table thead th.sorting_asc:after,
.trackship_page_trackship-shipments #active_shipments_table thead th.sorting_desc:after {
	color: var(--tsd-muted);
	opacity: .7;
}
.trackship_page_trackship-shipments #active_shipments_table thead th.sorting_asc:after,
.trackship_page_trackship-shipments #active_shipments_table thead th.sorting_desc:after {
	color: var(--tsd-blue);
	opacity: 1;
}
.trackship_page_trackship-shipments #active_shipments_table tbody tr {
	background: #fff !important;
	transition: background .12s ease;
}
/* Row striping + hover — applied at td level so the sticky first/last (FixedColumns) cells match the row */
.trackship_page_trackship-shipments #active_shipments_table tbody tr td {
	background: #fff !important;
}
.trackship_page_trackship-shipments #active_shipments_table tbody tr:nth-child(even) td {
	background: #f7f9fc !important;
}
.trackship_page_trackship-shipments #active_shipments_table tbody tr:hover td {
	background: #edf3fe !important;
}
.trackship_page_trackship-shipments #active_shipments_table tbody td {
	border-bottom: 1px solid var(--tsd-line) !important;
	border-top: none !important;
	padding: 9px 12px !important;
	vertical-align: middle;
	font-size: 13px;
	color: var(--tsd-ink);
}
.trackship_page_trackship-shipments #active_shipments_table tbody tr:last-child td {
	border-bottom: none !important;
}
/* Links inside table */
.trackship_page_trackship-shipments #active_shipments_table tbody a {
	color: var(--tsd-blue);
	font-weight: 500;
	text-decoration: none;
}
.trackship_page_trackship-shipments #active_shipments_table tbody a:hover { text-decoration: underline; }

/* Country flag */
.country_flag { width: 20px; height: auto; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.shipment_country { display: inline-flex; align-items: center; white-space: nowrap; }

/* Tracking number copy icon */
.copied_tracking_numnber.dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	margin-right: 4px;
	color: var(--tsd-muted);
	cursor: pointer;
	vertical-align: middle;
	transition: color .15s;
}
.copied_tracking_numnber.dashicons:hover { color: var(--tsd-blue); }

/* Refresh/update action icon */
.shipments_get_shipment_status .dashicons-update {
	color: var(--tsd-muted);
	cursor: pointer;
	font-size: 20px;
	width: 20px;
	height: 20px;
	transition: color .15s, transform .3s;
}
.shipments_get_shipment_status:hover .dashicons-update { color: var(--tsd-blue); }
.shipments_get_shipment_status.spin .dashicons-update {
	animation: tss-spin .7s linear infinite;
	color: var(--tsd-blue);
}
@keyframes tss-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Shipping time cell — needs higher specificity to beat tbody td span { inline-block } */
table.dataTable tbody td span.shipment_length {
	display: inline-flex !important;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--tsd-ink);
	white-space: nowrap;
	line-height: 1 !important;
}

/* Late shipment — amber pill: use :has() because late_class is only on the inner icon span */
table.dataTable tbody td span.shipment_length:has(.late_shipment) {
	background: rgba(217, 119, 6, .1);
	color: #b45309;
	padding: 3px 8px 3px 5px;
	border-radius: 20px;
}

/* Override the 17px font-size from shipments.css for the icon inside this cell */
span.shipment_length span.dashicons.dashicons-info {
	font-size: 14px !important;
	width: 14px;
	height: 14px;
	margin: 0 !important;
	line-height: 1 !important;
	flex-shrink: 0;
}

/* Late indicator icon colour */
.dashicons.late_shipment {
	color: #d97706;
}

/* ---- Pagination footer ---- */
.trackship_page_trackship-shipments .datatable_footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 16px;
	border-top: 1px solid var(--tsd-line);
	background: var(--tsd-bg);
	border-radius: 0 0 var(--tsd-radius) var(--tsd-radius);
}
.trackship_page_trackship-shipments .datatable_footer .dt-info {
	font-size: 13px;
	color: var(--tsd-muted);
}
.trackship_page_trackship-shipments .datatable_footer .dt-paging {
	display: flex;
	align-items: center;
	gap: 3px;
}
.trackship_page_trackship-shipments .dt-paging .dt-paging-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid var(--tsd-line);
	border-radius: 6px;
	font-size: 13px;
	color: var(--tsd-ink);
	background: #fff;
	cursor: pointer;
	text-decoration: none !important;
	transition: background .15s, border-color .15s, color .15s;
	box-sizing: border-box;
}
.trackship_page_trackship-shipments .dt-paging .dt-paging-button:hover {
	background: var(--tsd-bg);
	border-color: var(--tsd-blue);
	color: var(--tsd-blue) !important;
}
.trackship_page_trackship-shipments .dt-paging .dt-paging-button.current,
.trackship_page_trackship-shipments .dt-paging .dt-paging-button.current:hover {
	background: var(--tsd-blue) !important;
	border-color: var(--tsd-blue) !important;
	color: #fff !important;
	font-weight: 600;
}
.trackship_page_trackship-shipments .dt-paging .dt-paging-button.disabled,
.trackship_page_trackship-shipments .dt-paging .dt-paging-button.disabled:hover {
	opacity: .35;
	cursor: not-allowed;
	background: #fff;
	color: var(--tsd-ink) !important;
	border-color: var(--tsd-line) !important;
}
.trackship_page_trackship-shipments .datatable_footer .dt-length select {
	height: 32px;
	padding: 0 28px 0 10px;
	border: 1px solid var(--tsd-line);
	border-radius: 8px;
	font-size: 13px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	-webkit-appearance: none;
	appearance: none;
	color: var(--tsd-ink);
	outline: none;
	cursor: pointer;
	font-family: inherit;
}

/* =====================================================================
   End TrackShip Shipments Page
   ===================================================================== */

/* =====================================================================
   TrackShip Logs Page
   ===================================================================== */

/* ---- Filter / toolbar bar ---- */
.trackship_page_trackship-logs .trackship_logs_option {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--tsd-line);
	border-radius: var(--tsd-radius);
	padding: 12px 16px;
	box-shadow: var(--tsd-shadow);
	margin-bottom: 14px;
}
.trackship_page_trackship-logs .trackship_logs_option > span {
	display: inline-flex;
}

/* ---- Select inputs ---- */
.trackship_page_trackship-logs .select_option {
	height: 36px;
	padding: 0 32px 0 12px;
	border: 1px solid var(--tsd-line);
	border-radius: 8px;
	background-color: var(--tsd-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	-webkit-appearance: none;
	appearance: none;
	font-size: 13px;
	color: var(--tsd-ink);
	outline: none;
	cursor: pointer;
	font-family: inherit;
	min-width: 160px;
	transition: border-color .18s;
}
.trackship_page_trackship-logs .select_option:focus {
	border-color: var(--tsd-blue);
	box-shadow: 0 0 0 3px rgba(18,78,214,.10);
}

/* ---- Search group (input + clear + button) ---- */
.trackship_page_trackship-logs span.log_search_bar {
	flex: 1;
	display: flex !important;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	position: relative;
	float: none !important;
	max-width: 420px;
}
.trackship_page_trackship-logs span.log_search_bar input#search_bar {
	flex: 1;
	height: 36px;
	padding: 0 28px 0 12px;
	border: 1px solid var(--tsd-line);
	border-radius: 8px;
	font-size: 13px;
	color: var(--tsd-ink);
	background: var(--tsd-bg);
	font-family: inherit;
	outline: none;
	transition: border-color .18s, box-shadow .18s, background .18s;
	box-sizing: border-box;
}
.trackship_page_trackship-logs span.log_search_bar input#search_bar:focus {
	border-color: var(--tsd-blue);
	box-shadow: 0 0 0 3px rgba(18,78,214,.12);
	background: #fff;
}
.trackship_page_trackship-logs span.log_search_bar .dashicons-no {
	position: absolute;
	right: 96px;
	top: 50%;
	transform: translateY(-50%);
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--tsd-muted);
	font-size: 14px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 50%;
	transition: color .18s, background .18s;
}
.trackship_page_trackship-logs span.log_search_bar .dashicons-no:hover {
	color: var(--tsd-ink);
	background: rgba(107, 114, 128, .12);
}
.trackship_page_trackship-logs button.serch_button {
	height: 36px;
	padding: 0 16px;
	border: none;
	border-radius: 8px;
	background: var(--tsd-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
	transition: background .18s;
	flex-shrink: 0;
	float: none !important;
}
.trackship_page_trackship-logs button.serch_button:hover {
	background: #0f3fb5;
}

/* ---- DataTable wrapper card ---- */
.trackship_page_trackship-logs .dt-container {
	background: #fff;
	border: 1px solid var(--tsd-line);
	border-radius: var(--tsd-radius);
	box-shadow: var(--tsd-shadow);
	overflow: hidden;
}
/* The container owns the border — the inner table's square border gets clipped at the rounded corners */
.trackship_page_trackship-logs .dt-container table.dataTable {
	border: 0;
}

/* Hide the floating dt-info above the table */
.trackship_page_trackship-logs .dt-container > .dt-info {
	display: none !important;
}

/* ---- Table head ---- */
.trackship_page_trackship-logs #trackship_notifications_logs thead th {
	background: var(--tsd-bg);
	font-size: 11px;
	font-weight: 600;
	color: var(--tsd-muted);
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 10px 16px;
	border-bottom: 1px solid var(--tsd-line);
	white-space: nowrap;
}
.trackship_page_trackship-logs #trackship_notifications_logs tbody td {
	padding: 9px 12px;
	font-size: 13px;
	color: var(--tsd-ink);
	border-bottom: 1px solid var(--tsd-line);
	vertical-align: middle;
}
.trackship_page_trackship-logs #trackship_notifications_logs tbody tr:last-child td {
	border-bottom: none;
}
/* Row striping + hover — same as Shipments table */
.trackship_page_trackship-logs #trackship_notifications_logs tbody tr td {
	background: #fff !important;
}
.trackship_page_trackship-logs #trackship_notifications_logs tbody tr:nth-child(even) td {
	background: #f7f9fc !important;
}
.trackship_page_trackship-logs #trackship_notifications_logs tbody tr:hover td {
	background: #edf3fe !important;
}

/* ---- Pagination footer ---- */
.trackship_page_trackship-logs .datatable_footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 16px;
	border-top: 1px solid var(--tsd-line);
	background: var(--tsd-bg);
	border-radius: 0 0 var(--tsd-radius) var(--tsd-radius);
}
.trackship_page_trackship-logs .datatable_footer .dt-info {
	font-size: 13px;
	color: var(--tsd-muted);
}
.trackship_page_trackship-logs .datatable_footer .dt-paging {
	display: flex;
	align-items: center;
	gap: 3px;
}
.trackship_page_trackship-logs .dt-paging .dt-paging-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid var(--tsd-line);
	border-radius: 6px;
	font-size: 13px;
	color: var(--tsd-ink);
	background: #fff;
	cursor: pointer;
	text-decoration: none !important;
	transition: background .15s, border-color .15s, color .15s;
	box-sizing: border-box;
}
.trackship_page_trackship-logs .dt-paging .dt-paging-button:hover {
	background: var(--tsd-bg);
	border-color: var(--tsd-blue);
	color: var(--tsd-blue) !important;
}
.trackship_page_trackship-logs .dt-paging .dt-paging-button.current,
.trackship_page_trackship-logs .dt-paging .dt-paging-button.current:hover {
	background: var(--tsd-blue) !important;
	border-color: var(--tsd-blue) !important;
	color: #fff !important;
	font-weight: 600;
}
.trackship_page_trackship-logs .dt-paging .dt-paging-button.disabled,
.trackship_page_trackship-logs .dt-paging .dt-paging-button.disabled:hover {
	opacity: .35;
	cursor: not-allowed;
	background: #fff;
	color: var(--tsd-ink) !important;
	border-color: var(--tsd-line) !important;
}
.trackship_page_trackship-logs .datatable_footer .dt-length select {
	height: 32px;
	padding: 0 28px 0 10px;
	border: 1px solid var(--tsd-line);
	border-radius: 6px;
	font-size: 13px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	-webkit-appearance: none;
	appearance: none;
	color: var(--tsd-ink);
	outline: none;
	cursor: pointer;
	font-family: inherit;
}

/* =====================================================================
   End TrackShip Logs Page
   ===================================================================== */

/* =====================================================================
   TrackShip Settings Page (trackship-for-woocommerce)
   ===================================================================== */

/* ---- Sub-tab navigation bar ---- */
.trackship_page_trackship-for-woocommerce .trackship_nav_div > div:first-child {
	background: #fff;
	border-bottom: 1px solid var(--tsd-line);
	display: flex;
	align-items: stretch;
	padding: 0 20px;
}
.trackship_page_trackship-for-woocommerce label.tab_label {
	font-size: 13px;
	font-weight: 500;
	color: var(--tsd-muted) !important;
	padding: 14px 16px !important;
	margin: 0 !important;
	border-bottom: 2px solid transparent;
	transition: color .15s, border-color .15s;
	white-space: nowrap;
	line-height: 1.5;
	display: inline-flex;
	align-items: center;
}
.trackship_page_trackship-for-woocommerce label.tab_label:hover {
	color: var(--tsd-ink) !important;
}
.trackship_page_trackship-for-woocommerce .woocommerce.trackship_admin_layout input.tab_input:checked + label.tab_label {
	color: var(--tsd-blue) !important;
	border-bottom: 2px solid var(--tsd-blue) !important;
	margin-top: 0 !important;
}
/* Hide the hamburger/activity panel */
.trackship_page_trackship-for-woocommerce .ts_activity-panel {
	display: none !important;
}
/* Remove old divider (sub-tab bar now has its own border-bottom) */
.trackship_page_trackship-for-woocommerce .menu_devider {
	display: none;
}

/* ---- Tab section content area ---- */
.trackship_page_trackship-for-woocommerce #content_trackship_settings,
.trackship_page_trackship-for-woocommerce #content_trackship_notifications,
.trackship_page_trackship-for-woocommerce #content_trackship_integrations,
.trackship_page_trackship-for-woocommerce #content_trackship_tools,
.trackship_page_trackship-for-woocommerce #content_trackship_setup {
	margin: 20px;
}

.trackship_page_trackship-for-woocommerce .ts-setup-card {
	display: flex;
	gap: 20px;
	background: #fff;
	border: 1px solid var(--tsd-line);
	border-radius: var(--tsd-radius);
	box-shadow: var(--tsd-shadow);
	padding: 24px;
	max-width: 640px;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card--enabled {
	background: #f0fdf9;
	border-color: #a7f3e0;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(18, 78, 214, 0.08);
	color: var(--tsd-blue);
	display: flex;
	align-items: center;
	justify-content: center;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card__icon svg {
	width: 22px;
	height: 22px;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card__icon--green {
	background: rgba(9, 211, 172, 0.12);
	color: #059669;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card__body {
	flex: 1;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--tsd-ink);
	margin: 0 0 6px;
	padding: 0;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card__desc {
	font-size: 13px;
	color: var(--tsd-muted);
	margin: 0 0 16px;
	line-height: 1.6;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card__link {
	font-size: 13px;
	color: var(--tsd-blue);
	text-decoration: none;
}
.trackship_page_trackship-for-woocommerce .ts-setup-card__link:hover {
	text-decoration: underline;
}

/* ---- Accordion sections (Settings tab) ---- */
.trackship_page_trackship-for-woocommerce .accordion_container .heading_panel:hover {
	border-color: #c5cadd !important;
	background: #fafbff !important;
}
/* "Save & close" button: hidden when collapsed, shown when active */
/* Right side of the header (arrow / spinner / save button) — reserve the button's
   height in the closed state too, so the header doesn't grow when opened */
.trackship_page_trackship-for-woocommerce .accordion_container .heading_panel .heading_panel_save {
	float: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
}
.trackship_page_trackship-for-woocommerce .accordion_container .heading_panel .button-primary {
	display: inline-flex !important;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	font-size: 13px;
	border-radius: 8px;
	background: var(--tsd-blue) !important;
	border-color: var(--tsd-blue) !important;
	box-shadow: none !important;
}

/* ---- Settings: two-column sidebar layout ---- */
.trackship_page_trackship-for-woocommerce .ts-settings-layout {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.trackship_page_trackship-for-woocommerce #ts-settings-nav,
.trackship_page_trackship-for-woocommerce .trackship_tab_name {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 200px;
	background: #fff;
	border: 1px solid var(--tsd-line);
	border-radius: var(--tsd-radius);
	box-shadow: var(--tsd-shadow);
	padding: 8px 0;
	gap: 2px;
}
.trackship_page_trackship-for-woocommerce .ts-settings-main {
	flex: 1;
	min-width: 0;
}
/* Sidebar nav items */
.trackship_page_trackship-for-woocommerce .ts-nav-item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 16px;
	font-size: 13px;
	font-weight: 500;
	color: var(--tsd-muted);
	border-left: 3px solid transparent;
	cursor: pointer;
	transition: color .15s, background .15s, border-color .15s;
}
.trackship_page_trackship-for-woocommerce .ts-nav-item .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.trackship_page_trackship-for-woocommerce .ts-nav-item:hover {
	color: var(--tsd-ink);
	background: rgba(18, 78, 214, .05);
	border-left-color: var(--tsd-line);
}
.trackship_page_trackship-for-woocommerce .ts-nav-item.active {
	color: var(--tsd-blue);
	background: rgba(18, 78, 214, .07);
	border-left-color: var(--tsd-blue);
	font-weight: 600;
}
.trackship_page_trackship-for-woocommerce .ts-settings-main .accordion_container .heading_panel:hover {
	border-color: var(--tsd-line) !important;
	background: #fff !important;
}
.trackship_page_trackship-for-woocommerce .ts-settings-main .accordion_container .heading_panel .button-primary {
	display: inline-flex !important;
}

/* ---- Settings panels: rows & controls ---- */
.trackship_page_trackship-for-woocommerce .panel_content .settings_ul li label,
.trackship_page_trackship-for-woocommerce .panel_content .settings_ul li > span {
	font-size: 13px;
	color: var(--tsd-ink);
}
/* Modern blue switches (visual only — same controls) */
.trackship_page_trackship-for-woocommerce .tgl-flat + .tgl-btn {
	width: 34px;
	height: 19px;
	padding: 2px;
	border: 0;
	border-radius: 2em;
	background: #d2d6e0;
	vertical-align: middle;
}
.trackship_page_trackship-for-woocommerce .tgl-flat + .tgl-btn:after {
	width: 15px;
	height: 15px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .2);
}
.trackship_page_trackship-for-woocommerce .tgl-flat:checked + .tgl-btn {
	border: 0;
	background: #09d3ac;
}
.trackship_page_trackship-for-woocommerce .tgl-flat:checked + .tgl-btn:after {
	left: calc(100% - 15px);
	background: #fff;
}
/* Help tips */
.trackship_page_trackship-for-woocommerce .panel_content .woocommerce-help-tip {
	color: var(--tsd-muted);
}
/* Text / number inputs */
.trackship_page_trackship-for-woocommerce .panel_content input[type="text"],
.trackship_page_trackship-for-woocommerce .panel_content input[type="number"] {
	height: 36px;
	padding: 0 12px;
	border: 1px solid var(--tsd-line);
	border-radius: 8px;
	background: #fff;
	font-size: 13px;
	color: var(--tsd-ink);
	transition: border-color .18s, box-shadow .18s;
}
.trackship_page_trackship-for-woocommerce .panel_content input[type="text"]:focus,
.trackship_page_trackship-for-woocommerce .panel_content input[type="number"]:focus {
	border-color: var(--tsd-blue);
	box-shadow: 0 0 0 3px rgba(18, 78, 214, .12);
	outline: none;
}
/* Selects */
.trackship_page_trackship-for-woocommerce .panel_content select {
	height: 36px;
	padding: 0 32px 0 12px;
	border: 1px solid var(--tsd-line);
	border-radius: 8px;
	background-color: #fff;
	font-size: 13px;
	color: var(--tsd-ink);
}
/* Select2 search input — transparent, no border in all states */
.settings_ul .select2-container .select2-search--inline .select2-search__field,
.settings_ul .select2-container .select2-search--inline .select2-search__field:hover,
.settings_ul .select2-container .select2-search--inline .select2-search__field:focus,
.settings_ul .select2-container .select2-search--inline .select2-search__field:active {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

/* Select2 multi-select (order statuses) */
.trackship_page_trackship-for-woocommerce .panel_content .select2-container .select2-selection--multiple {
	border: 1px solid var(--tsd-line) !important;
	border-radius: 8px !important;
	background: #fff;
}
.trackship_page_trackship-for-woocommerce .panel_content .select2-selection--multiple .select2-selection__choice {
	background: rgba(18, 78, 214, .08) !important;
	border: 1px solid rgba(18, 78, 214, .2) !important;
	border-radius: 14px !important;
	color: var(--tsd-blue) !important;
	font-size: 12px;
	padding: 2px 10px !important;
}
.trackship_page_trackship-for-woocommerce .panel_content .select2-selection__choice__remove {
	color: var(--tsd-blue) !important;
}

.ts_notifications_outer_table .smswoo-row.smswoo-shipment-row {
	margin-bottom: 0px;
	border: 0;
	border-bottom: 1px solid #e8e8e8;
	border-radius: 0;
}

.ts_notifications_outer_table .smswoo-row.smswoo-shipment-row .smswoo-top {
	padding: 10px 16px;
}

/* Notifications: two-card layout with gap — sidebar + content */
.trackship_page_trackship-for-woocommerce .ts_notifications_outer_table {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}
.trackship_page_trackship-for-woocommerce .inner_tab_section {
	flex: 1;
	min-width: 0;
}
.tab_inner_container .inner_tab_section {
	width: 100%;
}
.trackship_page_trackship-for-woocommerce #content_trackship_notifications .inner_tab_section {
	background: #fff;
	border: 1px solid var(--tsd-line);
	border-radius: var(--tsd-radius);
	box-shadow: var(--tsd-shadow);
	overflow: hidden;
}

/* ---- Notifications: unified status list (rows were separate bordered strips) ---- */
.trackship_page_trackship-for-woocommerce .form-table.shipment-status-email-table {
	border-spacing: 0;
	margin-top: 0 !important;
}
.trackship_page_trackship-for-woocommerce .woocommerce.trackship_admin_layout table.form-table.shipment-status-email-table td {
	border: 0;
	border-bottom: 1px solid var(--tsd-line);
	padding: 10px 16px;
	background: #fff;
	transition: background .12s;
}
.trackship_page_trackship-for-woocommerce .shipment-status-email-table tbody tr:last-child td {
	border-bottom: 0;
}
.trackship_page_trackship-for-woocommerce .shipment-status-email-table tbody tr:hover td {
	background: #fafbfe;
}
/* Strip the per-row corner radii from the old strip design */
.trackship_page_trackship-for-woocommerce .woocommerce.trackship_admin_layout .form-table.shipment-status-email-table tr td:first-child,
.trackship_page_trackship-for-woocommerce .woocommerce.trackship_admin_layout .form-table.shipment-status-email-table tr td:nth-child(2) {
	border-radius: 0;
}
.trackship_page_trackship-for-woocommerce .shipment-status-email-table tr td.status-label-column strong {
	font-size: 14px;
	font-weight: 600;
	color: var(--tsd-ink);
}
/* Delivered row checkbox — full custom styling (WP admin ::before unreliable here) */
.trackship_page_trackship-for-woocommerce input[type="checkbox"]:not(.tgl) {
	appearance: none;
	-webkit-appearance: none;
	width: 16px !important;
	height: 16px !important;
	min-width: 16px;
	margin: 0 6px 0 0;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	background-color: #fff;
	cursor: pointer;
	vertical-align: middle;
	flex-shrink: 0;
	position: relative;
}
.trackship_page_trackship-for-woocommerce input[type="checkbox"]:not(.tgl)::before {
	content: none !important;
}
.trackship_page_trackship-for-woocommerce input[type="checkbox"]:not(.tgl):checked {
	background-color: #2271b1 !important;
	border-color: #2271b1 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px;
}
.trackship_page_trackship-for-woocommerce .shipment-status-email-table tr.disable {
	opacity: 0.55;
}
/* Gear / customizer icon */
.trackship_page_trackship-for-woocommerce .form-table.shipment-status-email-table .edit_customizer_a {
	color: var(--tsd-muted);
	transition: color .15s;
}
.trackship_page_trackship-for-woocommerce .form-table.shipment-status-email-table .edit_customizer_a:hover {
	color: var(--tsd-ink);
}
/* Expanded per-status settings panel */
.trackship_page_trackship-for-woocommerce .trackship_admin_layout .admin_notifiations_content {
	border: 0;
	border-bottom: 1px solid var(--tsd-line);
	border-radius: 0;
	background: #fafbfe;
}

/* ---- Tools tab: full-width action cards ---- */
.trackship_page_trackship-for-woocommerce .tools_tab {
	max-width: 100% !important;
}
.trackship_page_trackship-for-woocommerce .tools_tab .inner_div {
	background: #fff;
	border: 1px solid var(--tsd-line) !important;
	border-radius: var(--tsd-radius) !important;
	box-shadow: var(--tsd-shadow);
	padding: 16px 20px !important;
	margin-bottom: 10px;
	max-width: 100% !important;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 16px;
}
.trackship_page_trackship-for-woocommerce .tools_tab .inner_div p {
	font-size: 13px;
	color: var(--tsd-ink);
	margin: 0;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.trackship_page_trackship-for-woocommerce .tools_tab .tools-ts-button {
	flex-shrink: 0;
	height: 36px;
	padding: 0 16px;
	border-radius: 8px !important;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
}
.trackship_page_trackship-for-woocommerce .tools_tab .button-trackship {
	background: var(--tsd-blue) !important;
	border-color: var(--tsd-blue) !important;
	color: #fff !important;
}
.trackship_page_trackship-for-woocommerce .tools_tab .button-trackship:hover {
	background: #0f3fb5 !important;
	border-color: #0f3fb5 !important;
}
.trackship_page_trackship-for-woocommerce .tools_tab .button-trackship-red {
	background: #ef4444 !important;
	border-color: #ef4444 !important;
	color: #fff !important;
}
.trackship_page_trackship-for-woocommerce .tools_tab .button-trackship-red:hover {
	background: #dc2626 !important;
	border-color: #dc2626 !important;
}

/* ---- Integrations: improved card style ---- */
.trackship_page_trackship-for-woocommerce .ts_integrations_row .ts-grid-item {
	border: 1px solid var(--tsd-line) !important;
	border-radius: var(--tsd-radius) !important;
	box-shadow: var(--tsd-shadow);
	padding: 16px 20px;
	margin: 0 12px 12px 0;
	transition: box-shadow .18s, border-color .18s;
}
.trackship_page_trackship-for-woocommerce .ts_integrations_row .ts-grid-item:hover {
	box-shadow: 0 4px 16px rgba(18,78,214,.10);
	border-color: #c5cadd !important;
}

/* =====================================================================
   End TrackShip Settings Page
   ===================================================================== */

/* ==========================================================
	🔷 Iintegrations LAYOUT START
	========================================================== */
.ts_integrations_row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}
/* Each integration box/card */
.ts_integrations_row .ts-grid-item {
	padding: 14px;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	margin: 0 14px 14px 0;
	display: flex;
	align-items: center;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}
/* Hover effect for cards */
.ts_integrations_row .ts-grid-item:hover {
	background: #f9f9f9;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
/* ==========================================================
   🔷 IMAGE SECTION
   ========================================================== */
.ts_integration_image {
	margin-right: 15px;
	height: 40px;
}
.ts_integration_image img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}
/* ==========================================================
   🔷 TITLE + DOCUMENTATION LINK
   ========================================================== */
.ts_integration_title {
	display: flex;
	flex-direction: column; /* title + doc stacked vertically */
	align-items: flex-start;
	color: #005b9a;
	font-size: 15px;
	font-weight: 600;
}
/* Documentation link under title */
.ts_integration_doc a {
	font-size: 13px;
	color: #666;
	display: inline-block;
}
.ts_integration_doc a:hover {
	color: #2271b1;
}
/* ==========================================================
   🔷 TOGGLE SWITCH
   ========================================================== */
.ts_integration_checkbox {
	margin-left: auto;
	display: flex;
	align-items: center;
}
/* ==========================================================
   🔷 RESPONSIVE GRID (Existing Breakpoints)
   ========================================================== */
@media (min-width: 1550px) {
	.ts_integrations_row .ts-grid-item:nth-child(5n) {
		margin: 0 0 14px 0;
	}
}
@media (min-width: 1100px) and (max-width: 1500px) {
	.ts_integrations_row {
		grid-template-columns: repeat(4, 1fr);
	}
	.ts_integrations_row .ts-grid-item:nth-child(4n) {
		margin: 0 0 14px 0;
	}
}
@media (min-width: 768px) and (max-width: 1100px) {
	.ts_integrations_row {
		grid-template-columns: repeat(3, 1fr);
	}
	.ts_integrations_row .ts-grid-item:nth-child(3n) {
		margin: 0 0 14px 0;
	}
}
@media (min-width: 500px) and (max-width: 767px) {
	.ts_integrations_row {
		grid-template-columns: repeat(2, 1fr);
	}
	.ts_integrations_row .ts-grid-item:nth-child(2n) {
		margin: 0 0 14px 0;
	}
}
@media (max-width: 499px) {
	.ts_integrations_row {
		grid-template-columns: repeat(1, 1fr);
	}
	.ts_integrations_row .ts-grid-item:nth-child(1n) {
		margin: 0 0 14px 0;
	}
}
/* ==========================================================
	🔷 Iintegrations LAYOUT END
	========================================================== */

@media (min-width: 992px) {
.col-lg-6 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%;
}
.tab_inner_container .tools_tab_ts4wc.tools_tab button.button-primary.tools-ts-button {
	float: right;
}
.rtl .tab_inner_container .tools_tab_ts4wc.tools_tab button.button-primary.tools-ts-button {
	float: left;
}
}
@media (max-width: 992px) {
	.tab_inner_container .tools_tab_ts4wc.tools_tab button.button-primary.tools-ts-button {
		display: block;
	}
}

@media screen and (min-width: 768px) and (max-width: 1269px) {
.ts_col_4 {
	max-width: 50%;
	-ms-flex-preferred-size: 50%;
	flex-basis: 50%;
}
}

@media screen and (max-width: 768px) {
.ts_col_4 {
	max-width: 100%;
	-ms-flex-preferred-size: 100%;
	flex-basis: 100%;
}
.ts_col_6 {
	max-width: 100%;
	-ms-flex-preferred-size: 100%;
	flex-basis: 100%;
}
span.select_t_layout_section {
	width: 46%;
}
.shipment-status-email-table.form-table td {
	display: table-cell;
}
}

@media screen and (max-width: 500px) {
select#tracking_page_id {
	margin-left: 0;
	display: block;
	margin-top: 10px;
}
label.inner_tab_label {
	padding: 15px 14px;
	font-size: 13px;
}
#admin_tracking_widget .popuprow {
	margin-top: 50px;
}
}

@media screen and (max-width: 600px) {
select#tracking_page_id {
	margin-left: 0;
	display: block;
	margin-top: 10px;
}
label.inner_tab_label {
	padding: 15px 14px;
	font-size: 13px;
}
}

@media screen and (max-width: 700px) {
.tab_inner_container .fullfillment_dashboard {
	display: block;
}
.fullfillment_dashboard .fullfillment_dashboard_section {
	width: 100%;
}
}

@media screen and (max-width: 782px) {
#content_trackship_map-providers .map-provider-table tr td, #content_trackship_map-providers .map-provider-table tr th {
	display: inline-flex;
}
.shipment-status-email-section .form-table.shipment-status-email-table {
	table-layout: auto;
}

/* Settings & Notifications: stack sidebar above content on mobile */
.trackship_page_trackship-for-woocommerce .ts-settings-layout,
.trackship_page_trackship-for-woocommerce .ts_notifications_outer_table {
	flex-direction: column;
	gap: 12px;
}
.trackship_page_trackship-for-woocommerce #ts-settings-nav,
.trackship_page_trackship-for-woocommerce .trackship_tab_name {
	width: 100%;
	flex-direction: row;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 6px;
	gap: 4px;
}
.trackship_page_trackship-for-woocommerce .ts-nav-item {
	flex: 0 0 auto;
	justify-content: center;
	white-space: nowrap;
	border-left: 0 !important;
	border-bottom: 3px solid transparent;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 12px;
}
.trackship_page_trackship-for-woocommerce .ts-nav-item.active {
	border-left-color: transparent !important;
	border-bottom-color: var(--tsd-blue);
}
/* Content panel: full width */
.trackship_page_trackship-for-woocommerce .ts-settings-main,
.trackship_page_trackship-for-woocommerce .ts-settings-main .accordion_container,
.trackship_page_trackship-for-woocommerce .ts-settings-main .accordion_container > * {
	width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box;
}
/* Heading panel: keep title + button on one line */
.trackship_page_trackship-for-woocommerce .accordion_container .heading_panel {
	flex-wrap: nowrap;
	gap: 8px;
}
.trackship_page_trackship-for-woocommerce .accordion_container .heading_panel strong {
	font-size: 13px;
}
}
@media screen and (min-width: 600px) {
.select2-selection.select2-selection--multiple {
	width: 500px !important;
}
}

@media screen and (max-width: 840px) {
	.col.tracking-detail {
		margin: 0 20px 20px;
	}
	.shipment-header {
		margin: 0 20px -1px;
	}
}

/* === Sync TrackShip Providers Popup === */
.sync_trackship_provider_popup {
	background: rgba(15, 23, 42, .45);
}
.sync_trackship_provider_popup .popuprow.trackship_provider {
	width: 440px;
	max-width: calc(100% - 30px);
	border: 0;
	border-radius: var(--tsd-radius, 14px);
	box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
	overflow: hidden;
}
.sync_trackship_provider_popup .popup_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--tsd-line, #e9ebf2);
}
.sync_trackship_provider_popup .popup_header h3.popup_title {
	font-size: 15px;
	font-weight: 600;
	color: var(--tsd-ink, #1f2540);
	margin: 0;
	display: block;
}
.sync_trackship_provider_popup .popup_header .popup_close_icon {
	position: static;
	width: 28px;
	height: 28px;
	font-size: 18px;
	line-height: 28px;
	border: 0;
	border-radius: 50%;
	color: var(--tsd-muted, #6b7280);
	cursor: pointer;
	text-align: center;
	transition: color .18s, background .18s;
}
.sync_trackship_provider_popup .popup_header .popup_close_icon:hover {
	color: var(--tsd-ink, #1f2540);
	background: rgba(107, 114, 128, .12);
}
.sync_trackship_provider_popup .popup_body {
	padding: 20px;
}
.sync_trackship_provider_popup .popup_body .sync_message {
	font-size: 13px;
	color: var(--tsd-muted, #6b7280);
	line-height: 1.6;
	margin: 0 0 20px;
}
.sync_trackship_provider_popup .popup_body .synch_result {
	display: none;
	background: rgba(9, 211, 172, .08);
	border: 1px solid rgba(9, 211, 172, .3);
	border-radius: 8px;
	padding: 10px 14px;
	margin: 0 0 16px;
	list-style: none;
}
.sync_trackship_provider_popup .popup_body .synch_result li {
	font-size: 13px;
	color: #059669;
	font-weight: 500;
}
.sync_trackship_provider_popup .popup_body .synch_result li::before {
	content: '✓  ';
}
.sync_trackship_provider_popup .popup_body .sync_trackship_providers_btn {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}
.ts-dots-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 0;
}
.ts-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	animation: ts-dot-bounce .9s ease-in-out infinite;
}
.ts-dot--green { background: #09d3ac; animation-delay: 0s; }
.ts-dot--blue:nth-child(2) { background: #124ed6; animation-delay: .18s; }
.ts-dot--blue:nth-child(3) { background: #124ed6; animation-delay: .36s; }
@keyframes ts-dot-bounce {
	0%, 80%, 100% { transform: scale(0.6); opacity: .5; }
	40%            { transform: scale(1);   opacity: 1; }
}

/* === Single Order Edit — TrackShip Metabox === */
div#trackship-tracking-items .tracking-content:not(:last-child) {
	border-bottom: 1px solid #E2E8F0;
	padding-bottom: 11px;
	margin-bottom: 11px;
}
#trackship-tracking-items .tracking-content > div:first-child {
	font-size: 13px;
	color: var(--tsd-ink);
	margin-bottom: 6px;
	line-height: 1.4;
}
#trackship-tracking-items .tracking-content > div:first-child strong {
	color: var(--tsd-ink);
	font-weight: 600;
}
#trackship-tracking-items .tracking-content > div:first-child a {
	color: var(--tsd-blue);
	text-decoration: none;
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 12px;
}
#trackship-tracking-items .tracking-content > div:first-child a:hover {
	text-decoration: underline;
}
.ts-last-event-date {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--tsd-muted);
}
.ts-last-event-date .ts4wc_track_button,
.ts-last-event-date a {
	margin-left: 6px;
	color: var(--tsd-blue);
	text-decoration: none;
}
.ts-shipment-est-delivery {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--tsd-muted);
}
.ts-shipment-est-delivery .ts4wc_track_button,
.ts-shipment-est-delivery a {
	margin-left: 6px;
	color: var(--tsd-blue);
	text-decoration: none;
}
span.view_shipment_log a {
	font-size: 12px;
	color: var(--tsd-muted);
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
}
span.view_shipment_log a:hover {
	color: var(--tsd-blue);
	border-bottom-color: var(--tsd-blue);
}
