.single-tools #content div#primary main#main {
  margin: 50px 0 !important;
}

h2 {
  font-size: 30px !important;
  text-transform: capitalize;
  font-weight: 600;
  margin-bottom: 20px;
}

select,
button {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 15px;
}

select {
  background: #fff;
  border: 1px solid #ccc;
}

button {
  background-color: #117eef;
  color: #fff;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#drop-area {
 display: block;
    width: 100%;
    max-width: 550px;
    text-align: center;
    padding: 25px;
    box-shadow: 0 0 15px 0px #0002;
    border-radius: 10px;
    margin: 10px auto 30px;
}


#drop-area p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

#fileElem {
  display: none;
}

#result {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.file-entry {
  background: #ffffff;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px #0001;
  font-weight: 500;
}

.file-input {
    color: #0e65bf;
    cursor: pointer;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 3px;
    font-family: system-ui;
    font-size: 24px;
    min-height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 2px dashed;
    margin: auto;
}

.progress-wrapper {
  background: #ddd;
  border-radius: 50px;
  overflow: hidden;
  height: 20px;
  width: 100%;
  position: relative;
  max-width: 200px;
  margin: 10px 0;
}
.progress-bar {
  background: linear-gradient(90deg, #4caf50, #81c784);
  height: 100%;
  transition: width 0.5s ease;
}
.progress-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 20px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background-color: green;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}
.download-button:hover {
  background-color: #0b8b38;
}
.download-icon {
  width: 20px;
  height: 20px;
}

span.orig {
    color: red;
    font-weight: 600;
}
span.compres {
    color: green;
    font-weight: 600;
}



.quality-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.quality-btn {
    padding: 10px 36px;
    background-color: #117eef47;
    border: 1px solid #117eef47;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, border 0.3s ease;
    position: relative;
    color: #000;
}

.quality-btn:hover {
    background-color: #117eef;
    color: #fff;
}

.quality-btn.active {
  background-color: #117eef;
  color: #fff;
  border-color: #117eef;
}

.file-entry .instruction {
  font-size: 14px;
  color: #333;
  margin: 10px 0 5px;
  font-weight: 600;
}
.type-select {
    display: none;
}





.progress-wrapper {
  margin: 10px 0;
  background: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  height: 20px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #4caf50, #81c784);
  width: 0%;
  transition: width 0.4s ease;
}
.progress-label {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  color: #333;
}

.indeterminate {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  height: 100%;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(76, 175, 80, 0.6),
    transparent
  );
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}

.single-post #content .file-entry a {
    color: #fff !important;
}