/* Settings - connection tab starts */
.inpost_intl_before_setting_desc {
	display: block;
}
.nav-tab {
	border: none !important;
	background: none !important;
}
.nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover {
	border-bottom: 5px solid #FECB2C !important;
	background: none !important;
	color: #000;
}
#inpost-intl-disconnection-preloader {
	display:none;
}
#inpost-intl-connection-preloader {
	display:none;
}
#inpost-intl-disconnection-preloader.show {
	display: inline-block;
	margin-left: 10px;
	top: 8px;
	position: relative;
}
#inpost-intl-connection-preloader.show {
	display: inline-block;
	top: 8px;
	position: relative;
	margin-left: 10px;
}
.inpost-intl-connection-status {
	display: none;
}
span.status.inpost-intl-action-status.status_hidden {
	display: none;
}
span.status.inpost-intl-action-status {
	display: block;
	top: 3px;
	position: relative;
}
.inpost-intl-connection-status.green {
	display: block;
}
.inside.inpost-intl-connection-row {
	display: block;
	margin-right: 12px;
	margin-top: 25px;
}
.inpost-intl-connection.connected {
	color: #47b869;
	cursor: pointer;
	text-decoration: none;
	background-color: #e4ebe6;
	padding: 8px 30px 8px 30px;
	font-size: 15px;
	font-weight: bold;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, .1);
	transition: background-color .1s ease-out 0s;
}
.inpost-intl-connection {
	color: #f8fffa;
	cursor: pointer;
	text-decoration: none;
	background-color: #47b869;
	padding: 8px 30px 8px 30px;
	font-size: 15px;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, .1);
	transition: background-color .1s ease-out 0s;
}
.inpost-intl-connection:hover {
	color: #fff;
}
.inpost-intl-connection.connected:hover {
	color: #47b869;
}
.inpost-intl-connection.disconnect:hover {
	color: #fff;
}

#submit_inpost_international_settings_auth {
	display: none ! important;
}

#inpost-intl-enabled-only-for-admins-preloader {
	display: none;
	top: 11px;
	position: relative;
	margin-left: 10px;
}
.status.enabled-only-for-admins.inpost-intl-action-status {
	display: none;
}

p.inpost_intl_sever_cron_description {
	padding-top: 30px;
	padding-left: 5px;
}
input#inpost_international_server_cron {
	width: 50%;
}

.inpost-cron-input-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

/* Input styling */
/*#inpost_international_server_cron {
	flex: 1;
}*/

/* Copy icon styling */
.inpost-copy-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #b6bdc0;
	color: white;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	font-size: 18px;
}

.inpost-copy-icon:hover {
	background: #47b869;
	transform: translateY(-1px);
}

.inpost-copy-icon:active {
	transform: translateY(0);
}

/* Success state */
.inpost-copy-icon.copied {
	background: #46b450;
}

/* Tooltip styling */
.inpost-copy-tooltip {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #333;
	color: white;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	pointer-events: none;
	margin-bottom: 5px;
	z-index: 1000;
}

.inpost-copy-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 4px solid transparent;
	border-top-color: #333;
}

.inpost-copy-icon:hover .inpost-copy-tooltip {
	opacity: 1;
	visibility: visible;
}

/* Settings - connection tab ends */



form[action="options.php"][method="post"] {
	display: none;
}
a.nav-tab.nav-tab-active {
	box-shadow: unset;
	outline: unset;
}
p.inpost_intl_before_setting_description {
	padding-left: 5px;
	padding-bottom: 10px;
	font-weight: 600;
}
p.inpost_intl_before_setting_description.inpost_intl_padding_20 {
	padding-bottom: 20px;
}
/*input.inpost_international_dmtemplate_selected {
	display: none;
}*/



