/**
 * FME Upload Files — Bootstrap-free UI base (grid, buttons, tabs, modals).
 * Scoped to .Fme_Upload_Files (admin) and storefront plugin containers.
 */

/* ------------------------------------------------------------------ */
/* Design tokens (overridable in Upload_Files_Admin.css)              */
/* ------------------------------------------------------------------ */
.Fme_Upload_Files,
.fmeuploadfile-upload-handler,
.fme-upload-wrap,
.fme-file-uploader-popup-wrapper,
.fme-file-cropper-popup-wrapper,
#fme_upload_files_order_row,
.woocommerce-order-details,
.woocommerce-table--order-details {
	--fme-brand: #18abe3;
	--fme-brand-dark: #1496c7;
	--fme-brand-light: #e8f7fc;
	--fme-primary: #2271b1;
	--fme-primary-dark: #1557b0;
	--fme-primary-light: #e8f0fe;
	--fme-edit: #2271b1;
	--fme-edit-dark: #4f46e5;
	--fme-danger: #dc2626;
	--fme-danger-dark: #b91c1c;
	--fme-success: #16a34a;
	--fme-success-dark: #15803d;
	--fme-surface: #ffffff;
	--fme-surface-muted: #f8f9fa;
	--fme-surface-page: #f0f2f5;
	--fme-border: #e5e7eb;
	--fme-border-input: #e0e0e0;
	--fme-text: #1f2937;
	--fme-text-muted: #6b7280;
	--fme-text-heading: #374151;
	--fme-radius: 8px;
	--fme-radius-sm: 6px;
	--fme-radius-lg: 16px;
	--fme-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	--fme-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--fme-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
	--fme-focus-ring: 0 0 0 2px #fff, 0 0 0 4px var(--fme-primary);
}

/* ------------------------------------------------------------------ */
/* Grid (Bootstrap 3 class compatibility)                             */
/* ------------------------------------------------------------------ */
.Fme_Upload_Files .container-fluid {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	box-sizing: border-box;
}

.Fme_Upload_Files .row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
	box-sizing: border-box;
}

.Fme_Upload_Files .row > [class*="col-"] {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	box-sizing: border-box;
}

.Fme_Upload_Files .clearfix::before,
.Fme_Upload_Files .clearfix::after {
	content: " ";
	display: table;
}

.Fme_Upload_Files .clearfix::after {
	clear: both;
}

/* xs */
.Fme_Upload_Files .col-xs-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.Fme_Upload_Files .col-xs-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.Fme_Upload_Files .col-xs-3 { flex: 0 0 25%; max-width: 25%; }
.Fme_Upload_Files .col-xs-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.Fme_Upload_Files .col-xs-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.Fme_Upload_Files .col-xs-6 { flex: 0 0 50%; max-width: 50%; }
.Fme_Upload_Files .col-xs-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.Fme_Upload_Files .col-xs-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.Fme_Upload_Files .col-xs-9 { flex: 0 0 75%; max-width: 75%; }
.Fme_Upload_Files .col-xs-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.Fme_Upload_Files .col-xs-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.Fme_Upload_Files .col-xs-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 768px) {
	.Fme_Upload_Files .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
	.Fme_Upload_Files .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
	.Fme_Upload_Files .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
	.Fme_Upload_Files .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.Fme_Upload_Files .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
	.Fme_Upload_Files .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
	.Fme_Upload_Files .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
	.Fme_Upload_Files .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
	.Fme_Upload_Files .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
	.Fme_Upload_Files .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
	.Fme_Upload_Files .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
	.Fme_Upload_Files .col-sm-12 { flex: 0 0 100%; max-width: 100%; }

	.Fme_Upload_Files .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
	.Fme_Upload_Files .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
	.Fme_Upload_Files .col-md-3 { flex: 0 0 25%; max-width: 25%; }
	.Fme_Upload_Files .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.Fme_Upload_Files .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
	.Fme_Upload_Files .col-md-6 { flex: 0 0 50%; max-width: 50%; }
	.Fme_Upload_Files .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
	.Fme_Upload_Files .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
	.Fme_Upload_Files .col-md-9 { flex: 0 0 75%; max-width: 75%; }
	.Fme_Upload_Files .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
	.Fme_Upload_Files .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
	.Fme_Upload_Files .col-md-12 { flex: 0 0 100%; max-width: 100%; }

	.Fme_Upload_Files .col-md-offset-1 { margin-left: 8.333333%; }
	.Fme_Upload_Files .col-md-offset-2 { margin-left: 16.666667%; }
	.Fme_Upload_Files .col-md-offset-3 { margin-left: 25%; }
	.Fme_Upload_Files .col-md-offset-10 { margin-left: 83.333333%; }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                            */
/* ------------------------------------------------------------------ */
.Fme_Upload_Files .btn,
.fmeuploadfile-upload-handler .btn,
.fme-upload-wrap .btn,
.woocommerce-order-details .btn,
.woocommerce-table--order-details .btn,
#fme_upload_files_order_row .btn {
	display: inline-block;
	margin-bottom: 0;
	font-weight: 500;
	text-align: center;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	white-space: nowrap;
	padding: 8px 16px;
	font-size: 13px;
	line-height: 1.5;
	border-radius: var(--fme-radius-sm);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
	text-decoration: none;
}

