/* styles.css */
#dataDropZone .drop-zone {
    width: 1095px; /*100%;*/
    padding: 20px;
    border: 2px dashed #FFF;
    height: 180px; /* Changed to allow space for images */
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    color: #cccccc;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of child elements */
    justify-content: center;
    align-items: center;
    background-color: #CF272F;
    transition: .3s;
    position: relative;
    margin-left: 26px;
}

#dataDropZone .drop-zone.dragover {
    background-color: #FF3D47;
    border-color: #FFF;
    color: #FFF;
}

#dataDropZone .drop-zone input[type="file"] {
    display: none;
}

#dataDropZone .drop-zone #fileCounter {
    position: absolute;
    color: #FFF;
    margin-right: -1115px;
    margin-top: -200px;
    border: 8px solid transparent;
    padding-left: 28px;
    padding-top: 0px;
    padding-right: 28px;
    padding-bottom: 0px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 900;
}


#dataDropZone .drop-zone #fileCounter p {
    padding-top: 8px;
    padding-right: 8px;
    font-size: 24px;
}

#dataDropZone .drop-zone h3 {
    z-index: 1;
    display: none;
}

#dataDropZone .drop-zone .fa-image {
    display: block;
}

#dataDropZone .drop-zone .fa-upload {
    display: none;
}

#dataDropZone .drop-zone .fa-upload:hover #dataDropZone .drop-zone .fa-image{
    display: none!important;
    opacity: 0;
    color: blue!important;
}

#dataDropZone .drop-zone.dragover .fa-image {
    display: none!important;
}

#dataDropZone .drop-zone.dragover .fa-upload {
    display: block;
}

#dataDropZone .drop-zone .fa-icon {
    position: absolute;
    font-size: 8rem;
    z-index: 0;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

#dataDropZone .drop-zone.dragover .fa-icon {
    color: rgba(255, 255, 255, 1);
    animation: shake .75s linear infinite;
}
/*
#dataDropZone button {
    margin-top: 10px;
    width: 180px;
    height: 40px;
    border-radius: 5px;
    background-color: #31243d;
    color: #FFF;
    border: none;
    transition: .3s;
}*/

#dataDropZone button:hover {
    background-color: #162538;
    color: #FFF;
}

#dataDropZone .drop-zone.dragover ~ button {
    background-color: #422c52;
    color: #FFF;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    z-index: 10;
}

.preview-container .preview {
    position: relative;
    display: inline-block;
    margin: 10px;
    width: 150px;
    height: 150px;
}

.preview-container .preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: .1s;
}

.preview-container .preview img:hover {
    filter: blur(3px);
}

.preview-container .preview .remove-btn {
    position: absolute;
    top: 5px;
    right: 50px;
    background-color: rgba(255, 255, 255, 0.8)!important;
    color: red!important;
    border-radius: 50%;
    cursor: pointer;
    width: 20px!important;
    height: 20px!important;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none!important;
    transition: .3s;
}


.preview-container .preview .remove-btn:hover {
    background-color: #000!important;
    color: red!important;
}

/* HHH */

.preview img.hover-radius {
    animation: shake 0.5s linear infinite;
}



.progress {
    width: 100%;
    background-color: #ccc;
    border-radius: 5px;
    margin-top: 10px;
}


.progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    overflow: hidden;
}



.progress-bar {
    height: 10px;
    background-color: #4caf50;
    width: 0;
    border-radius: 5px;
    transition: width 0.3s;
}


.progress-bar {
    height: 100%;
    width: 0;
    background-color: #4caf50;
    transition: width 0.3s;
}






.blurred {
    filter: blur(5px);
    transition: filter 0.3s;
}


.file-names {
    margin-top: 10px;
    color: #000;
    font-size: 11px;
    position: fixed;
    text-align: left;
    margin-left: 28px;
}
   .file-names p{
     color: #CF272F;
     font-weight: bold;
     margin-top: 4px;
     margin-bottom: 4px;
     }

