
/* POS Modifications */

.tc-layout-single.pos-sale-document-type-quotation .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_QUOTATION"].tc-input-checked {
	background-color: #fce3fc;
}

.tc-layout-single.pos-sale-document-type-order .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_ORDER"].tc-input-checked {
	background-color: #e3e3fc;
}

.tc-layout-single.pos-sale-document-type-packing-slip .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_PACKING_SLIP"].tc-input-checked {
	background-color: #e3fcfc;
}

.tc-layout-single.pos-sale-document-type-invoice .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_INVOICE"].tc-input-checked {
	background-color: #e3fce3;
}

.tc-layout-single.pos-sale-document-type-invoice-receipt .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_INVOICE_RECEIPT"].tc-input-checked {
	background-color: #fcfce3;
}

.tc-layout-single.pos-sale-document-type-receipt .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_RECEIPT"].tc-input-checked {
	background-color: #fce3e3;
}


.tc-field[data-item-type="tc_pos_sale_creator"][data-field="customer"] .tc-control-value {
	background: #d2d2d2 !important;
	border-color: #d2d2d2 !important;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="customer"].club-member-customer .tc-control-value{
	background: #cbe5a4 !important;
	border-color: #d2d2d2 !important;
}

.tc-club-member-table-row {
	background: #cbe5a4;
}

/*.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"],*/
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"],
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"],
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] {
	font-size: 26px;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-caption-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-caption-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-caption-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-caption-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-control-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-control-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-control-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-control-wrapper {
	width: 50%;
}

/*.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-caption,*/
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-caption,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-caption,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-caption {
	line-height: 28px;
}

/*.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-input.tc-input-text,*/
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-input.tc-input-text,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-input.tc-input-text,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-input.tc-input-text {
	height: 38px;
	text-align: left;
	border: none;
}

/*.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-control-extra-action .tc-button .tc-icon,*/
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-control-extra-action .tc-button .tc-icon,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-control-extra-action .tc-button .tc-icon,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-control-extra-action .tc-button .tc-icon {
	margin-top: 5px;
}


.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] .tc-input.tc-input-thumbnail {
	width: 80px;
	height: 62px;
	display: table-cell;
	vertical-align: middle;
	color: white;
	background: #1886ed;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] .tc-input.tc-input-thumbnail .tc-input-thumbnail-caption {
	white-space: normal;
	height: auto;
}


@media screen and (min-width: 768px) {

	.tc-root-rtl .tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-controls.tc-main-actions-bottom {
		text-align: right;
	}

	.tc-root-ltr .tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-controls.tc-main-actions-bottom {
		text-align: left;
	}


	.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] {
		position: fixed;
		bottom: 20px;
		padding: 3px 4px 3px 3px;
		z-index: 100;
	}

	.tc-root-rtl .tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] {
		left: 20px;
	}

	.tc-root-rtl .tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"].receipt-payment-type {
		left: 105px !important;
	}

	.tc-root-ltr .tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] {
		right: 20px;
	}

	.tc-root-ltr .tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"].receipt-payment-type {
		right: 105px !important;
	}

	.tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-widgets + .tc-main-separator {
		margin: 0;
		border: none;
	}

	.tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button {
		position: fixed;
		bottom: 35px;
		padding: 23.5px 11.5px;
		z-index: 100;
	}

	.tc-root-rtl .tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button[data-button="dialog_cancle"]{
		right: 265px;
	}

	.tc-root-ltr .tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button[data-button="dialog_submit"] {
		right: 35px;
	}

	.tc-root-ltr .tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button[data-button="dialog_cancle"],
	.tc-root-rtl .tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button[data-button="dialog_submit"]{
		left: 20px;
	}

	.tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-buttons > li {
		margin: 5px 1px;
	}
}


@media screen and (max-width: 767px) {

	.tc-field[data-item-type="tc_pos_sale_creator"][data-field="product_options"] .tc-input-thumbnail .tc-image-button,
	.tc-field[data-item-type="tc_pos_sale_creator"][data-field="favorite_products"] .tc-input-thumbnail .tc-image-button {
		max-width: 110px;
	}
}


.tc-field[data-item-type="tc_pos_sale_creator"][data-field="refund_products"] .tc-table-column[data-field="quantity"] .tc-table-cell,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="refund_products"] .tc-table-column[data-field="min_products"] .tc-table-cell {
	color: #DE4B1F;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="discount_vat"].negative-discount .tc-input.tc-input-text.tc-control-value,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="discount_percent"].negative-discount .tc-input.tc-input-text.tc-control-value {
	color: #DE4B1F;
}


.tc-field[data-item-type="pos_search_product_dialog"][data-field="product_links"] .tc-table-column[data-field="pos_display_name"],
.tc-field[data-item-type="pos_edit_favorite_products_dialog"][data-field="product_links"] .tc-table-column[data-field="pos_display_name"] {
	width: 50%;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="products"] .tc-table-column[data-field="product"] {
	width: 40%;
}

/*pos sale product type*/
.tc-pos-sale-product-type-handle .tc-table-column[data-field="quantity"] {
	background: #7DC7F0;
}
.tc-pos-sale-product-type-return .tc-table-column[data-field="quantity"] {
	background: #F4D865;
}
.tc-pos-sale-product-type-refund .tc-table-column[data-field="quantity"] {
	background: #F0AC6E;
}

.tc-widget[data-item-type="tc_pos_sale_creator"] {
	border: none;
	margin-bottom: 0 !important;
}

.tc-widget[data-item-type="tc_pos_sale_creator"] .tc-form {
	padding: 5px;
}

/*
.pos-sale-quotation ??
.tc-widget[data-item-type="tc_pos_sale_creator"][data-widget="document_type"] .tc-input.tc-input-switch.tc-input-checked {
	background-color: #eeebf4ff;
}

order
background-color: #e6f3ffff;

packing slip
background-color: #f1ffedff;

invoice
background-color: #fff1e3ff;

invoice receipt
background-color: #fed9d2ff;

*/
.tc-widget[data-item-type="pos_receipt_dialog"][data-widget="details"] .tc-form-description{
	font-weight: bold;
	font-size: 18px;
}

.tc-widget[data-item-type="pos_customer_balance_dialog"][data-widget="details"].pos-customer-balance-debt  .tc-form-description {
	font-weight: bold;
	font-size: 18px;
	color: #DE4B1F;
}

.tc-widget[data-item-type="pos_customer_balance_dialog"][data-widget="details"].pos-customer-balance-credit  .tc-form-description {
	font-weight: bold;
	font-size: 18px;
	color: #59BF43;
}


.tc-field.tc-confirmation-number-missing {
	outline: 1px solid red;
}

.tc-table-row.tc-confirmation-number-missing {
	background: orange;
}

.tc-table-row[data-item-type="pos_sale"].sale-strikethrough {
	text-decoration: line-through !important;
}

.tc-table-row[data-item-type="ai_assistant_product"].no-sup-pcn .tc-table-column[data-field="sup_pcn"],
.tc-table-row[data-item-type="sup_order_product"].no-sup-pcn .tc-table-column[data-field="sup_pcn"] {
	background: #fce3e3;
}