.Fme_Upload_Files .btn:focus,
.fmeuploadfile-upload-handler .btn:focus,
.fme-upload-wrap .btn:focus {
	outline: none;
	box-shadow: var(--fme-focus-ring);
}

.Fme_Upload_Files .btn-sm,
.fmeuploadfile-upload-handler .btn-sm,
.fme-upload-wrap .btn-sm,
.woocommerce-order-details .btn-sm {
	padding: 5px 12px;
	font-size: 12px;
	line-height: 1.4;
	border-radius: var(--fme-radius-sm);
}

.Fme_Upload_Files .btn-primary,
.fmeuploadfile-upload-handler .btn-primary,
.fme-upload-wrap .btn-primary {
	color: #fff;
	background-color: var(--fme-primary);
	border-color: var(--fme-primary-dark);
	box-shadow: 0 1px 2px rgba(26, 115, 232, 0.2);
}

.Fme_Upload_Files .btn-primary:hover,
.fmeuploadfile-upload-handler .btn-primary:hover,
.fme-upload-wrap .btn-primary:hover {
	color: #fff;
	background-color: var(--fme-primary-dark);
	border-color: var(--fme-primary-dark);
}

.Fme_Upload_Files .btn-success,
.fmeuploadfile-upload-handler .btn-success,
.fme-upload-wrap .btn-success,
.woocommerce-order-details .btn-success {
	color: #fff;
	background-color: var(--fme-success);
	border-color: var(--fme-success-dark);
}

.Fme_Upload_Files .btn-success:hover,
.fmeuploadfile-upload-handler .btn-success:hover,
.fme-upload-wrap .btn-success:hover,
.woocommerce-order-details .btn-success:hover {
	background-color: var(--fme-success-dark);
	border-color: var(--fme-success-dark);
}

.Fme_Upload_Files .btn-danger,
.fmeuploadfile-upload-handler .btn-danger,
.fme-upload-wrap .btn-danger,
.woocommerce-order-details .btn-danger {
	color: #fff;
	background-color: var(--fme-danger);
	border-color: var(--fme-danger-dark);
}

.Fme_Upload_Files .btn-danger:hover,
.fmeuploadfile-upload-handler .btn-danger:hover,
.fme-upload-wrap .btn-danger:hover,
.woocommerce-order-details .btn-danger:hover {
	background-color: var(--fme-danger-dark);
	border-color: var(--fme-danger-dark);
}

.Fme_Upload_Files .btn-default,
.fmeuploadfile-upload-handler .btn-default,
.fme-upload-wrap .btn-default {
	color: var(--fme-text);
	background-color: var(--fme-surface);
	border-color: var(--fme-border);
}

.Fme_Upload_Files .btn-default:hover,
.fmeuploadfile-upload-handler .btn-default:hover,
.fme-upload-wrap .btn-default:hover {
	background-color: var(--fme-surface-muted);
	border-color: #c3c4c7;
}

/* ------------------------------------------------------------------ */
/* Tabs                                                               */
/* ------------------------------------------------------------------ */
.Fme_Upload_Files .tab-content > .tab-pane {
	display: none;
}

.Fme_Upload_Files .tab-content > .tab-pane.active {
	display: block;
}

/* ------------------------------------------------------------------ */
/* Modal                                                              */
/* ------------------------------------------------------------------ */
.Fme_Upload_Files .modal {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100050;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}

.Fme_Upload_Files .modal.fme-modal-open,
.Fme_Upload_Files .modal.in {
	display: block;
}