@keyframes shake {
    0%, 100% {
        transform: translate(0, 0);
    }
    10%, 50%, 90% {
        transform: translate(-1px, -1px);
    }
    20%, 60% {
        transform: translate(1px, 1px);
    }
    30%, 70% {
        transform: translate(-1px, 1px);
    }
    40%, 80% {
        transform: translate(2px, -1px);
    }
}







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

  #dataDropZone .drop-zone {
      width: 916px; /*100%;*/
      margin-left: 23px;

  }


  #dataDropZone .drop-zone #fileCounter {
      margin-right: -935px;

  }

}





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


  #dataDropZone .drop-zone {
      width: 803px; /*100%;*/
      margin-left: 24px;

  }


  #dataDropZone .drop-zone #fileCounter {
      margin-right: -825px;

  }


  .preview-container .preview .remove-btn {
      position: absolute;
      top: 5px;
      right: 45px;
      background-color: rgba(255, 255, 255, 0.8)!important;
      color: red!important;
      border-radius: 50%;
      cursor: pointer;
      width: 20px!important;
      height: 20px!important;
      display: flex;
      justify-content: center;
      align-items: center;
      border: none!important;
      transition: .3s;
  }


}




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


  #dataDropZone .drop-zone {
      width: 650px; /*100%;*/
      margin-left: 24px;
      height: 200px;
      margin-bottom: 10px;
      margin-top: 5px;

  }


  #dataDropZone .drop-zone #fileCounter {
      margin-right: -670px;
      margin-bottom: 15px;

  }










  .preview-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      margin-top: 10px;
      width: 100%;
      z-index: 10;
      margin-left: 25px;
  }




  .preview-container .preview {
      position: relative;
      display: inline-block;
      margin: 10px;
      width: 130px;
      height: 130px;
  }






  .preview-container .preview .remove-btn {
      position: absolute;
      top: 5px;
      right: 35px;
      background-color: rgba(255, 255, 255, 0.8)!important;
      color: red!important;
      border-radius: 50%;
      cursor: pointer;
      width: 20px!important;
      height: 20px!important;
      display: flex;
      justify-content: center;
      align-items: center;
      border: none!important;
      transition: .3s;
  }


}



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


  #dataDropZone .drop-zone {
      width: 505px; /*100%;*/
      margin-left: 24px;
      height: 200px;
      margin-bottom: 10px;
      margin-top: 5px;

  }


  #dataDropZone .drop-zone #fileCounter {
      margin-right: -523px;
      margin-bottom: 17px;

  }





  .preview-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      margin-top: 10px;
      width: 100%;
      z-index: 10;
      margin-left: 1px;
  }



  .preview-container .preview {
      position: relative;
      display: inline-block;
      margin: 10px;
      width: 106px;
      height: 106px;
  }






  .preview-container .preview .remove-btn {
      position: absolute;
      top: 5px;
      right: 23px;
      background-color: rgba(255, 255, 255, 0.8)!important;
      color: red!important;
      border-radius: 50%;
      cursor: pointer;
      width: 20px!important;
      height: 20px!important;
      display: flex;
      justify-content: center;
      align-items: center;
      border: none!important;
      transition: .3s;
  }


}


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


  .preview-container .preview .remove-btn {
      position: absolute;
      top: -110px;
      right: -118px;
      background-color: rgba(255, 255, 255, 0.8)!important;
      color: red!important;
      border-radius: 50%;
      cursor: pointer;
      width: 20px!important;
      height: 20px!important;
      display: flex;
      justify-content: center;
      align-items: center;
      border: none!important;
      transition: .3s;
  }


}



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


  #dataDropZone .drop-zone {
      width: 310px; /*100%;*/
      margin-left: 20px;
      height: 200px;
      margin-bottom: 10px;
      margin-top: 5px;

  }


  #dataDropZone .drop-zone #fileCounter {
      margin-right: -325px;
      margin-bottom: 17px;

  }



  .preview-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      margin-top: -10px;
      width: 100%;
      z-index: 10;
      margin-left: 45px;
  }



  .preview-container .preview {
      position: relative;
      display: inline-block;
      margin: 10px;
      width: 90px;
      height: 90px;
  }






  .preview-container .preview .remove-btn {
      position: absolute;
      top: -10px;
      right: -65px;
      background-color: rgba(255, 255, 255, 0.8)!important;
      color: red!important;
      border-radius: 50%;
      cursor: pointer;
      width: 20px!important;
      height: 20px!important;
      display: flex;
      justify-content: center;
      align-items: center;
      border: none!important;
      transition: .3s;
      position: absolute!important;
  }


}





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


  #dataDropZone .drop-zone {
      width: 215px; /*100%;*/
      margin-left: 20px;
      height: 200px;
      margin-bottom: 10px;
      margin-top: 5px;

  }


  #dataDropZone .drop-zone #fileCounter {
      margin-right: -235px;
      margin-bottom: 17px;

  }



  .preview-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      margin-top: 0px;
      width: 100%;
      z-index: 10;
      margin-left: 7px;
  }



  .preview-container .preview {
      position: relative;
      display: inline-block;
      margin: 10px;
      width: 80px;
      height: 80px;
  }






  .preview-container .preview .remove-btn {
      position: absolute;
      top: -10px;
      right: -15px;
      background-color: rgba(255, 255, 255, 0.8)!important;
      color: red!important;
      border-radius: 50%;
      cursor: pointer;
      width: 20px!important;
      height: 20px!important;
      display: flex;
      justify-content: center;
      align-items: center;
      border: none!important;
      transition: .3s;
      position: absolute!important;
  }


}
