/* === RESTORED ORIGINAL CSS WITH PERFORMANCE OPTIMIZATIONS === */
ul.reduced-space li {
    margin-bottom: 3px !important;
}
h1.img-tool-heading {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}
.img-url-input {
    width: 100%;
    padding: 16px 10px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    margin-bottom: 20px;
    background: #fafafa;
}
.img-tool-options {
    margin-bottom: 20px;
}
.options label {
    margin-right: 15px;
}
.img-tool-extract-btn {
    background: linear-gradient(45deg, #1e55b2, #3477e8);
    color: white;
    border: none;
    padding: 17px 32px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    transition: transform 0.2s;
}
.img-tool-extract-btn:hover {
    transform: translateY(-2px);
}
.file-types {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.file-types:empty {
    min-height: 49px;
}
.file-type {
    font-size: 18px;
    background: #f1f1f1;
    border-radius: 4px;
    padding: 5px 10px;
    margin: 5px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}

/* === ULTRA-PERFORMANCE OPTIMIZATIONS TO REDUCE INP === */
.img-ttol-res {
    will-change: transform;
}
.fetched-img {
    will-change: transform;
    contain: layout style paint;
}
.img-ttol-res:hover {
    will-change: auto;
}
.img-tool-extract-btn {
    will-change: transform;
    contain: layout style paint;
}
.img-url-input {
    will-change: transform;
    contain: layout style paint;
}
#img-search-box {
    will-change: transform;
    contain: layout style paint;
}

/* OPTIMIZED: Reduce paint complexity */
.img-ttol-res {
    transform: translateZ(0);
}
.img-tool-extract-btn {
    transform: translateZ(0);
}
.img-url-input {
    transform: translateZ(0);
}

/* OPTIMIZED: Hardware acceleration for smooth interactions */
.img-tool-extract-btn:active {
    transform: translateZ(0) scale(0.98);
}
.img-url-input:focus {
    transform: translateZ(0);
}
.img-ttol-res:hover {
    transform: translateZ(0) translateY(-2px);
}

/* === FILE TYPE COLORS === */
.png {
    background-color: #006fff12;
    border: 1px solid #006fff;
    color: #006fff;
}
.jpeg {
    background-color: #0bb31f12;
    border: 1px solid #0bb21f;
    color: #0bb21f;
}
.jpg {
    background-color: #0bb31f12;
    border: 1px solid #0bb21f;
    color: #0bb21f;
}
.webp {
    background-color: #9300d812;
    border: 1px solid #9300d8;
    color: #9300d8;
}
.gif {
    background-color: #e0000412;
    color: #e00004;
    border: 1px solid #e00004;
}
.svg {
    background-color: #c8990012;
    color: #c89900;
    border: 1px solid #c89900;
}
.avif {
    background-color: #0700d312;
    color: #0700d3;
    border: 1px solid #0700d3;
}
/* Responsive Design  */
@media (max-width: 600px) {
    .extract-btn {
        width: 100%;
    }
}
.img-tool-options label {
    font-family: "Poppins", sans-serif !important;
    font-size: 14px;
    font-weight: 400;
}
.img-tool-options label:first-child {
    margin-right: 20px;
}
/* ----------------- Loading CSS --------------------------------- */
.loading-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.loading-text {
    font-size: 14px;
    color: #333;
}
.loading-bar {
    display: flex;
    gap: 10px;
    width: 100%;
}
.segment {
    width: 245px;
    height: 8px;
    background-color: #d3ddee;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.segment.active {
    background-color: #1d4ed8;
}
.img-reult-heading {
    padding-top: 30px;
    margin-bottom: 30px;
}
h3.img-tool-result-head {
    font-size: 22px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #000;
}
/* ------------------------------------------------------ Result images CSS -------------------------------------------------------   */
.img-results-content-div {
    padding-top: 30px;
}
.select-donwload-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.downloadall-div img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    cursor: pointer;
}
.selectall-div label {
    font-family: "Montserrat", sans-serif;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
input.select-all-btn {
    width: 20px;
    height: 20px;
}
.img-ttol-res {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: #f7f7f7;
    border: 1px solid #00000012;
    border-radius: 7px;
    position: relative;
    margin-bottom: 10px;
    gap: 20px;
}
.res-image-tool-div {
    width: 80px;
}
.img-result-content-div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 630px;
}
.img-tool-download-btn {
    max-width: 220px;
}
.res-image-tool-div {
    width: 80px;
    height: 80px;
    border: 1px solid #cdcccf;
    border-radius: 0.375rem;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-tool-download-btn button.download-btn {
    padding: 8px 15px;
    border-radius: 7px;
    background-color: #1e58b8;
    color: #fff;
    border: 1px solid #1e58b8;
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    cursor: pointer;
}
.image-details-div {
    display: flex;
    gap: 10px;
}
.image-type-div span.file-type {
    border: none;
    font-size: 16px;
}
span.resolution,
span.size {
    padding: 5px 20px;
    background: #fff;
    border-radius: 7px;
    font-family: "Montserrat", sans-serif;
}
.image-name-div p {
    font-size: 18px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 0px;
}
.results-div-content-res {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.loading p {
  font-family: "Montserrat", sans-serif;
  color: #000000;
  font-weight: 300;
}
input.hidden-checkbox {
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  transform: translateY(50%);
  top: 10px;
  left: 12px;
}
button.loadmore {
  background: #1e58b81a;
  border: none;
  padding: 14px 22px;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #1e58b8;
  border-radius: 7px;
  cursor: pointer;
}
.load-more-btn-div {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}
.single-tools .wrapper form#extractForm {
  padding: 30px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
  margin-top: 20px !important;
  margin-bottom: 50px !important;
  display: flex;
  flex-direction: column;
}
.single-tools .wrapper form#extractForm .img-tool-extract-btn {
  border: 0px !important;
  transform: scale(1);
  font-weight: 500;
  height: 47px !important;
  transition: 0.5s all !important;
  background: linear-gradient(45deg, #1e55b2, #3477e8) !important;
  color: #fff !important;
  padding: 0.375rem 0.75rem;
  border-radius: 5px;
  margin: 0;
  width: fit-content;
  cursor: pointer !important;
  font-size: 16px;
}
/* ------ download option css -------- */
.download-options {
  position: absolute;
  max-width: 310px;
  width: 100%;
  right: -30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  z-index: 1;
}
.download-options button {
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  color: #1e58b8;
}
.download-options button:not(:last-child) {
  border-bottom: 1px solid #0000000d;
}
.download-options button:hover {
  background: #1e58b8;
  color: #fff;
}
@media (max-width: 575px) {
  .tool-container,
  .image-container-preview {
    padding: 0 15px;
  }
}
@media (max-width: 767px) {
  .img-ttol-res {
    flex-direction: column;
    gap: 0px;
  }
  .img-tool-download-btn {
    margin-top: 20px;
  }
  button.download-btn {
    padding: 8px 35px;
  }
  span.resolution {
    font-size: 14px;
    padding: 5px 8px;
  }
  span.size {
    font-size: 14px;
  }
  span.file-type {
    font-size: 14px !important;
  }
  .file-types {
    padding: 0 15px;
  }
  .select-donwload-div {
    margin-top: 20px;
  }
  .res-image-tool-div {
    width: 100%;
  }

  .img-tool-download-btn {
    max-width: 100% !important;
    width: 100%;
  }
}
/* --------------------------    */
.download-section {
  display: flex;
  align-items: center;
  position: relative;
  gap: 10px;
}
.download-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 10px;
}
.img-results-content-div .dropdown {
  position: absolute;
  top: 0px;
  left: -70px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
  z-index: 1;
}
.img-results-content-div .dropdown.open {
  display: block;
}
.img-results-content-div .dropdown-item {
  padding: 7px 15px;
  cursor: pointer;
  white-space: nowrap;
}
.img-results-content-div .dropdown-item:hover {
  background-color: #f0f0f0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.img-results-content-div .dropdown-item:not(:last-child) {
  border-bottom: 1px solid #00000024;
}
.img-results-content-div .dropdown-item {
  color: #000;
}
@media (max-width: 767px) {
  .img-results-content-div .dropdown {
    left: 130px;
  }
  .img-results-content-div .dropdown-item {
    font-size: 14px;
    padding: 5px;
  }
}
button.d-options {
  padding: 8px 10px;
  border-radius: 7px;
  background: linear-gradient(45deg, #1e55b2, #3477e8) !important;
  color: #fff;
  border: 1px solid #1e58b8;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
}
div.download-all {
  position: absolute;
  z-index: 1;
  background: #fff;
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  top: 45px;
  left: -180px;
  display: none;
}
.download-all.active {
  display: block !important;
}
.downloadall-div {
  position: relative;
}
.img-inpu input {
  height: 15px;
  width: 15px;
  cursor: pointer;
}
.img-ttol-res:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.img-ttol-res {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  cursor: pointer;
}
.image-name-div p {
  font-size: 16px;
  margin-bottom: 10px;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  word-break: break-all;
}
.img-tool-download-btn button.download-btn {
  transition: background-color 0.3s;
  background: linear-gradient(1deg, #1e55b2, #3477e8) !important;
}
.img-tool-download-btn button.download-btn:hover {
  background: linear-gradient(45deg, #1e55b2, #3477e8) !important;
}
button.d-options {
  transition: background-color 0.3s;
}
button.d-options:hover {
  background: linear-gradient(0deg, #1e55b2, #3477e8) !important;
}
.image-data-container {
  flex: 1 1 0%;
  margin-left: 1rem;
}
span.resolution,
span.size {
  border: 1px solid #dddddd;
}
@media (max-width: 767px) {
  input.hidden-checkbox {
    top: 8px;
    left: 15px;
  }
  .img-ttol-res {
    flex-direction: row;
  }
  img.fetched-img {
    display: flex;
    width: 4rem;
  }
  .res-image-tool-div {
    display: flex;
  }
  .image-details-div {
    flex-wrap: wrap;
    gap: 10px 5px;
  }
  .img-tool-download-btn button.download-btn {
    font-size: 12px;
    padding: 5px 10px;
    border: 0px;
  }
  button.d-options {
    font-size: 14px;
  }
  .file-type {
    margin: 0;
  }
  .img-tool-download-btn.download-section {
    margin-top: 10px;
    justify-content: flex-end;
  }
  button.d-options {
    padding: 3px 7px;
  }
  .img-ttol-res {
    align-items: unset;
    padding: 10px;
  }
  .img-ttol-res .img-inpu .res-image-tool-div,
  .img-ttol-res .img-inpu .res-image-tool-div img {
    height: 100%;
    max-height: 100px;
  }
  .dropdown.open {
    top: -30px;
    z-index: 9999999;
    bottom: unset;
    left: unset;
    right: 20px;
  }
}

@media (min-width: 350px) and (max-width: 420px) {
  .image-type-div span.file-type {
    padding: 5px 5px;
    font-size: 12px !important;
  }
  span.resolution,
  span.size {
    padding: 5px 5px;
    font-size: 12px !important;
  }
}
@media (min-width: 768px) {
  .image-data-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-around;
    width: 100%;
  }
  .img-ttol-res {
    justify-content: flex-start;
  }
}
div#dropdownMenu .dropdown-item {
  color: #000;
  padding: 7px 15px !important;
}
div#dropdownMenu .dropdown-item:not(:last-child) {
  border-bottom: 1px solid #00000024;
}
@media (max-width: 767px) {
  button#retestBtn {
    margin: 0 15px !important;
  }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  span.resolution,
  span.size {
    padding: 5px 5px;
    font-size: 14px;
  }
  .image-type-div span.file-type {
    font-size: 14px;
  }
  .image-details-div {
    gap: 5px;
  }
}
html.image-preview-active {
  overflow: hidden;
}