.Fme_Upload_Files .fme-uf-modal-backdrop {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100040;
	background-color: rgba(0, 0, 0, 0.5);
}

.Fme_Upload_Files .fme-uf-modal-backdrop.fme-modal-open {
	display: block;
}

.Fme_Upload_Files .modal-dialog {
	position: relative;
	width: auto;
	max-width: min(1150px, calc(100vw - 48px));
	min-height: calc(100vh - 32px);
	display: flex;
	align-items: center;
	margin: 16px auto;
	float: none;
	pointer-events: none;
}

.Fme_Upload_Files .modal.fme-modal-open .modal-dialog,
.Fme_Upload_Files .modal.in .modal-dialog {
	pointer-events: auto;
}

.Fme_Upload_Files .modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	max-height: calc(100dvh - 32px);
	background-color: var(--fme-surface);
	border: none;
	border-radius: var(--fme-radius-lg);
	box-shadow: var(--fme-shadow-lg);
	background-clip: padding-box;
	outline: 0;
	overflow: hidden;
}

.Fme_Upload_Files .modal-header {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 28px 20px;
	border-bottom: 1px solid var(--fme-border);
	background: var(--fme-surface);
}

.Fme_Upload_Files .modal-header .modal-title {
	margin: 0;
	flex: 1;
	order: 1;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--fme-text);
	letter-spacing: -0.02em;
}

.Fme_Upload_Files .modal-header .modal-title::before {
	content: "RULE EDITOR";
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--fme-text-muted);
	margin-bottom: 6px;
}

.Fme_Upload_Files .modal-header .close {
	float: none;
	flex-shrink: 0;
	order: 2;
	padding: 8px 16px;
	margin: 0;
	background: var(--fme-surface);
	border: 1px solid var(--fme-border-input);
	border-radius: var(--fme-radius-sm);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--fme-text-muted);
	cursor: pointer;
	opacity: 1;
	min-height: 36px;
}

.Fme_Upload_Files .modal-header .close span {
	display: none;
}

.Fme_Upload_Files .modal-header .close::after {
	content: "Close";
	font-size: 13px;
	font-weight: 500;
}

.Fme_Upload_Files .modal-header .close:hover {
	color: var(--fme-text);
	border-color: #c3c4c7;
	background: var(--fme-surface-muted);
}

.Fme_Upload_Files .modal-body {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 24px 28px;
	background: var(--fme-surface);
}

.Fme_Upload_Files .modal-footer {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding: 18px 28px 24px;
	border-top: 1px solid var(--fme-border);
	background-color: var(--fme-surface);
	border-radius: 0;
}

.Fme_Upload_Files .modal-footer .btn-default {
	padding: 10px 20px;
	min-height: 42px;
	border: 1px solid var(--fme-border-input);
	border-radius: var(--fme-radius-sm);
	background: var(--fme-surface);
	color: var(--fme-text-muted);
	font-weight: 500;
}

.Fme_Upload_Files .modal-footer .btn-default:hover {
	background: var(--fme-surface-muted);
	color: var(--fme-text);
}

.Fme_Upload_Files .modal-footer .btn-success {
	padding: 10px 24px;
	min-height: 42px;
	border: none;
	border-radius: var(--fme-radius-sm);
	background: var(--fme-primary);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	box-shadow: 0 1px 3px rgba(26, 115, 232, 0.3);
}

.Fme_Upload_Files .modal-footer .btn-success:hover {
	background: var(--fme-primary-dark);
	color: #fff;
}

.Fme_Upload_Files .modal-lg {
	width: min(920px, 94vw);
	max-width: min(920px, 94vw);
}

#Fme_upload_files_modal_dialogue {
	max-width: min(1040px, calc(100vw - 48px)) !important;
	width: auto !important;
	margin: 16px auto !important;
	float: none !important;
}

@media (max-width: 782px) {
	.Fme_Upload_Files .modal-dialog,
	#Fme_upload_files_modal_dialogue {
		width: calc(100vw - 16px) !important;
		max-width: calc(100vw - 16px) !important;
		min-height: calc(100dvh - 16px);
		margin: 8px auto;
	}

	.Fme_Upload_Files .modal-content {
		max-height: calc(100dvh - 16px);
		border-radius: 12px;
	}

	.Fme_Upload_Files .modal-header,
	.Fme_Upload_Files .modal-body,
	.Fme_Upload_Files .modal-footer {
		padding-left: 16px;
		padding-right: 16px;
	}

	.Fme_Upload_Files .modal-header {
		gap: 8px;
		flex-wrap: wrap;
	}

	.Fme_Upload_Files .modal-header .close {
		margin-left: auto;
	}

	.Fme_Upload_Files .modal-header .modal-title {
		font-size: 18px;
	}
}

