/** General page styling **/
#dropZone {
  position: absolute;
  display: none;
    width: calc(100% - 25px);
    height: 100px;
    background-color: #000000;
    border-radius: 5px;
    border: 2px dashed #ccc;
    color:  #ccc;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 5px;
    margin-top: -102px;
    z-index: 999999999999999999999999999999999999;
}
#dropZone :hover {
color:#fbff00;;
}

body {
  
  font-family: "Helvetica Neue Light", "Helvetica Neue", Arial, sans-serif;
  user-select: none;
}

/* #mainFolders {
  display: flex;
  flex-wrap: wrap;
} */

input, label {
  cursor: pointer;
}
.findTitles{
  background-color: #1d1d1d;
  color: #979797;
  display: block;
  width: auto;
  height: auto;
  margin: 1px;
margin-top: 1px;
   border-radius: 1px;
   cursor: pointer;
   white-space:nowrap;
   border: 1px solid #1d1d1d;
   user-select: none;
}
.subFolders {
  background-color: #1d1d1d;
  color: #979797;
  display: block;
  width: auto;
  height: auto;
  margin: 1px;
margin-top: 1px;
   border-radius: 1px;
   cursor: pointer;
   white-space:nowrap;
   border: 1px solid #1d1d1d;
   user-select: none;
}
.subFolders:hover {

  box-shadow: 0px 2px 0px 0px rgba(85, 85, 85, 0.8);
  color: rgb(252, 252, 252);
  content: "\1F4C1";
}


.subFolders:hover img {
  transform: scale(1.2);
}
.mainThumb{
  width: 110px;
  background-color:rgb(37, 37, 37);
  cursor: pointer;
  overflow: hidden;
  line-height: .2em;

}

.thumb{
  display:block;
  cursor: pointer;
  width:100% ;
  min-height: 10px;
  color:rgb(92, 92, 92);
  font:15px compCode;
  font-weight:undefined;
  border-radius: 10px 10px 0px 0px;
}

.searchedThumb{
  cursor: pointer;
  background-color:rgb(29, 29, 29);
  border-radius: 10px 10px 10px 10px;
  border: 2px solid #bdbdbd;
  margin: 5px; 
  margin-top: 15px;
  width: 120px;
  
}

.searchedThumb:hover {
  transform: scale(1.05);
  border: 2px solid #00b7ff; 
}

/* .searchedThumbTitle {
    position: absolute;
    border-radius:0px ;
    color:rgb(207, 207, 207);
    font-size:10px ;
    font-weight:undefined;
    padding: 2px;
    padding-right: 5px;
    padding-left: 5px;
    margin-left: -120px;
    margin-top: 0px;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.searchedThumbTitle {
  position: absolute;
  /* background-color: #535353; */
  border-radius:0px ;
  /* border: 0px solid #d6d6d6; */
  color:rgb(207, 207, 207);
  font-size:10px ;
  font-weight:undefined;
  padding: 2px;
  padding-right: 5px;
  padding-left: 5px;
  margin-top: 0px;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.imageContainer {
  position: relative;
  display: inline-block;
  margin: 10px;
}


.textOverlay {
  position: absolute;
  bottom: 0;
  background: rgba(250, 250, 250,1); /* پس زمینه نیمه شفاف */
  color: rgb(26, 26, 26);
  width: 100%;
  text-align: center;
  padding: 0px;
  margin-bottom: -10px;
  box-sizing: border-box;
  font:15px compCode;
  font-weight:undefined;
  border-radius: 10px 10px 0px 0px;
  pointer-events: none; 
}


a {
  text-decoration: none;
}

.ll{
  border-bottom-right-radius :5px;;border-bottom-left-radius :2px;background-color:none;width:calc(100% - 9px);
  user-select: none;
}
/**
 * Progress bar for imagesLoaded
 */
.progress-bar {
  background-color: #0BC20B;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 0;
  -webkit-box-shadow: 0 1px 3px rgba(11, 194, 11, 0.2);
     -moz-box-shadow: 0 1px 3px rgba(11, 194, 11, 0.2);
          box-shadow: 0 1px 3px rgba(11, 194, 11, 0.2);
  -webkit-transition: width 0.1s ease-out;
     -moz-transition: width 0.1s ease-out;
       -o-transition: width 0.1s ease-out;
          transition: width 0.1s ease-out;
}

/**
 * Placerholder css
 */
.wookmark-placeholder {
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  
  border: 1px solid #dedede;
  z-index: -1;
}

/**
 * Grid container
 */
.tiles-wrap {
  position: relative; /** Needed to ensure items are laid out relative to this container **/
  margin: 2px 0;
  padding: 0;
  list-style-type: none;
  display: none;
}


/**
 * Grid items
 */
.tiles-wrap li {
  display: block;
  opacity: 0;
  text-align: left;
  list-style-type: none;
  float: left;
  cursor: pointer;
  padding: 4px;
  border: 2px solid #474747;
  border-radius: 10px;

}



.tiles-wrap.wookmark-initialised.animated li {
  -webkit-transition: all 0.3s ease-out; 
     -moz-transition: all 0.3s ease-out;
       -o-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}

.tiles-wrap.wookmark-initialised li {
  opacity: 1;
}


.tiles-wrap li:hover {border: 2px solid #00b7ff; }

.tiles-wrap li.wookmark-inactive {
  visibility: hidden;
  opacity: 0;
}



.tiles-wrap img {
  display: block;
}



.tile-loading:after {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  
  content: "Loading\2026";
  padding-top: 1px;

}

/**
 * Filters
 */
#filters {
  list-style-type: none;
  text-align: left;
  margin: 0 1% 0 1%;
}