.image-preview-system #imageOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.image-preview-system .image-container-preview {
  position: relative;
  width: 90%;
  height: 50%;
  max-width: 700px;
  max-height: 700px;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  overflow: visible;
  background-color: rgb(255 255 255 / 35%);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
}
.image-preview-system #enlargedImg {
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
  object-fit: contain;
}
.image-preview-system .close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: white;
  color: black;
  font-size: 30px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1001;
}
@media (max-width: 768px) {
  .image-preview-system .image-container-preview {
    max-width: 95%;
    max-height: 95%;
  }
  .res-image-tool-div:after {
    left: 80%;
  }
}
@media (max-width: 480px) {
  .image-preview-system .image-container-preview {
    padding: 5px;
  }
  .image-preview-system #enlargedImg {
    max-width: calc(100% - 10px);
    max-height: calc(100% - 10px);
  }
}
.res-image-tool-div:after {
  content: "Click here to View Large Image";
  position: absolute;
  background: #fff;
  padding: 5px;
  bottom: -10px;
  width: 140px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  border: 1px solid #d4d4d8;
  border-radius: 7px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
}
.res-image-tool-div {
  position: relative;
}
.res-image-tool-div:hover::after {
  opacity: 1;
}
.img-inpu input {
  z-index: 9;
}
/* ---  image Preview CSS  ------ */
html.image-preview-active {
  overflow: hidden;
}
.image-preview-system #imageOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.image-preview-system .image-container-preview {
  position: relative;
  width: 90%;
  height: 50%;
  max-width: 700px;
  max-height: 700px;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  overflow: visible;
  background-color: rgb(255 255 255 / 35%);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
}
.image-preview-system #enlargedImg {
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
  object-fit: contain;
}
.image-preview-system .close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: white;
  color: black;
  font-size: 30px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1001;
}
@media (max-width: 768px) {
  .image-preview-system .image-container-preview {
    max-width: 95%;
    max-height: 95%;
  }
  .res-image-tool-div:after {
    left: 80%;
  }
}
@media (max-width: 480px) {
  .image-preview-system .image-container-preview {
    padding: 5px;
  }
  .image-preview-system #enlargedImg {
    max-width: calc(100% - 10px);
    max-height: calc(100% - 10px);
  }
}
.res-image-tool-div:after {
  content: "Click here to View Large Image";
  position: absolute;
  background: #fff;
  padding: 5px;
  bottom: 23px;
  width: 120px;
  left: -67px;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  border: 1px solid #d4d4d8;
  border-radius: 7px;
  font-size: 12px;
  text-align: center;
  opacity: 0;
  z-index: 0;
  visibility: hidden;
}
.res-image-tool-div {
  position: relative;
}
.res-image-tool-div:hover::after {
  opacity: 1;
  visibility: visible;
}
.img-inpu input {
  z-index: 9;
}
.download-all .dropdown-item {
  cursor: pointer;
}
@media (max-width: 1400px) {
  .res-image-tool-div:after {
    left: 150px;
    bottom: 30px;
  }
}
@media (max-width: 767px) {
  .res-image-tool-div:after {
    left: 130px;
    bottom: 30px;
    z-index: 99;
  }
}
.selectall-div label {
  cursor: pointer;
}
/* ----------- */
html.loader:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: 50%;
  left: 50%;
  background-image: url(https://w3speedup.com/wp-content/uploads/2025/06/YouTube_loading_symbol_3_transparent-6.gif);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 99;
  transform: translate(-50%, -50%);
  background-position: top center;
}
html.loader:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #0000009e;
  z-index: 99;
}
@media (max-width: 767px) {
  form#extractForm {
    padding: 30px 15px !important;
  }
  .res-image-tool-div img {
    width: unset !important;
    height: unset !important;
  }
  .res-image-tool-div {
    width: 80px !important;
    height: 80px !important;
  }
  button#retestBtn {
    margin-top: 20px !important;
  }
  .single-tools div#single-wrapper .wpb_wrapper p {
    padding-left: 0 !important;
  }

  .single-tools div#single-wrapper .wpb_wrapper ul {
    padding-left: 0;
  }

  .single-tools div#single-wrapper .wpb_wrapper h3 {
    padding-left: 0 !important;
  }
  .single-tools div#single-wrapper .vc_toggle_title h3 {
    padding-left: 10px !important;
  }
}
/* ---------------- */
.hide-tool-element {
  display: none !important;
}
.show-tool-element {
  display: block !important;
}
span.resolution,
span.size {
  text-transform: lowercase !important;
}
.res-image-tool-div img {
  max-width: 70px !important;
  max-height: 70px !important;
}
div#selectDownloadDiv {
  margin-bottom: 10px;
}
button.file-type-filter {
  font-size: 18px;
  background: #f1f1f1;
  border-radius: 4px;
  padding: 5px 10px;
  margin: 5px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
}
button.file-type-filter[data-type="png"] {
  background-color: #006fff12;
  border: 1px solid #006fff;
  color: #006fff;
}
button.file-type-filter[data-type="png"]:hover,
button.file-type-filter.active[data-type="png"] {
  background: #006fff;
  color: #fff;
}
button.file-type-filter[data-type="gif"] {
  background-color: #66000014;
  color: #660000;
  border: 1px solid #660000;
}
button.file-type-filter[data-type="gif"]:hover,
button.file-type-filter.active[data-type="gif"] {
  background: #660000;
  color: #fff;
}
button.file-type-filter[data-type="jpg"] {
  background-color: #0bb31f12;
  border: 1px solid #0bb21f;
  color: #0bb21f;
}
button.file-type-filter[data-type="jpg"]:hover,
button.file-type-filter.active[data-type="jpg"] {
  background: #0bb21f;
  color: #fff;
}
button.file-type-filter[data-type="webp"] {
  background-color: #9300d812;
  border: 1px solid #9300d8;
  color: #9300d8;
}
button.file-type-filter[data-type="webp"]:hover,
button.file-type-filter.active[data-type="webp"] {
  background: #9300d8;
  color: #fff;
}
button.file-type-filter[data-type="svg"] {
  background-color: #c8990012;
  color: #c89900;
  border: 1px solid #c89900;
}
button.file-type-filter[data-type="svg"]:hover,
button.file-type-filter.active[data-type="svg"] {
  background: #c89900;
  color: #fff;
}
button.file-type-filter[data-type="all"] {
  background-color: #fd5c1114;
  border: 1px solid #fd5c11;
  color: #fd5c11;
}
button.file-type-filter[data-type="all"]:hover,
button.file-type-filter.active[data-type="all"] {
  background: #fd5c11;
  color: #fff;
}
button.file-type-filter[data-type="jpeg"] {
  background-color: #0bb31f12;
  border: 1px solid #00ff1f;
  color: #00ff1f;
}
button.file-type-filter[data-type="jpeg"]:hover,
button.file-type-filter.active[data-type="jpeg"] {
  background: #00ff1f;
  color: #fff;
}
button.file-type-filter[data-type="unknown"] {
  background-color: #e2e2e2;
  border: 1px solid #000000;
  color: #000000;
}
button.file-type-filter[data-type="unknown"]:hover,
button.file-type-filter.active[data-type="unknown"] {
  background: #000000;
  color: #fff;
}
.file-type.unknown {
  background-color: #00000012;
  border: 1px solid #000000;
  color: #000000;
}
div#imgResultsContentDiv {
  margin-bottom: 35px;
}
@media (max-width: 767px) {
  button.file-type-filter {
    font-size: 14px !important;
    margin: 0;
  }
  .file-types {
    gap: 10px;
  }
  .file-types:empty {
    min-height: 78px;
  }
  .select-path .tooltip p {
    font-size: 12px;
    top: -150px;
  }
  .select-path input {
    height: 11px;
  }
  div#messageContainer {
    line-break: anywhere;
  }
}
div#imgResultsContentDiv .img-ttol-res {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.2s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.checkboxContainer {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  width: 100%;
}
div#selectAllDiv label {
  align-items: center;
}
div#selectAllDiv label input {
  width: 13px;
  height: 13px;
}
.select-path {
  padding: 7px 15px;
  background: #e1dfdf;
  display: flex;
  color: #000000;
  align-items: center;
  border-radius: 5px;
  margin: 5px 0px;
  font-size: 13px;
  width: 100%;
}
.select-path .tooltip p {
  background: #ffffff;
  color: #000000;
  padding: 8px 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 10px;
  position: absolute;
  left: 0;
  top: 35px;
  opacity: 0;
  visibility: hidden;
}
.select-path i.fa.fa-info-circle {
  font-size: 16px;
  cursor: pointer;
}
.select-path i.fa.fa-info-circle {
  color: #000;
}
.select-path label {
  margin-bottom: 0;
  cursor: pointer;
}
.select-path .tooltip i.fa.fa-info-circle:hover + p {
  display: block;
}
.select-path .tooltip {
  cursor: pointer;
}
.select-path label {
  display: flex;
  gap: 5px;
  align-content: center;
  align-items: center;
}
.select-path .tooltip {
  font-size: 14px;
}
.dropdown-item:active {
  color: #fff !important;
  background: #2a67ce;
}
.select-path label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
div#messageContainer {
  margin-right: 15px;
  text-align: center;
  border: 1px solid #e16969;
  background: #f5e7e7;
  margin-bottom: 15px;
  padding: 10px;
  color: red;
  font-weight: bold;
  margin-top: 20px;
  border-radius: 5px;
  line-break: anywhere;
}
div#messageContainer:empty {
  display: none;
}
.image-preview-error span {
  font-size: 14px;
  color: #fd5c11;
}
.single-post #content .image-preview-error span a {
  font-size: 14px !important;
  background: unset;
  border: 0;
  padding: 0;
  text-decoration: underline !important;
  color: #fd5c11 !important;
  font-weight: 500;
}
.single-post #content .image-preview-error span a:hover {
  color: #000000 !important;
  background: #e6eef8;
}
.image-preview-error {
  font-weight: 500;
}
.image-type-div span {
  margin-left: 0;
}
.image-data-container {
  justify-content: space-between;
}
.image-preview-error img {
  max-width: 20px !important;
  height: 20px;
  vertical-align: middle;
}
.image-preview-error {
  display: inline-block;
}
.res-image-tool-div.fallback-image:after {
  display: none;
}
.image-preview-error span a svg {
  fill: #fd5c11;
}
.image-preview-error span a:hover svg {
  fill: #000;
}
span#domainName {
  text-transform: lowercase;
}
span#domainName {
  text-transform: lowercase;
  font-weight: 600;
}
span#imgTotalImgFound {
  font-weight: 600;
}
.image-preview-system .close-btn:hover {
  background: #000;
  color: #fff;
}
html.loader:after {
  position: fixed;
  z-index: 9999;
}
html.loader:before {
  position: fixed;
  z-index: 999;
}
html.loader {
  overflow: hidden;
}
div#wrapper-navbar.shrink {
  z-index: 99;
}
@media only screen and (max-width: 575px) {
  html.loader:after {
    width: 70px;
    height: 70px;
  }
}
.ios-checkbox {
  --checkbox-size: 28px;
  --checkbox-color: #215aba;
  --checkbox-bg: #dbeafe;
  --checkbox-border: #93c5fd;
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ios-checkbox input {
  height: 28px;
  width: 28px;
  opacity: 0;
  position: absolute;
  top: -14px;
  left: 0px;
  border-radius: 50%;
}
.checkbox-wrapper {
  position: relative;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.checkbox-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--checkbox-border);
  background: white;
  transition: all 0.2s ease;
}
.checkbox-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80%;
  height: 80%;
  color: white;
  transform: scale(0);
  transition: all 0.2s ease;
}
.check-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transition: stroke-dashoffset 0.3s ease 0.1s;
}
.ios-checkbox input:checked + .checkbox-wrapper .checkbox-bg {
  background: var(--checkbox-color);
  border-color: var(--checkbox-color);
}
.ios-checkbox input:checked + .checkbox-wrapper .checkbox-icon {
  transform: scale(1);
}
.ios-checkbox input:checked + .checkbox-wrapper .check-path {
  stroke-dashoffset: 0;
}
.ios-checkbox:hover .checkbox-wrapper {
  transform: scale(1.05);
}
.ios-checkbox:active .checkbox-wrapper {
  transform: scale(0.95);
}
.ios-checkbox input:focus + .checkbox-wrapper .checkbox-bg {
  box-shadow: 0 0 0 4px var(--checkbox-bg);
}
.ios-checkbox.blue {
  --checkbox-color: #3b82f6;
  --checkbox-bg: #dbeafe;
  --checkbox-border: #93c5fd;
  position: relative;
  margin-bottom: 0;
}
.checkbox-container {
  position: absolute;
  z-index: 9;
  top: -10px;
  left: -10px;
}
@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.ios-checkbox input:checked + .checkbox-wrapper {
  animation: bounce 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cyberpunk-checkbox-container {
  position: relative;
}
.cyber-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.cyber-checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-new {
  position: relative;
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  border: 2px solid #2c6ad4;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.checkbox-new .check-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.3s ease;
  width: 20px;
  height: 20px;
}
.cyber-checkbox input:checked + .checkbox-new {
  background: linear-gradient(135deg, #2058b7, #235dbf);
  border-color: #2a68d1;
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.5),
    inset -3px -3px 6px rgba(0, 255, 255, 0.2), 0 0 15px rgb(255 255 255);
  animation: glitch 0.5s ease forwards;
  transform: translateZ(15px) scale(1.05);
}
.cyber-checkbox input:checked + .checkbox-new .check-icon {
  transform: translate(-50%, -50%) scale(1.05);
  opacity: 1;
  animation: check-bounce 0.4s ease-out;
}
.cyberpunk-checkbox-container span.check-icon svg {
  stroke: #ffffff;
  height: 20px;
  width: 20px;
}
span.checkbox-new:hover {
  transform: scale(1.12) !important;
}
@keyframes check-bounce {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
.img-inpu {
  position: relative;
}
div#selectDownloadDiv {
  position: relative;
}
div#selectAllDiv label input {
  height: 28px;
  width: 28px;
  opacity: 0;
  position: absolute;
  top: 0px;
  right: 0px !important;
  border-radius: 50%;
  left: unset !important;
}
/* pagination */
.pagination button,
select#imagesPerPageSelect {
  padding: 6px 16px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px !important;
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
  border: 1px solid #d8d8d8;
  cursor: pointer;
}
.pagination {
  margin-bottom: 10px;
  justify-content: center;
}
.pagination button.page-btn.active,
.pagination button:hover {
  background: linear-gradient(1deg, #1e55b2, #3477e8) !important;
  color: #fff;
}
select#imagesPerPageSelect option {
  cursor: pointer;
}
.pagination button[disabled] {
  pointer-events: none;
  opacity: 0.5;
}
.images-per-page-wrapper label {
  font-weight: 600;
}
/* SearchBar */
.search-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
}
.search-wrapper label {
  font-weight: 600;
  text-transform: capitalize;
  font-size: 18px;
}
.search-wrapper input#img-search-box {
  width: 300px;
  padding: 8px;
  outline: 1px solid #d8d8d8 !important;
  border-radius: 3px;
  border: 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px !important;
}
.search-wrapper input#img-search-box:active,
.search-wrapper input#img-search-box:focus {
  outline: 2px solid #2865cb !important;
}
.pagination button.page-btn.active,
.pagination button:hover svg {
  fill: #fff;
}
.pagination button svg {
  height: 24px;
  width: 16px;
}
/* new layout */
div#sidebar-2 {
  display: none;
}
div#content > .row {
  display: grid;
  gap: 20px;
}
.single-tools #content div#primary {
  width: 100% !important;
  max-width: unset !important;
}
html body div#page div#primary + .widget-area[role="complementary"] {
  display: none;
}
.main-container {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 3fr;
  max-width: 1500px;
  margin: 0 auto;
}
div#left-container {
  position: sticky;
  border-radius: 7px;
  background-color: #f7f7f7;
  border: 1px solid #00000012;
  padding: 15px;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  align-self: flex-start;
  top: 100px;
}
.single-tools .wrapper form#extractForm {
  max-width: 740px;
  margin: auto;
  margin-top: -160px !important;
  background: #fff;
  border-radius: 7px;
}
body.single-tools .full-width-banner {
  height: 400px !important;
}
.single-post h1.entry-title {
  margin-top: 150px !important;
}
div#primary {
  margin: 0 auto !important;
}
div#toolContainer {
  max-width: 1500px;
  margin: 0 auto;
}
.single-tools .wrapper > .container .container {
  max-width: 1500px;
  margin: 0 auto;
}
.image-filter-box h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: capitalize;
}
.search-wrapper input#img-search-box:hover {
  outline: 2px solid #2865cb !important;
}
.image-filter-box .file-types {
  margin-top: 5px;
  padding: 10px 10px;
  border: 1px solid #dedede;
  border-radius: 6px;
  gap: 0;
  background: #fff;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  outline: 1px solid #00000012 !important;
}
.image-filter-box .file-types button.file-type-filter {
  font-size: 14px;
}
body.single-post .image-filter-box h3 {
  font-size: 18px !important;
}
.image-filter-box .file-types:hover {
  outline: 2px solid #2865cb !important;
}
div#selectDownloadDiv {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}
.downloadall-div {
  display: flex;
  flex-wrap: wrap;
}
div#selectDownloadDiv h3 {
  font-weight: 600;
  text-transform: capitalize;
  font-size: 18px !important;
  margin-bottom: 0.5rem;
}
div#filter-box-div {
  margin-bottom: 30px;
}
div#downloadAllDiv .dropdown-item {
  display: block;
  width: 100%;
  padding: 7px 10px !important;
  clear: both;
  white-space: nowrap;
  border: 0;
  background: linear-gradient(1deg, #1e55b2, #3477e8) !important;
  color: #fff;
  margin-bottom: 5px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  text-transform: capitalize;
}
div#selectDownloadDiv .checkbox-container {
  position: unset;
}
.tooltip {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
div#selectDownloadDiv .checkbox-container {
  padding: 7px 10px;
  border: 1px solid #dedede;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  outline: 1px solid #00000012 !important;
  width: auto;
}
#selectAllDiv:has(input#selectAll[type="checkbox"]:checked) {
  outline: 2px solid #2865cb !important;
}
div#selectAllDiv:hover {
  outline: 2px solid #2865cb !important;
}
.downloadall-div {
  gap: 5px;
}
div#downloadAllDiv .dropdown-item {
  border: 2px solid #2865cb !important;
  transition: 0.3s ease;
}
div#downloadAllDiv .dropdown-item:hover {
  background: #fff !important;
  color: #2865cb !important;
}
div#downloadAllDiv div#webp {
  background: #27272a !important;
  border: 2px solid #27272a !important;
}
div#downloadAllDiv div#webp:hover {
  background: #fff !important;
  color: #27272a !important;
}
div#downloadAllDiv div#compress {
  background: #0bb21f !important;
  border: 2px solid #0bb21f !important;
}
div#downloadAllDiv div#compress:hover {
  background: #fff !important;
  color: #0bb21f !important;
}
.select-path i.fa.fa-info-circle:hover ~ .tooltip p {
  opacity: 1;
  visibility: visible;
}
i#tooltip-i {
  margin-left: 10px;
}
.select-path {
  padding-left: 3px;
}
div#selectAllDiv {
  display: flex;
  gap: 5px;
  align-items: center;
}
div#selectAllDiv span.download-counter {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}
.pagination button.prev,
.pagination button.next {
  display: flex;
}
.img-url-input:hover,
.img-url-input:active,
.img-url-input:focus,
.img-url-input:target,
.img-url-input:focus-visible,
.img-url-input:focus-within {
  outline: 2px solid #1e59bc !important;
}
.file-types button.file-type-filter {
  opacity: 0.6;
}
.file-types button.file-type-filter:hover {
  opacity: 1;
}
.file-types button.file-type-filter.active {
  opacity: 1;
}
@media (min-width: 1400px) and (max-width: 1500px) {
  .main-container {
    margin: 20px !important;
  }
}
@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
  }
  .img-reult-heading {
    padding-top: 0;
    margin-bottom: 20px;
  }
  div#filter-box-div {
    margin-bottom: 20px;
  }
  body.single-post .image-filter-box h3 {
    font-size: 16px !important;
  }
  .search-wrapper label {
    font-size: 16px;
  }
  .search-wrapper input#img-search-box {
    padding: 5px;
    height: 35px;
  }
  .image-filter-box .file-types {
    padding: 6px;
    gap: 10px;
  }
  div#selectDownloadDiv h3 {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }
  .checkboxContainer {
    margin-top: 0;
  }
  .image-filter-box .file-types button.file-type-filter {
    font-size: 12px;
    padding: 2px 7px;
    margin: 0;
  }
  .select-path {
    width: auto;
    margin: 0 5px;
    margin-left: 0;
  }
  div#downloadAllDiv .dropdown-item {
    width: auto;
  }
  .ios-checkbox {
    --checkbox-size: 20px;
  }
  div#selectDownloadDiv .checkbox-container {
    padding: 4px 10px;
  }
  div#left-container {
    padding: 8px 10px;
    position: unset;
  }
  div#downloadAllDiv .dropdown-item {
    padding: 5px 10px !important;
    font-size: 14px;
    margin: 0;
    min-width: unset !important;
  }
  body.single-post h3.img-tool-result-head {
    font-size: 16px !important;
  }
  .images-per-page-wrapper {
    width: 100%;
    text-align: center;
  }
  div#imgResultsContentDiv {
    margin-bottom: 20px;
  }
  h1.img-tool-heading {
    font-size: 20px;
  }
  i#tooltip-i {
    margin-left: 10px;
  }
  .pagination button,
  select#imagesPerPageSelect {
    padding: 5px 15px;
  }
  .select-path {
    padding-left: 3px;
  }
}
/* features box */
.extract-content-div .wpb_wrapper {
  display: flex;
  flex-direction: column !important;
  gap: 15px;
}
p.extract_title {
  margin-bottom: 0;
  font-weight: 800;
  font-size: 18px;
}
.extract-outer-div {
  display: flex;
  gap: 30px;
}
.extract-outer-div:nth-child(2) {
  margin-top: 30px;
}
.extractDiv-img {
  box-shadow: 1px 2px 30px 0px #d6dae4;
  padding: 20px;
  border-radius: 10px;
}
.extract-content-div {
  margin-bottom: 0;
}
.extractDiv-img .vc_column-inner {
  padding: 0;
}
.extractDiv-img img {
  width: 70px !important;
  padding: 10px;
  background: #00000024;
  border-radius: 7px;
  height: 100%;
}
.extractDiv-img .wpb_single_image {
  margin-bottom: 20px;
}
.extractDiv-img .red-bg.color-bg img {
  background: #e00b0e1a;
  border: 1px solid #e00b0e;
}
.extractDiv-img .green-bg.color-bg img {
  background: #0bb11f1a;
  border: 1px solid #0bb11f;
}
.extractDiv-img .orange-bg.color-bg img {
  background: #fd5c121a;
  border: 1px solid #fd5c12;
}
.extractDiv-img .yellow-bg.color-bg img {
  background: #c79a051a;
  border: 1px solid #c79a05;
}
.extractDiv-img .purple-bg.color-bg img {
  background: #9712d91a;
  border: 1px solid #9712d9;
}
.extractDiv-img .blue-bg.color-bg img {
  background: #0a7ddb1a;
  border: 1px solid #0a7ddb;
}
p.extract-description {
  font-weight: 500;
  color: #23293e;
  line-height: 28px;
}
.extractDiv-img figure {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  max-width: 100%;
}
.extractDiv-img figure .vc_single_image-wrapper.vc_box_border_grey {
  display: flex;
}
@media (max-width: 767px) {
    .extract-outer-div {
        flex-wrap: wrap;
    }
    .extract-outer-div:nth-child(2) {
        margin-top: 0 !important;
    }
    .extract-outer-div::before {
        display: none !important;
    }
    #imgResultsContentDiv .img-ttol-res {
        box-shadow: none;
    }
}
@media (min-width: 767px) and (max-width: 991px) {
  .extract-outer-div {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 991px) {
  .extractDiv-img {
    width: 100%;
  }
  .extract-outer-div::before,
  .extract-outer-div::after {
    display: none !important;
  }
}

/* Image name hover Tooltip */
.img-nm-tool-tip {
  position: absolute;
  top: -10px;
  background-color: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.image-name-div:hover .img-nm-tool-tip {
  opacity: 1;
}
.img-nm-tool-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* promotion API section */
.single-tools .wrapper > .container .container {
  padding-left: 0;
  padding-right: 0;
}
.promo-sec-api .vc_column-inner {
  padding: 0;
}
.api-box {
  margin: 0 !important;
  padding: 0 !important;
}
.api-box .wpb_text_column {
  margin: 0;
}
.api-promo-btn {
  margin-bottom: 0;
}
.promo-sec-api {
  padding: 20px;
  margin: 0;
  position: relative;
  text-align: center;
  overflow: hidden;
  border: 1px solid #1a28793b;
  border-radius: 16px;
  max-width: 750px;
  margin: 0 auto;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.175) !important;
}
.promo-sec-api:before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(at 27% 37%, #fd3abf 0, transparent 0),
    radial-gradient(at 97% 21%, #72fe7d 0, transparent 50%),
    radial-gradient(at 52% 99%, #fd3a4e 0, transparent 50%),
    radial-gradient(at 10% 29%, #855afc 0, transparent 50%),
    radial-gradient(at 97% 96%, #e4c795 0, transparent 50%),
    radial-gradient(at 33% 50%, #8ca8e8 0, transparent 50%),
    radial-gradient(at 79% 53%, #eea5ba 0, transparent 50%);
  filter: blur(100px) saturate(150%);
  opacity: 0.25;
  pointer-events: none;
}
body.single-post .promo-sec-api h2.promo-api-head {
  font-weight: 600;
  font-size: 20px !important;
  text-align: center;
  line-height: 38px;
  color: #000;
  padding-bottom: 26px;
}
body.single-post .promo-sec-api p {
  font-size: 16px;
}
body.single-post .promo-sec-api .api-promo-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
}
body.single-post .promo-sec-api .api-promo-text p {
  text-align: center !important;
  padding-bottom: 26px;
}
body.single-post #content .promo-sec-api .api-promo-btn a {
  color: #fff !important;
  background-image: linear-gradient(0deg, #117eef 30%, #3fb0f8 100%, #20a5b8);
  border: 1px solid #117eef !important;
  font-weight: 500;
  font-size: 14px;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 5px;
  display: inline-block;
}
.vc_row.wpb_row.vc_row-fluid.extract-main-div {
  padding-top: 80px;
}
body.single-post #content .promo-sec-api .api-promo-btn a:hover {
  background: transparent;
  color: #117eef !important;
}
@media (max-width: 767px) {
  .single-tools div#single-wrapper .promo-sec-api {
    padding: 20px !important;
    margin: 30px 15px 0 !important;
  }
  body.single-post .promo-sec-api h2.promo-api-head {
    font-size: 18px !important;
    text-align: center !important;
    line-height: 26px;
    text-transform: capitalize;
  }
  body.single-post .promo-sec-api .api-promo-text {
    font-size: 16px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .single-tools div#single-wrapper .promo-sec-api {
    padding: 20px !important;
  }
  body.single-post .promo-sec-api h2.promo-api-head {
    font-size: 24px !important;
    text-align: center !important;
    line-height: 30px;
    text-transform: capitalize;
  }
  body.single-post .promo-sec-api .api-promo-text {
    font-size: 16px;
  }
}
#content .api-box h2.promo-api-head {
  background: none !important;
  padding: 0 0 15px 0 !important;
  color: #000000 !important;
  border-left: none !important;
  text-transform: capitalize;
}
@media (max-width: 767px) {
  .single-tools div#single-wrapper .extract-main-div {
    padding-top: 50px !important;
  }
  body.single-post .promo-sec-api .api-promo-text p {
    line-height: 1.3;
    font-weight: 500;
  }
  .vc_row.wpb_row.vc_row-fluid.tool-content-main-div {
    padding-bottom: 30px !important;
  }
  .extract-outer-div:nth-child(2) {
    margin-top: 30px !important;
  }
}
/* promotion API section end */
.img-ttol-res.hidden {
  display: none !important;
}
.main-container {
  margin: 0 15px;
}
.lftcontainer:empty {
  opacity: 0;
}
.lftcontainer.show {
  opacity: 1;
}
.main-form-btn {
  display: flex;
  gap: 10px;
}
div#custom-loader {
  margin: 0;
  padding: 6px 10px;
}
.custom-tools-loader-wrapper {
  width: 100%;
}
.loader-bar-wrapper {
  margin-top: 0px;
}
div#loader-percentage {
  margin-top: 0;
}
div#loader-message {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.show-loader:after {
  display: none !important;
}
.image-container.show {
  height: 2771.19px;
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite !important;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.lftcontainer.show {
  height: 482.38px;
  width: 100%;
  background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite !important;
}
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    max-height: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    max-height: 300px;
    transform: translateY(0);
  }
}
@media (max-width: 767px) {
  .single-tools .custom-tools-loader-wrapper #custom-loader {
    animation: loadingbar 0.9s ease-in-out;
    overflow: hidden;
    animation-fill-mode: both;
  }
  div#downloadAllDiv .dropdown-item {
    width: 100%;
  }
  .search-wrapper label {
    width: 100%;
  }
}
@keyframes loadingbar {
  0% {
    max-height: 0;
    opacity: 0;
  }
  100% {
    max-height: 1000px;
    opacity: 1;
  }
}
/* Media For Skelton */
@media (max-width: 379px) {
  .lftcontainer.show {
    height: 503px;
  }
  div#left-container {
    max-height: 503px;
  }
}
@media (max-width: 384px) {
  .image-container.show {
    height: 1435px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .lftcontainer.show {
    height: 325px;
  }
  input#img-search-box {
    margin-left: 5px;
  }
  .image-container.show {
    height: 1346px;
  }
}
@media (min-width: 992px) and (max-width: 1024px) {
  .lftcontainer.show {
    height: 284px;
  }
  input#img-search-box {
    margin-left: 5px;
  }
  .image-container.show {
    height: 1346px;
  }
}
@media (min-width: 1025px) {
  .lftcontainer.show {
    height: 687px;
  }
  .image-container.show {
    height: 1326px;
  }
}