/* ------------------------------------------------------------------ */
/* Form controls (admin settings)                                     */
/* ------------------------------------------------------------------ */
.Fme_Upload_Files input[type="text"],
.Fme_Upload_Files input[type="number"],
.Fme_Upload_Files input[type="email"],
.Fme_Upload_Files input[type="password"],
.Fme_Upload_Files input[type="url"],
.Fme_Upload_Files select,
.Fme_Upload_Files textarea {
	max-width: 100%;
	width: 100%;
	min-height: 42px;
	padding: 10px 14px;
	border: 1px solid var(--fme-border-input);
	border-radius: var(--fme-radius-sm);
	font-size: 14px;
	line-height: 1.5;
	color: var(--fme-text);
	background-color: var(--fme-surface);
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.Fme_Upload_Files textarea {
	min-height: 88px;
	resize: vertical;
}

.Fme_Upload_Files input[type="text"]:focus,
.Fme_Upload_Files input[type="number"]:focus,
.Fme_Upload_Files input[type="email"]:focus,
.Fme_Upload_Files select:focus,
.Fme_Upload_Files textarea:focus {
	border-color: var(--fme-primary);
	box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
	outline: none;
}

.Fme_Upload_Files input[type="radio"] {
	width: 16px !important;
	height: 16px !important;
	min-height: 16px !important;
	max-width: 16px !important;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	accent-color: var(--fme-primary);
}

.Fme_Upload_Files input.cmn-toggle {
	position: absolute;
	margin-left: -9999px;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	max-width: none !important;
	visibility: hidden;
}

.Fme_Upload_Files input[type="checkbox"]:not(.cmn-toggle) {
	/* width: auto; */
	min-height: auto;
}

/* Data tables (reference-style) */
.Fme_Upload_Files table,
.Fme_Upload_Files .table {
	border-collapse: collapse;
	width: 100%;
	border: none;
	background: var(--fme-surface);
}

.Fme_Upload_Files table th,
.Fme_Upload_Files table td,
.Fme_Upload_Files .table th,
.Fme_Upload_Files .table td {
	padding: 14px 16px;
	border: none;
	border-bottom: 1px solid var(--fme-border);
	vertical-align: middle;
	font-size: 13px;
	color: var(--fme-text);
}

.Fme_Upload_Files table thead th,
.Fme_Upload_Files .table thead th {
	background-color: var(--fme-surface-muted);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--fme-text-heading);
	text-align: left;
	border-bottom: 1px solid var(--fme-border);
}

.Fme_Upload_Files table tbody tr:hover td,
.Fme_Upload_Files .table tbody tr:hover td {
	background-color: rgba(26, 115, 232, 0.03);
}

.Fme_Upload_Files table.table-striped tbody tr:nth-child(even) td {
	background-color: rgba(248, 249, 250, 0.8);
}

.Fme_Upload_Files table.table-striped tbody tr:nth-child(even):hover td {
	background-color: rgba(26, 115, 232, 0.05);
}

/* Backdrop is injected on body (outside .Fme_Upload_Files) */
body > .fme-uf-modal-backdrop {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100040;
	background-color: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(2px);
}

body > .fme-uf-modal-backdrop.fme-modal-open {
	display: block;
}

body.fme-uf-modal-body-open {
	overflow: hidden;
}

/* Toggle switches (Enable/Disable) */
.Fme_Upload_Files input.cmn-toggle + label {
	display: inline-block;
	position: relative;
	cursor: pointer;
	outline: none;
	user-select: none;
	vertical-align: middle;
	box-sizing: border-box;
	overflow: hidden;
}

.Fme_Upload_Files input.cmn-toggle-round + label {
	width: 52px;
	height: 28px;
	padding: 0;
	background-color: #c3c4c7;
	border-radius: 999px;
	transition: background-color 0.2s ease;
}

.Fme_Upload_Files input.cmn-toggle-round + label:before {
	display: none;
}

.Fme_Upload_Files input.cmn-toggle-round + label:after {
	display: block;
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	content: "";
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
	transition: transform 0.2s ease;
}