/* Product table starts */
td.img.column-img >img {
	max-width: 100px;
	height: auto;
}
.form-field {
	display: flex;
	align-items: center;
	gap: 10px;
}
.form-field label {
	order: 2;
}
.form-field input {
	order: 1;
}
th#action_button_result {
	width: 130px;
}
.inpost_intl_row > .inpost_intl_row_item {
	display: inline-block;
}
.inpost_intl_row_item.item_right {
	float: right;
	width: 40%;
	margin-right: 50px;
	margin-top: 10px;
	padding-right: 10px;

}
p.search-box {
	float: unset;
}
span.inpost_intl_row_item.item_left {
	margin-right: 25px;
	padding-left: 10px;
}
img.inpost_action_result_preloader.preloader_hidden {
	display: none;
}
img.inpost_action_result_preloader {
	margin-top: 10px;
	display: block;
}
span.inpost_action_result > img {
	display: flex;
	margin-left: auto;
	margin-right: auto;
}
.inpost_intl_row {
	border-radius: 5px;
	margin-bottom: 20px;
}
span.inpost_intl_row_item {
	margin-right: 30px;
}
.status.inpost-intl-action-status {
	display: block;
	width: 18px;
	height:18px;
	-ms-transform: rotate(45deg); /* IE 9 */
	-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
	transform: rotate(45deg);
	margin-left: 10px;
	margin-top: 10px;
}
.status.inpost-intl-action-status:after{
	content: "";
	position: absolute;
	width: 6px;
	height: 6px;
	background-color: #7DCFFF;
	left: 0px;
	top: 12px;
}
.status.inpost-intl-action-status:before{
	content: "";
	position: absolute;
	width: 6px;
	height: 18px;
	background-color: #7DCFFF;
	left: 6px;
	top: 0px;
}

.status.inpost-intl-action-status:after,
.status.inpost-intl-action-status:before{
	background-color: #259621;
}

.inpost_intl_row > .inpost_intl_row_item {
	display: inline-block;
	max-width: 45%;
}
.inpost_intl_row > .inpost_intl_row_item > img {
	display: inline-block;
	max-width: 100%;
}
.custom_product_table_settings_wrap {
	max-width: 99%;
}
.tablenav.top {
	max-width: 99%;
}
.tablenav.bottom {
	max-width: 99%;
}
th.manage-column.column-sku.sortable.desc {
	max-width: 100px;
}
th.manage-column.column-locker {
	max-width: 150px;
}
th.manage-column.column-action_result {
	max-width: 120px;
}
th.manage-column.column-categories {
	width: 150px;
	max-width: 200px;
}
#inpost_intl_filters {
	margin-bottom: 20px;
}
#inpost-intl-allow-all-preloader {
	display: none;
	top: 11px;
	position: relative;
	margin-left: 10px;
}
.status.allow-all.inpost-intl-action-status {
	display: none;
}

/* Product table ends */


/* Help tab starts */
.inside.inpost_intl_helpul_section {
	margin-left: 180px;
}
.inside.inpost_intl_helpul_section > p {
	font-size: 16px;
}
#inpost_help_form {
	color: #f8fffa;
	cursor: pointer;
	text-decoration: none;
	background-color: #47b869;
	padding: 8px 30px 8px 30px;
	font-size: 15px;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, .1);
	transition: background-color .1s ease-out 0s;
}

/* Help tab ends */