#filters:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#filters li {
  font-size: 8px;
  float: left;
  padding: 1px 2px 1px;
  cursor: pointer;
  margin: 0 2px;
  -webkit-transition: all 0.15s ease-out;
     -moz-transition: all 0.15s ease-out;
       -o-transition: all 0.15s ease-out;
          transition: all 0.15s ease-out;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

#filters li:hover {
  background: #4281f5;
  
}

#filters li.active {
  background: #4281f5;
  
}




.blinking { 
  animation: blink 0.5s infinite; 
  border: 0px solid rgb(255, 0, 0); 
  position: relative;
    }

.blinking::after { content: "New Object"; 
      position: absolute; 
      bottom: 20px; 
      z-index: 99999999999999999999999999999999;
      left: 50%; transform: translateX(-50%);
      background-color: rgba(50, 201, 63, 0.7); 
      color: white; padding: 5px; border-radius: 3px; font-size: 14px; white-space: nowrap; /* جلوگیری از شکسته شدن متن به خط‌های جدید */
 }

 @keyframes blink { 0% { border-color: rgb(165, 165, 165); } 50% { border-color: rgb(0, 0, 0); } 100% { border-color: rgb(158, 158, 158); } }

.splitter {
  position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
}

#separator {
    cursor: col-resize;
    background-color:  #363636;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='30'><path d='M2 0 v30 M5 0 v30 M8 0 v30' fill='none' stroke='black'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    width: 10px;
    height: calc(100% - 52px);
    margin-top:35px;
    z-index: 1199;
    /* Prevent the browser's built-in drag from interfering */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

#mainFolders {
    background-color: #dde;
    width: 180px;
    height: 90%;
    min-width: 25px;
}

#settingFolders {
  background-color:rgb(37, 37, 37) ;
    width: 217px;
    min-width: 10px;
    height: 10%;
    min-width: 180px;
    padding-right: 5px;
    z-index: 0;
}

#mainFolders::-webkit-scrollbar {
display: none;}
#mainFolders {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


#containerNew {
    background-color: #eee;
    width: 80%;
    height: 100%;
    min-width: 10px;
    left:-5px;
    /* border-top: 2px solid rgb(0, 0, 0);
    border-bottom: 2px solid rgb(0, 0, 0); */
}
#loading {
  position: relative;
    background-color: #1f1f1f;
    width: 75%;
    height: 100%;
    min-width: 10px;
}
    
/* allFoldert */

* {
  box-sizing: border-box;
}

.mainFolders > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.mainFolders > ul li {
  border: 1px solid #555555;
  margin-top: -1px; /* Prevent double borders */
  background-color: #dadada;
  padding: 2px;
  text-decoration: none;
  font-size: 13px;
  color: black;
  display: block;
  position: relative;
  cursor: pointer;
}

.mainFolders > ul li:hover {
  background-color: #acacac;
}

.close {
  cursor: pointer;
  /* position: absolute; */
  /* top: 50%; */
  right: -15px;
  width: 10px;
  background: #acacac;
  /* padding: 0px 3px; */
  /* transform: translate(0%, -50%); */
  font-size: 16px;
}

.close:hover {background: #6e6e6e;}
.allPathSelect {
  cursor: pointer;
  background-color: #acacac;
  width: calc(100% - 10px);
}
.allPathSelect:hover {background: #6e6e6e;}






.search-container {
    position: relative;
    width: 300px; /* عرض تکست باکس */
}

.search-input {
    width: 100%;
    padding: 5px 5px 5px 5px; /* فضای داخلی برای متن */
    border: 1px solid #9b9b9b;
    border-radius: 5px;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: #007BFF; /* رنگ مرز در حالت فوکوس */
}

.search-label {
    position: absolute;
    left: 10px;
    margin-left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #747474; /* رنگ متن */
    pointer-events: none; /* جلوگیری از کلیک روی لیبل */
    transition: 0.2s ease all; /* انیمیشن برای تغییر موقعیت */
}

.search-input:focus + .search-label,
.search-input:not(:placeholder-shown) + .search-label {
    left: calc(100% - 270px); /* بالا رفتن لیبل */
    font-size: 12px; /* کوچک شدن اندازه لیبل */
    color: #007BFF; /* رنگ لیبل در حالت فوکوس */
}





#panel {
            width: 300px;
            margin: 50px auto;
            padding: 20px;
            border: 1px solid #ccc;
            text-align: center;
			border-radius:10px ;
      position:fixed;
      background-color: #1b1b1b;
      bottom: 0px;
      left:50px;
      z-index: 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
        }
        #progress_container {
            width: 100%;
            height: 30px;
            background-color: #f3f3f3;
            border: 1px solid #ccc;
            margin-bottom: 20px;
            position: relative;
			border-radius:5px ;
            overflow: hidden;
        }
        #progress-bar {
            width: 0;
            height: 100%;
            background-color: #4caf50;
            transition: width 0.5s linear;
			text-align:left;
			color: white;
			padding:5px;
        }
        #cancel-btn {
            padding: 10px 20px;
            background-color: #f44336;
            color: white;
            border: none;
            cursor: pointer;
        }
        #cancel-btn:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }


        ul#enObj li a, #disObj li a {
  position: relative;
  transition: all 0.3s ease;
  height: 30px;
  font-size: small;
  border-bottom: 1px solid #2e2e2e;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  background-color: #f9f9f9;
  border-radius: 4px;
  margin-bottom: 2px;
}

ul#enObj li a img, #disObj li a img {
  margin-right: 10px;
}

ul#enObj li a:hover, #disObj li a:hover {
  transform: translateX(-10px);
  border-bottom: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #e1ece0;
}