.Fme_Upload_Files input.cmn-toggle-round:checked + label {
	background-color: var(--fme-primary, #2271b1);
}

.Fme_Upload_Files input.cmn-toggle-round:checked + label:after {
	transform: translateX(24px);
}

.Fme_Upload_Files .fme-uf-field--toggle .fme-uf-field__control {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 42px;
}

.Fme_Upload_Files .fme-uf-field--toggle input.cmn-toggle + label {
	flex-shrink: 0;
}
#fme_upload_files_preview_product_file {
	display: block;
    list-style: none;
    margin: unset;
    margin-bottom: 6px;
}
#fme_upload_files_preview_cart_file {
    display: block;
    list-style: none;
    margin-bottom: 4px;
    padding: 0px;
}
#fme_upload_files_iconpreview {
	width: 24px;
    display: -webkit-inline-box;
    cursor: pointer;
}
.fme_upload_files_iconpreviewcartpage{
    width: 13px;
    display: -webkit-inline-box;
    cursor: pointer;
}
.fme_upload_files_iconpreviewcheckoutpage,.fme_upload_files_iconpreview_checkout_page{
    width: 13px;
    display: initial;
    cursor: pointer;
}
.fme_upload_files_img_thumbnail {
    width: 124px;
    cursor: pointer;
}
#fme_upload_files_order_row{
    font-size: 14px;
}
.fme_upload_files_iconpreviewcartpage{

    width: 13px;
    display: -webkit-inline-box;
    cursor: pointer;
}
#fme_accept_btn , #fme_reject_btn,.upload-file-status {
    display: none !important;
}
/* fmeuploadfile Upload Plugin */
.fmeuploadfile-upload-handler {
    border:2px dashed #c5c5c5;
    border-radius:5px;
    margin-bottom:10px;
    position:relative;
}
.fmeuploadfile-upload-container {
    padding:16px 20px;
}

.fmeuploadfile-upload-inner {
    overflow:hidden;
    width:100%;
    white-space: nowrap;
    /*text-align:center;*/
    text-overflow: ellipsis;
    font-weight:inherit;
}
.fme-upload-wrap .fmeuploadfile-upload-inner .cd-upload-btn {
    text-decoration:none;
    box-shadow:none;
    padding:0 10px;
    color:#fff;
    background-color:#6d6d6d;
    border-radius:3px;
}
.fmeuploadfile-upload-inner .fmeuploadfile-label {
    margin:5px 0;
    line-height:36px;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}
.fmeuploadfile-upload-inner .fmeuploadfile-label span.cd-separator {
    padding:0 10px;
}
/* Add border on dragenter, drag etc */
.fmeuploadfile-dragover {
    border-color:#6b6a6a;
}

@media screen and (max-width: 767px) {
    .dnd-upload-status .dnd-upload-details .name em { font-weight:normal; }
    .dnd-upload-status .dnd-upload-details .name { padding-right:60px; }
    .fmeuploadfile-upload-inner .fmeuploadfile-label { font-size:16px; }
    .product-name{
        min-width: 120px;
    }

    .product-name .variation .variation-file1 p a img{
        min-width: 100px;
        height: auto;
    }
}

@media screen and (max-width: 400px) {
    .fmeuploadfile-upload-inner .fmeuploadfile-label { font-size:15px; }
    .fmeuploadfile-label .cd-icon { display:none; }
}

.fileuploaderrormsg {
    color:#ff0000;
    padding:5px 0;
    font-style:italic;
}

.fmeviewicons {
    font-size: 35px !important;
    color: black !important;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.btn_upload {
  border: 2px solid gray;
  padding: 20px 20px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
   border: 2px dotted #c5c5c5;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
    font-size: 15px;
}

.upload-btn-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.main_upload {
    border: 2px dashed #c5c5c5;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
}

.btn_upload .dashicons {
    margin-top: 2px;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}

.btn_upload_new {
    border: 2px solid gray;
    color: gray;
    background-color: white;
    padding: 1px 10px;
    border-radius: 1px;
    font-size: 19px;
    font-weight: bold;
}

.upload-btn-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
}

.upload_btn_for_products {
  margin-top:unset !important;
  box-sizing: border-box;
  margin: 0px 0px 0px 5px !important;
  max-height: 38px;
  text-decoration: none !important;
  cursor: pointer;
  display: inline;
}

.upload_btn_for_products *{
    cursor: pointer;
    max-height: inherit;
    max-width: inherit;
}

.fme_download{
    display: inline !important;
}



/* /////////////////////////////////////////////// ADDED BY SAQIB //////////////////////////////////// */