/* Shipments table starts */
input#filter_action_shipments {
	display: block;
	max-width: 95px;
}
span.button-secondary.shipment_status {
	border-radius: 20px;
	font-size: 12px;
	min-width: 105px;
}
span.button-secondary.shipment_status.created {
	background: #eee;
}
span.button-secondary.shipment_status.new {
	background: #ffea8a;
}
td.img.column-img >img {
	max-width: 100px;
	height: auto;
}
.form-field {
	display: flex;
	align-items: center;
	gap: 10px;
}
.form-field label {
	order: 2;
}
.form-field input {
	order: 1;
}
th#action_result {
	width: 45px;
}
.inpost_pl_row > .inpost_pl_row_item {
	display: inline-block;
}
.inpost_pl_row_item.item_right {
	float: right;
}
p.search-box {
	float: unset;
}
span.inpost_pl_row_item.item_left {
	margin-right: 25px;
}
p.inpost-intl-search-box > input {
	max-width: 15%;
	width: 15%;
}
input#inpost-intl-search-shipments-reset {
	width: auto;
}
.widefat td .recipient-data p {
	margin: 1px 0 1px 0;
}
.inpost-intl-filter-box-shipments {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.inpost-intl-filter-box-shipments > .filter-group {
	width: auto;
}
.filter-group {
	display: flex;
	align-items: center;
}
.filter-group select {
	margin-right: 10px;
}
span.filter-group.cut-off {
	width: auto;
}
input#inpost_intl_cutoff_action {
	margin-right: 10px;
}
input#inpost_intl_cutoff_postal_code {
	margin-right: 10px;
}
span.inpost_intl_pickup_order_preloader {
	margin-left: 10px;
	display: none;
}
span.inpost_intl_cut_off_preloader {
	margin-right: 10px;
	display: none;
}
select, .button {
	padding: 5px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.button {
	background-color: #f0f0f0;
	cursor: pointer;
}
@media (max-width: 768px) {
	.inpost-intl-filter-box-shipments {
		flex-direction: column;
		align-items: stretch;
	}

	.filter-group {
		margin-bottom: 10px;
	}
}

input#inpost-intl-search-shipments-submit {
	background: #ffcc07;
	color: #000;
	border: 2px solid #000 ! important;
}
input#search-shipments-submit {
	float: right;
	color: #000;
	background: #ffcc07;
	margin-bottom: 25px;
}
span.button-secondary.shipment_id_add {
	color: #000;
	background: #ffcc07;
}
.inpost-intl-btn-shipment-action > span.dashicons {
	vertical-align: middle;
	color: #888a8c;
}
.inpost-intl-btn-status-action > span.dashicons {
	vertical-align: middle;
	color: #888a8c;
}
.inpost-intl-btn-shipment-action.button-secondary {
	margin-left: 3px;
	margin-right: 3px;
	border-color:#000;
	margin-bottom: 5px;
}
.inpost-intl-btn-status-action.button-secondary {
	margin-left: 3px;
	margin-right: 3px;
	border-color:#000;
	margin-bottom: 5px;
}
.recipient-data {
	font-size: 0.9em;
	line-height: 1.2;
}
.recipient-data p {
	margin: 0 0 0.2em 0;
}
.recipient-name {
	font-size: 1.1em;
}

.wp-list-table {
	table-layout: fixed;
	width: 100%;
}
.column-cb {
	width: 30px;
}
.column-order_id {
	width: 90px;
}
.column-order_tracking {
	width: 160px;
	word-wrap: break-word;
}
.column-status {
	width: 100px;
	text-align: center;
}
.column-dimensions {
	width: 140px;
}
.column-send_method {
	width: 100px;
}
.column-package_created,
.column-package_dispatched {
	width: 90px;
}
.column-recipient {
	width: auto;
	min-width: 200px;
}
.column-ref_number {
	width: 110px;
}
.column-action {
	width: 80px;
	text-align: center;
}
.wp-list-table th,
.wp-list-table td {
	padding: 8px;
	word-wrap: break-word;
	white-space: normal;
}
p.inpost-intl-search-box {
	margin-bottom: 50px;
}


.inpost_intl_cutoff_date.empty {
	border: 2px solid red;
}

.inpost_intl_cutoff_date.deadline {
	border: 2px solid green;
}

span.maybe_cutt_off_time_error {
	display: block;
	margin-left: 480px;
}
span.inpost_intl_shipment_list_preloader {
	display: none;
}

span.inpost_intl_get_labels_preloader {
	display: none;
	margin-left: 10px;
}
#create_pickup_order_result {
	display: none;
	margin-top: 20px;
}
input#inpost_intl_create_pickup_order {
	margin-left: 10px;
}
input.inpost_intl_cutoff_date {
	margin-right: 10px;
}
input#inpost_intl_pickup_order_parcel_qty {
	margin-right: 10px;
}
input#inpost_intl_pickup_order_parcel_weight {
	margin-right: 10px;
}
input#inpost_intl_create_pickup_order {
	margin-right: 10px;
}