.file-types.filters-disabled {
  opacity: 0.3;
  pointer-events: none;
}
.add-on-top {
  padding: 20px;
  margin: 0;
  position: relative;
  text-align: center;
  overflow: hidden;
  border: 1px solid #1a28793b;
  border-radius: 16px;
  max-width: 750px;
  margin: 0 auto;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.175) !important;
  /* min-height:140px; */
}
.postid-74430.logged-in .vc_row.wpb_row.vc_row-fluid.add-on-top {
  display: none;
}
/**/
@media (max-width: 767px) {
  .add-on-top ins.adsbygoogle {
    width: 100% !important;
    max-width: 100% !important;
  }
  .single-tools div#single-wrapper .vc_row.wpb_row.vc_row-fluid.add-on-top {
    max-width: calc(100% - 30px);
    margin: auto !important;
  }
}
/**/
/**/
div#paginationDiv {
  display: flex;
  justify-content: center;
  gap: 15px;
}
@media (max-width: 767px) {
  div#paginationDiv {
    flex-wrap: wrap;
  }
}

/* Show all images by default */
.img-ttol-res {
  display: flex;
}

/* Hide all images when specific type filter is applied */
#imgResultsContentDiv[data-filter="jpg"] .img-ttol-res:not([data-type="jpg"]),
#imgResultsContentDiv[data-filter="png"] .img-ttol-res:not([data-type="png"]),
#imgResultsContentDiv[data-filter="webp"] .img-ttol-res:not([data-type="webp"]),
#imgResultsContentDiv[data-filter="gif"] .img-ttol-res:not([data-type="gif"]),
#imgResultsContentDiv[data-filter="svg"] .img-ttol-res:not([data-type="svg"]),
#imgResultsContentDiv[data-filter="jpeg"] .img-ttol-res:not([data-type="jpeg"]),
#imgResultsContentDiv[data-filter="bmp"] .img-ttol-res:not([data-type="bmp"]),
#imgResultsContentDiv[data-filter="tiff"] .img-ttol-res:not([data-type="tiff"]),
#imgResultsContentDiv[data-filter="ico"] .img-ttol-res:not([data-type="ico"]) {
  display: none;
}