.fmelisteditem-upg{
    list-style: none;
}
.fmelisteditem-upg li{
    display: flex;
    display: -webkit-flex; /* Safari */
    display: -moz-flex; /* Firefox */
    display: -ms-flexbox; /* Internet Explorer 10 */
    display: -o-flex; /* Opera */
    align-items: center;
    justify-content: space-between;
}

.fmelisteditem-upg li div{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 18px;
}

.fmelisteditem-upg .fmelisteditem-icon{
    margin: 3px 5px;
}
.fme_delete_img{
    text-decoration: none !important;
}



.fmelisteditem-name-and-image .fmelisteditem-image{
    width: 80px;
    margin-right: 5px;
}

.fmelisteditem-name-and-image .fmelisteditem-image img{
    width: 100% !important;
}


/* main button designs  */

/* textarea design  */
.fme_customer_note_up{
    width: 100%;
}


/********************** MINIMALIST DESIGN **********************/
.fme-uploader-minimal{
    border: none;
    padding: 14px 0px !important;
}
.fme-uploader-minimal .upload-btn-wrapper{
    justify-content: flex-start;
}
.fme-uploader-minimal .Outer_upload{
    display: flex;
    flex-direction: column-reverse;
}
.fme-uploader-minimal .fmelisteditem-upg{
    margin-left: 0px;
}


/* button styles  */
.fme-upload-button-minimal{
    padding: 14px 22px;
    border: none;
}


/* upload requirements  */
.fme_upload_files_minimalist_info{
    padding: 0px;
    padding-bottom: 0px;
}


/* File uploader simplistic */
.fme-uploader-simplistic{
    border: none;
}

.fme-uploader-simplistic .btn_upload, 
.fme-uploader-file-area-simplistic .btn_upload{
    background: transparent !important;
    color: #333 !important;
    border: none;
}

.fme-uploader-simplistic .upload-btn-wrapper{
    justify-content: flex-start;
}

.fme-uploader-simplistic .fmelisteditem-upg{
    margin-left: 0px;
}

/******************** POPUP DESIGN *******************/
.fme-file-uploader-popup-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    z-index: 99999;
    display: none;
    overflow-y: auto;
}
.fme-file-uploader-popup-wrapper-active{
    display: block;
}

.fme-file-uploader-popup{
    width: 60%;
    margin: 50px auto;
    background: #fff;
    border-radius: 10px;
}

.fme-file-uploader-popup-header{
    display: flex;
    display: -webkit-flex; /* Safari */
    display: -moz-flex; /* Firefox */
    display: -ms-flexbox; /* Internet Explorer 10 */
    display: -o-flex; /* Opera */
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 2px solid rgb(230, 211, 211);
}

.fme-file-uploader-popup-header h4{
    font-weight: bold;
    font-size: 18px;
    margin: 0px;
}

.fme-file-uploader-popup-close-btn{
    border: none;
    background: none;
    padding: 0px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    display: flex;
    display: -webkit-flex; /* Safari */
    display: -moz-flex; /* Firefox */
    display: -ms-flexbox; /* Internet Explorer 10 */
    display: -o-flex; /* Opera */
    align-items: center;
    justify-content: center;
}

.fme-file-uploader-primary-btn{
    border: none;
    background: #333;
    color: #fff;
    transition: all .4s;
    border-radius: 4px;
    padding: 8px 15px;
}

.fme-file-uploader-primary-btn:hover{
    background: #444;
    color: #fff;
    transition: all .4s;
}

.fme-file-uploader-popup-body{
    padding: 30px 30px;
    max-height: 450px;
    overflow-y: auto;
}

.fme-file-uploader-popup-footer{
    padding: 15px;
    border-top: 1px solid #ccc;
}

/* uploader popup footer buttons  */
.fme-file-uploader-popup-footer-buttons{
    display: flex;
    align-items: center;
    justify-content: center;
}


.fme-popup-uploader-row{
    width: 100%;
    background: transparent;
    display: flex;
    display: -webkit-flex; /* Safari */
    display: -moz-flex; /* Firefox */
    display: -ms-flexbox; /* Internet Explorer 10 */
    display: -o-flex; /* Opera */
    margin: 10px 0px;
    border-bottom: 1px solid rgb(204, 182, 182);
    padding-top: 10px;
    padding-bottom: 10px;
}

.fme-popup-uploader-upload-button{
    width: 20%;
}