.inpost_intl_manage_shipments {
	display: inline-block;
	margin-top: 40px;
}

.filter-group.cut-off {
	display: flex;
	flex-direction: column;
	gap: 10px; /* Adjust the gap as needed */
}

.filter-group.cut-off select,
.filter-group.cut-off input,
.filter-group.cut-off span {
	width: 100%; /* Ensure all elements take full width */
	box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.filter-group.cut-off .inpost_intl_cut_off_preloader,
.filter-group.cut-off .inpost_intl_pickup_order_preloader {
	display: none;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.filter-group.cut-off .inpost_intl_cut_off_preloader img,
.filter-group.cut-off .inpost_intl_pickup_order_preloader img {
	max-width: 100%;
	height: auto;
}

/* Shipments table ends */


/* Status modal - start */
.inpost_intl_status_modal {
	display: none;
	position: absolute;
	z-index: 99999999999
}
.inpost_intl_status_modal.active {
	display: block;
}
.modalCover {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0.8;
	-moz-opacity: 0.8;
	background: #000;
	z-index: 912931293923
}
.modalContext {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 20px 30px;
	border-radius: 4px;
	font-size: 16px;
	z-index: 91293129392323
}
.inpost_intl_status_modal_text_wrapper {
	text-align: center;
}
.inpost_intl_status_modal_title {
	text-align: center;
}
.inpost_intl_status_modal_text {
	text-align: center;
}

.inpost_intl_status_modal_text > p {
	margin-bottom: 5px;
	margin-top: 0;
}

#inpost_intl_status_modal_close_button {
	border: 0 !important;
	font-size: 19px !important;
	font-weight: 400;
	line-height: 28px;
	box-shadow: 0 15px 30px -18px rgba(0,0,0,90%) !important;
	color: #fff;
	-webkit-transition: all .3s;
	transition: all .3s;
	display: block;
	vertical-align: middle;
	text-align: center;
	background-color: #FECB2C;
	padding: 7px 30px 12px 30px;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 5px;
	margin-bottom: 15px;
}
#inpost_intl_status_modal_close_button:hover {
	cursor: pointer;
}
.inpost_intl_status_modal_text_wrapper > img {
	max-width: 100px;
}

.inpost_intl_status_modal_text {
	min-width: 270px;
}

.tracking-events {
	border-collapse: collapse;
	width: 100%;
}

.tracking-events th,
.tracking-events td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

.tracking-events th {
	background-color: #f2f2f2;
}
.tracking-events-container {
	max-height: 40vh;
	overflow-y: auto;
}

.tracking-events {
	width: 100%;
}

.tracking-events thead {
	position: sticky;
	top: 0;
	background-color: #fff;
	z-index: 1;
}
/* Status modal - end */


/* Dispatch points table starts */
th.inpost_intl_manage_point_th {
	width: 10%;
}
span.button-secondary.shipment_status {
	border-color: #312f2f;
	color: #000;
}
span.button-secondary.shipment_id_add {
	border-color: #312f2f;
}



/* Geowidget tab starts */
input#inpost_international_settings_geowidget\[geowidget_production_token\] {
	width: 70%;
}
input#inpost_international_settings_geowidget\[geowidget_sandbox_token\] {
	width: 70%;
}
span.wp-color-result-text {
	color: #000;
	border-color: #000 ! important;
	background: none ! important;
}
/* Geowidget tab ends */



/* Webhook tab starts */
input#inpost_international_settings_webhook\[webhook_url\] {
	width: 70%;
}
/* Webhook tab ends */



.inpost-intl-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}
.inpost-intl-switch input {display:none;}
.inpost-intl-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}
.inpost-intl-slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}
input:checked + .inpost-intl-slider {
	background-color: #FECB2C;
}

input:focus + .inpost-intl-slider {
	box-shadow: 0 0 1px #FECB2C;
}
input:checked + .inpost-intl-slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

#wpfooter {
	position: relative;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 10px 20px;
	color: #50575e;
}

select#inpost_international_settings_merchant\[country\] {
    width: 25em;
}
