@font-face {
  font-family: 'icomoon-wc';
  src:  url('../fonts/icomoon.eot?mh2om6');
  src:  url('../fonts/icomoon.eot?mh2om6#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?mh2om6') format('truetype'),
    url('../fonts/icomoon.woff?mh2om6') format('woff'),
    url('../fonts/icomoon.svg?mh2om6#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon-wc' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-close-outline:before {
  content: "\e901";
}
.icon-images:before {
  content: "\e90e";
}
.icon-cloud-upload:before {
  content: "\e9c3";
}
.icon-upload2:before {
  content: "\e9c6";
}
.icon-upload3:before {
  content: "\e9c8";
}

.wc-dnd-file-upload .remove-file span:after{ display:none!important; }

/* Delete Status */
.dnd-icon-remove.deleting { outline:none; font-family : inherit !important; font-size:12px; color:#000; font-weight:500; }
.dnd-icon-remove.deleting:before {content : '';}

.wc-dnd-file-upload { padding:0.8rem 0; position:relative; }
.wc-dnd-file-upload label { margin-bottom:0.5rem; display:block; }

.wc-drag-n-drop-file.d-none {
	display:none;
	opacity:0;
	visibility:hidden;
	position:absolute;
	top:0;
}

/* Upload Status */
.wc-dnd-file-upload .dnd-upload-status {
	display:flex;
	padding:4px 0;
	align-items:center;
	position:relative;
}

/* Progress bar - Image */
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-image {
	width:40px;
	height:40px;
	border:1px solid #a5a5a5;
	text-align:center;
	border-radius:100%;
	position:relative;
}
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-image.has-bg {
	background-position:center center;
	background-size:cover;
	background-repeat:no-repeat;
	border:0;
	transition: transform 0.3s ease;
	max-width:40px;
	width:100%;
}
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-image.has-bg:hover {
	transform: scale(1.5);
}
.wc-dnd-file-upload  .dnd-upload-status .dnd-upload-image span {
	font-size:16px;
	color:#222;
	position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    left: 50%;
}

.wc-dnd-file-upload  .codedropz--results .dnd-upload-status .dnd-upload-image.no-thumbnail span{
    display:none;
}

.xdnd-upload-status .dnd-upload-image.no-bg .icon-images { display:none; }
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-image.has-bg span { opacity:0; z-index:-200; }

.wc-dnd-file-upload .dnd-upload-status .dnd-upload-image.no-bg img {
    width: 18px;    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-image {
    width:100%;
}

.wc-dnd-file-upload .codedropz--results .dnd-upload-status .dnd-upload-image { overflow:hidden; }
.wc-dnd-file-upload .codedropz--results .dnd-upload-status .dnd-upload-image.no-bg:not(.no-thumbnail) { border:0; transition:scale 0.3s; }
.wc-dnd-file-upload .codedropz--results .dnd-upload-status .dnd-upload-image.no-bg:hover:not(.no-thumbnail) { transform:scale(1.3); }

.wc-dnd-file-upload .codedropz--results .dnd-upload-status .dnd-upload-image.no-bg .preview {
    max-width: none;
    width: auto;
    height: 50px;
    background-size:cover;
    background-position:center;
}

/* Progress bar - Image Details ( Name and Size ) */
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-details {
	padding-left:10px;
	width: calc(100% - 40px);
}
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-details .name {color:#016d98; padding:0 0 4px; padding-right:25px; display:flex; }
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-details .name span { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; position: relative; padding-right:10px; }
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-details .name em {color:#444242;	font-weight:700; }

/* Remove Upload File */
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-details .remove-file {
	position:absolute;
	right:0;
	top:6px;
	text-decoration:none;
	box-shadow:none;
	outline:none;
}

.wc-dnd-file-upload .dnd-upload-status .dnd-upload-details span.has-error { color:#f50505; }

/* Progress Loading */
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-details .dnd-progress-bar {
	display: block;
    border-radius: 5px;
    overflow: hidden;
    background: #565555;
    height: 14px;
}
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-details .dnd-progress-bar span {
    background: #4CAF50;
    display: block;
    font-size: 11px;
    text-align: right;
    color: #fff;
    height: 100%;
	width:0;
	line-height:13px;
}
.wc-dnd-file-upload .dnd-upload-status .dnd-upload-details .dnd-progress-bar span.complete { width:100%!important; padding-right:5px; }
.wc-dnd-file-upload .dnd-upload-counter { position:absolute; right:5px; bottom:3px; font-size:12px; }

/* CodeDropz Upload Plugin */
.codedropz-upload-handler {
    border: 2px dashed #46aae3;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.codedropz-upload-handler:hover {
    border: 2px solid #019df3;
    box-shadow: 0 0 5px #46aae3, 0 0 5px #019df3, 0 0 10px #019df3;
    filter: brightness(1.2);
}
.codedropz-upload-container {
	padding:16px 20px;
}

.wc-dnd-file-upload .codedropz-upload-inner {
	overflow:hidden;
	width:100%;
	white-space: nowrap;
	text-align:center;
	text-overflow: ellipsis;
	font-weight:inherit;
}
.wc-dnd-file-upload .codedropz-upload-inner a.cd-upload-btn {
	text-decoration:none;
	box-shadow:none;
	padding:0 10px;
	color:#fff;
	background-color:#6d6d6d;
	border-radius:3px;
}
.has-warning-msg {
  display: block;
  color: #e67e22;
  font-style: italic;
  margin-top: 10px;
  font-size: 14px;
  background-color: #fff3e0;
  padding: 5px 10px;
  border-radius: 3px;
}

.has-error-msg {
  display: block;
  color: #d32f2f;
  font-weight: bold;
  margin-top: 10px;
  font-size: 14px;
  background-color: #ffebee;
  padding: 5px 10px;
  border-radius: 3px;
}

.thumbnail-dpi {
  font-size: 12px;
  color: #555;
  margin-top: 5px;
  text-align: center;
}
.wc-dnd-file-upload .codedropz-upload-inner .codedropz-label {
	margin:5px 0;
	font-size:18px;
	line-height:36px;
	position:relative;
	display:flex;
	align-items:center;
	justify-content:center;
    flex-wrap:wrap;
}
.wc-dnd-file-upload .codedropz-upload-inner .codedropz-label span.cd-separator {
	padding:0 10px;
}
.wc-dnd-file-upload .codedropz-upload-inner .codedropz-label span.cd-icon {
	font-size:42px;
	padding-right:15px;
}

/* Add border on dragenter, drag etc */
.wc-dnd-file-upload .codedropz-dragover {
	border-color:#6b6a6a;
}

.wc-dnd-file-upload .codedropz-upload-wrapper span.has-error-msg {
	display:inline-block;
	color:#ff0000;
	padding:5px 0;
	font-style:italic;
}

/* Hasan üçün */
.dnd-upload-image {
    position: relative;
    display: inline-block;
}

.thumbnail-width, .thumbnail-height {
  font-size: 14px;
  color: #333;
  text-align: center;
  position: absolute;
  background: url(https://filmdirectpro.com/wp-content/uploads/2025/05/dimension-line-2.svg) no-repeat center center;
  background-size: contain;
  padding: 7px 10px;
  white-space: nowrap;
  display: flex;
  align-items: self-end;
  justify-content: center;
  min-width: 150px;
  height: 20px;
}


/* En üçün xüsusi yerləşdirmə */
.thumbnail-width {
  top: -29px;
  left: 50%;
  transform: translateX(-50%);
}

/* Hündürlük üçün xüsusi yerləşdirmə */
.thumbnail-height {
  right: -85px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  align-items: self-start;
  min-width: 132px;
}

/* Mətnin oxunaqlığını artırmaq üçün fon */
.thumbnail-width span, .thumbnail-height span {
  background: rgba(0, 0, 0, 0.7); /* Şəffaf qara fon */
  padding: 2px 5px;
  border-radius: 3px;
}
/* CodeDropz v2.0 - Preview */
.wc-dnd-file-upload .codedropz--preview { display:flex; flex-direction: column; margin-left:-1%; margin-right:-1%; }
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-details .name em,
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-details .dnd-progress-bar { display:none; }
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status { display:block; margin:0 1%; width:calc( 92% / 4 ); }

.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-image span.cd-ext {
	opacity: 1; z-index: 1; color: #fff; background: #FF630B; width: 60px; line-height: 16px; top:80%; transform:translate(-50%, -80%); font-size: 12px; text-transform: uppercase;
}
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-image.has-bg { border:solid 1px transparent; width:100%; height:auto; max-width:100%; border-radius:0; }
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-image.has-bg img { border-radius:3px; }
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-image.has-bg:hover { transform:none; }

.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-image.unsupported-image { border:1px solid #dedede; }
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-image.unsupported-image img { max-height:75%; position:absolute; top:50%; left:50%; transform: translate(-50%, -50%); }

.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-details { width:100%; padding:2px 0;border-radius: 0px 0px 4px 4px; }
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-details .name { padding:0; font-size:14px;color: #fff; }
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-details .name span { padding-right:0; }

.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-details .remove-file { color:#fff; top:-108px; right:-6px; }
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-details .remove-file.deleting { right:auto; transform:translate(-40%, -50%); top:40%; left:50%; background: rgba(0,0,0,0.7); padding: 0 4px; font-size: 13px; }
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-details .remove-file span { background-color:#dd1d26!important; border-radius:100%!important;font-size: 30px; transition:color 1s ease-in-out;}
.wc-dnd-file-upload .codedropz--preview .dnd-upload-status .dnd-upload-details .remove-file span:hover { background-color:#fb0303;}

/* Ensures the upload status container is a row */
.codedropz--preview .dnd-upload-status {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	/* əgər artıq display: block varsa, onu override et */
  }
  
  /* Thumbnail (şəkil) sahəsi */
  .codedropz--preview .dnd-upload-image {
    position: relative; /* Detalların mövqeyini təyin etmək üçün */
    flex: 0 0 auto;
    margin-right: 12px;
}
  
  /* Detallar (ad, progress bar) sahəsi */
/* Bu yeni stil şəkilin altına fayl adını yerləşdirəcək */
.codedropz--preview .dnd-upload-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); /* Şəffaf qara fon */
    color: #fff; /* Mətn rəngi ağ */
    padding: 4px;
    box-sizing: border-box;
    font-size: 12px;
    text-align: center;
}
.codedropz--preview .dnd-upload-details .name {
    color: #fff;
    font-size: 12px;
    padding: 0;
}
	
   
  /* Bizim əlavə meta-cədvəl sahəsi */
  .codedropz--preview .dnd-upload-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 25px;
}
  
  /* Hər bir meta-item üçün sütun tərtibatı */
  .codedropz--preview .dnd-upload-meta .meta-item {
    width: 90px; /* Sütunların eyni enə malik olması üçün */
    text-align: center;
}
  
  /* Label stili */
  .codedropz--preview .dnd-upload-meta .meta-item label {
	font-weight: 500;
	margin-bottom: 4px;
  }
  
  /* Input sahələri */
  .codedropz--preview .dnd-upload-meta .meta-item input {
	width: 95px;
	padding: 4px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 3px;
	text-align: center;
  }
  
  
.wc-dnd-file-upload .codedropz--preview .dnd-upload-image.has-bg .preview { background-repeat:no-repeat; background-size:cover; background-position:center; width:100%; height:100%; border-radius:3px; }

/* Cart Files */
.dndmfu_wc_files {
	margin:0 -5px;
}
.dndmfu_wc_files a {
	list-style:none;
	display:inline-block;
	margin: 5px;

}
.dndmfu_wc_files a img{
	margin-left:0 !important;
	max-width:40px;
}
.dndmfu_wc_files a.application-type img {
    max-height:40px;
    width:auto;
}

.woocommerce-table--order-details ul.wc-item-meta .dndmfu-wc-pdf-details,
.woocommerce-table--order-details ul.wc-item-meta .dndmfu_wc_files {
	display:block;
}

/* Order - Thank You Page */
.dndmfu_wc_file_list {
    margin:0;
    padding:0;
    margin-left:-10px;
    margin-right:-10px;
    display:flex;
    align-items:flex-start;
    /*justify-content:space-between;*/
    flex-wrap:wrap;
}
.dndmfu_wc_file_list li{
    display:inline-block;
    padding:0 10px;
    max-width:16.6%;
    width:100%;
    flex:0 0 16.6%;
}
.dndmfu_wc_file_list li img { margin:0 auto; }
.dndmfu_wc_file_list li a { text-align:center; }
.dndmfu_wc_file_list li a div { line-height: 15px; padding-top:10px; }

@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; }
	.codedropz-upload-inner .codedropz-label { font-size:16px; }
    .dndmfu_wc_file_list li { margin-bottom:20px; max-width:33.3%; flex:0 0 33.3%;  }
}

@media screen and (max-width: 480px) {
	.codedropz-upload-inner .codedropz-label { font-size:15px; }
	.codedropz-label .text,
	.codedropz-label .cd-separator,
	.codedropz-label .cd-icon { display:none; }
}

.wc-dnd-file-upload .codedropz--preview .dnd-upload-status {
	display: flex !important;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 35px;
	border: 1px solid #ddd;
	padding: 8px;
	border-radius: 4px;
	background: #fafafa;
  }
  .codedropz--preview .dnd-upload-details .name em {
	display: inline !important;
	color: #a5a5a5;
  }

  /* Ümumi cəmlər cədvəli */
.dnd-grand-total {
  margin-top: 16px;
  padding: 12px;
  border-top: 2px solid #46aae3; /* Mövcud dizaynla uyğun rəng */
  background: #f5f5f5; /* Yüngül fon rəngi */
  border-radius: 4px;
}

.dnd-grand-total-row {
       display: flex;
      gap: 12px;
      align-items: center;
      font-weight: 600;
      justify-content: flex-end;
}

.dnd-grand-total-row .meta-item {
  flex: 0 0 auto;
  width: 95px; /* Mövcud input-larla eyni en */
  text-align: center;
}

.dnd-grand-total-row .meta-item label {
  font-size: 13px;
  color: #333;
  margin-bottom: 4px;
}

.dnd-grand-total-row .meta-item input {
  width: 100%;
  padding: 4px;
  border: 1px solid #46aae3; /* Mövcud dizaynla uyğun */
  border-radius: 3px;
  background: #fff;
  font-weight: 600;
  color: #016d98; /* Mövcud dizayn rəngi */
  text-align: center;
}