.fme-popup-uploader-requirements{
    width: 50%;
    padding-left: 20px;
}
.fme-popup-uploader-requirements-heading{
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}
.fme-popup-uploader-requirements ul li{
    color: #8f8f8f;
}

.fme-popup-uploader-items{
    width: 30%;
}

.fme-popup-uploader-items .fmelisteditem-upg{
    margin: 0px;
}


/* file upload popup launcher button  */
.fme-file-upload-popup-button{
    width: max-content;
    padding: 10px;
    background: #333;
    border-radius: 5px;
    color: #fff;
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.fme-file-upload-popup-button:hover{
    background: #666;
    color: #fff;
}




/* product item row for popup  */


.fme-popup-footer-product-row{
    display: flex;
    margin: 15px 0px;
}

.fme-popup-footer-product-row-thumbnail{
    width: 20%;
    margin: 10px;
}

.fme-popup-footer-product-row-thumbnail img{
    width: 100px;
    margin: 0 auto;
    display: block;
}

.fme-popup-footer-product-row-info-heading{
    font-weight: bold;
    color: #333;
    font-size: 20px;
}


/* view icon for uploaded item  */
.fme-visibility-icon{
    color: #333;
    display: inline-block;
    margin: 0px 5px;
    text-decoration: none !important;
}

 /* responsive design for popup form  */

 @media only screen and (max-width: 1400px){
    .fme-file-uploader-popup{
        width: 75%;
    }
 }

 @media only screen and (max-width: 1200px){
    .fme-file-uploader-popup{
        width: 85%;
    }
 }

 @media only screen and (max-width: 1000px){
    .fme-file-uploader-popup{
        width: 95%;
    }

    .fme-popup-uploader-row{
        flex-wrap: wrap;
    }

    .fme-popup-uploader-upload-button{
        width: 50%;
    }
    .fme-popup-uploader-requirements{
        width: 50%;
    }

    .fme-popup-uploader-items{
        flex-basis: 100%;
    }
 }

 @media only screen and (max-width: 600px){
    .fme-popup-uploader-row{
        flex-direction: column;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
    }

    .fme-popup-uploader-upload-button{
        width: 100%;
    }
    .fme-popup-uploader-requirements{
        width: 100%;
    }

    .fme-popup-uploader-items{
        width: 100%;
        flex-basis: 100%;
    }



    /* product item row for popup  */

    .fme-popup-footer-product-row-thumbnail{
        width: 30%;
    }

    .fme-popup-footer-product-row-thumbnail img{
        width: 100px;
        margin: 1px;
    }

    .fme-popup-footer-product-row-info-heading{
        font-weight: bold;
        color: #333;
        font-size: 20px;
    }



 }





 /* cropper modal css  */



/******************** CROPPER POPUP DESIGN *******************/
.fme-file-cropper-popup-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    z-index: 99999;
    display: none;
    overflow-y: auto;
}
.fme-file-cropper-popup-wrapper-active{
    display: block;
    z-index: 9999999999999999;
}

.fme-file-cropper-popup{
    width: 60%;
    margin: 50px auto;
    background: #fff;
    border-radius: 10px;
}

.fme-file-cropper-popup-header{
    display: flex;
    display: -webkit-flex; /* Safari */
    display: -moz-flex; /* Firefox */
    display: -ms-flexbox; /* Internet Explorer 10 */
    display: -o-flex; /* Opera */
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 2px solid rgb(230, 211, 211);
}

.fme-file-cropper-popup-header h4{
    font-weight: bold;
    font-size: 18px;
    margin: 0px;
}

.fme-file-cropper-popup-close-btn{
    border: none;
    background: none;
    padding: 0px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    display: flex;
    display: -webkit-flex; /* Safari */
    display: -moz-flex; /* Firefox */
    display: -ms-flexbox; /* Internet Explorer 10 */
    display: -o-flex; /* Opera */
    align-items: center;
    justify-content: center;
}

.fme-file-cropper-primary-btn{
    border: none;
    background: #333;
    color: #fff;
    transition: all .4s;
    border-radius: 4px;
    padding: 8px 15px;
    margin-left: 5px;
}

.fme-file-cropper-primary-btn:hover{
    background: #444;
    color: #fff;
    transition: all .4s;
}

.fme-file-cropper-popup-body{
    padding: 30px 30px;
    max-height: 450px;
    overflow-y: auto;
}

.fme-file-cropper-popup-footer{
    padding: 15px;
    border-top: 1px solid #ccc;
}