/* Active filter button */
.file-type-filter.active {
  background: #007bff;
  color: #fff;
}

/* Search filter - hide images that don't match search */
.img-ttol-res.search-hidden {
  display: none !important;
}
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

button#downloadOriginal {
  background: linear-gradient(1deg, #1e55b2, #3477e8);
}

button#downloadCompressed {
  background: #0bb21f;
  border: 2px solid #0bb21f;
}
.img-tool-download-btn .dropdown {
  position: absolute;
  top: 0px;
  left: -95px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
  z-index: 1;
}
.img-tool-download-btn .dropdown.open {
  display: block;
}
.img-tool-download-btn .dropdown-item {
  color: #000;
}
.img-tool-download-btn .dropdown-item:not(:last-child) {
  border-bottom: 1px solid #00000024;
}
div#downloadAllDiv {
  margin-top: 15px;
}
.select-path {
  position: relative;
}
div#downloadAllDiv button#downloadCompressed {
  background: #0bb21f !important;
  border: 2px solid #0bb21f !important;
}

div#downloadAllDiv button#webp {
  background: #27272a !important;
  border: 2px solid #27272a !important;
}

div#downloadAllDiv button#webp:hover {
  background: #fff !important;
  color: #27272a !important;
}

div#downloadAllDiv button#downloadCompressed:hover {
  background: #fff !important;
  color: #0bb21f !important;
}

.pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.images-per-page-wrapper {
  margin-bottom: 10px;
}
/* Simple performance optimizations */
.file-type-filter:disabled,
.page-btn:disabled,
.download-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* Smooth transitions for content */
#imgResultsContentDiv {
  transition: opacity 0.2s ease;
}

/* Loading state for buttons */
.file-type-filter,
.page-btn {
  transition: all 0.2s ease;
  position: relative;
}

.file-type-filter:disabled,
.page-btn:disabled {
  background-color: #f0f0f0;
  color: #999;
}
@media (max-width: 767px) {
  .img-tool-download-btn .dropdown {
    position: absolute;
    top: -30px;
    left: 0;
  }
  .main-form-btn {
    min-height: 48px;
  }
}
h1.entry-title {
  color: white !important;
  text-align: center;
  font-size: 37px !important;
  margin-top: 122px !important;
}

/*CSS ADDED Simple hide/show classes for parent elements */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* For flex containers */
.show-flex {
  display: flex !important;
}

/* Grid transitions */
.grid-hide {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.grid-show {
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* Button loading states */
.btn-loading {
  position: relative;
  pointer-events: none;
}
.btn-loading::after {
  content: "...";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: inherit;
  color: inherit;
  font-weight: inherit;
}
/* Loader completion states */
.loader-complete {
  width: 100% !important;
}
.loader-complete-text {
  content: "Done!";
}

/* OPTIMIZED: Body-based loading states for better performance */
body.loading .image-container {
  height: 2771.19px;
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite !important;
}

body.loading .lftcontainer {
  height: 482.38px;
  width: 100%;
  background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite !important;
}

body.loading #custom-loader {
  display: block !important;
}

body.loading .img-tool-extract-btn {
  position: relative;
  pointer-events: none;
}
body.loading .lftcontainer {
  opacity: 1;
}

/* Default: Desktop */
.add-on-top .adsbygoogle.responsive-ad {
  display: inline-block;
  width: 728px;
  height: 90px;
}
div#ads-wrapper-top {
  margin-bottom: 40px;
}
/* Tablet & Mobile (≤ 768px) */
@media (max-width: 768px) {
  .add-on-top .adsbygoogle.responsive-ad {
    width: 320px;
    height: 100px;
  }
  div#ads-wrapper-top {
    margin: 10px 15px 30px 15px;
  }
}

/**/
/* Desktop Sidebar Half Page Ad */
.ads-right-sidebar {
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
  overflow: hidden;
  border: 1px solid #1a28793b;
  border-radius: 16px;
  max-width: 750px;
  margin: 0 auto;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.175);
  align-self: flex-start;
  top: 10px;
  position: sticky;
}
.adsbygoogle.sidebar-ad {
  display: inline-block;
  width: 300px; /* desktop width */
  height: 600px; /* desktop height */
  top: 100px; /* distance from top */
  right: unset; /* right side */
  z-index: 9999;
}

/* Mobile & Tablet (≤ 768px) - responsive resizing */
@media (max-width: 768px) {
  .adsbygoogle.sidebar-ad {
    width: 320px; /* mobile-friendly width */
    height: 100px; /* mobile-friendly height */
    position: static; /* no fixed positioning on mobile */
    margin: 20px auto; /* center in content */
    display: block;
  }
}