/* uploader popup footer buttons  */
.fme-file-cropper-popup-footer-buttons{
    display: flex;
    align-items: center;
    justify-content: center;
}


/* fme file cropper view  */
.fme-file-cropper-view{
    width: 100%; 
    display: flex; 
    align-items: flex-start;
}

.fme-file-cropper-view-crop{
    width: 70%;
}

.fme-file-cropper-view-preview{
    width: 30%;
    text-align: center;
}


 /* responsive design for popup form  */

 @media only screen and (max-width: 1400px){
    .fme-file-cropper-popup{
        width: 75%;
    }
 }

 @media only screen and (max-width: 1200px){
    .fme-file-cropper-popup{
        width: 85%;
    }
 }

 @media only screen and (max-width: 1000px){
    .fme-file-cropper-popup{
        width: 95%;
    }
        
    /* fme file cropper view  */
    .fme-file-cropper-view{
        flex-direction: column;
    }
    .fme-file-cropper-view-crop{
        width: 100%;
    }

    .fme-file-cropper-view-preview{
        width: 50%;
        text-align: center;
    }
 }

 @media only screen and (max-width: 600px){
    
    /* fme file cropper view  */
    .fme-file-cropper-view{
        flex-direction: column;
    }
    .fme-file-cropper-view-preview{
        width: 250px;
        text-align: center;
    }

 }



 .fme-front-table-td a,
 .fme-front-table-td button{
    text-align: center;
    display: block;
    margin: 3px auto;
 }.fmecc-progressbar-container {
  margin: 20px auto;
  width: 100%;
  text-align: center;
}

.fmecc-progressor {
  text-align: center;
  color: #ffffff;
  font-size: 12px;
  width: 0%;
  height: 18px;
  line-height: 18px;
  transition: width 0.7s;
}

.fmecc-progress {
  padding: 3px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}

.fmecc-progress-bar {
  background-color: #ee303c;
  border-radius: 4px;
  transition: 0.4s linear;
  transition-property: width, background-color;
}

.fmecc-progress-striped .fmecc-progress-bar {
  background-color: #3c6e71;
  width: 0%;
  background-image: linear-gradient(45deg, #353535 25%, transparent 25%, transparent 50%, #353535 50%, #353535 75%, transparent 75%, transparent);
}

@keyframes progressAnimationStrike {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.fmecc-progress2 {
  padding: 3px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}

.fmecc-progress-bar2 {
  border-radius: 30px;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
  transition: 0.4s linear;
  transition-property: width, background-color;
}

.fmecc-progress-moved .fmecc-progress-bar2 {
  width: 0%;
  background-color: #ef476f;
}

@keyframes progressAnimation {
  0% {
    width: 0%;
    background-color: #f9bcca;
  }
  100% {
    width: 100%;
    background-color: #ef476f;
  }
}
.fmecc-progress-bar3 {
  border-radius: 4px;
  background-image: linear-gradient(to right, #355070, #6d597a, #b56576, #e56b6f, #eaac8b, #ff2d55);
  transition: 0.4s linear;
  transition-property: width, background-color;
}

.fmecc-progress-infinite .fmecc-progress-bar3 {
  width: 0%;
  background-image: linear-gradient(to right, #355070, #6d597a, #b56576, #e56b6f, #eaac8b, #ff2d55);
  animation: colorAnimation 1s infinite;
}

@keyframes colorAnimation {
  0% {
    background-image: linear-gradient(to right, #355070, #6d597a, #b56576, #e56b6f, #eaac8b, #ff2d55);
  }
  20% {
    background-image: linear-gradient(to right, #6d597a, #b56576, #e56b6f, #eaac8b, #ff2d55, #355070);
  }
  40% {
    background-image: linear-gradient(to right, #b56576, #e56b6f, #eaac8b, #ff2d55, #355070, #6d597a);
  }
  60% {
    background-image: linear-gradient(to right, #e56b6f, #eaac8b, #ff2d55, #355070, #6d597a, #b56576);
  }
  100% {
    background-image: linear-gradient(to right, #eaac8b, #ff2d55, #355070, #6d597a, #b56576, #e56b6f);
  }
}/*# sourceMappingURL=fmecc-progress-bars.css.map *//*!
 * Cropper.js v1.6.1
 * https://fengyuanchen.github.io/cropperjs
 *
 * Copyright 2015-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2023-09-17T03:44:17.565Z
 */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}