.compressor-options {
  height: 100%;
  width: 80%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: auto;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px 0 rgb(0 0 0 / 20%);
}
.compressor-options .file-name {
  font-size: 20px;
  font-family: sans-serif;
  margin-top: 10px;
}
.options-wrapper {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.options-wrapper label {
  width: 100%;
  max-width: 324px;
  font-size: 17px;
  font-weight: 600;
  margin-top: 0.5rem;
}
.options-wrapper select {
  padding: 5px 13px;
  max-width: 324px;
  font-size: 16px;
  height: 47px;
  width: 100%;
  text-transform: capitalize;
  border: 3px solid #9e9e9e;
  color: #514f4f;
  border-radius: 0px;
}
.custom-select {
  background: #fff url(/assets/images/arrowdown.png) right 17px center/10px 10px
    no-repeat;
}
#action-button {
  width: 100%;
  max-width: 324px;
  min-width: 18px;
  height: 58px;
  color: white;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0px;
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.adv-settings-label {
  width: 100%;
  align-items: baseline;
  border-bottom: 2px solid #e0dddd;
  margin-bottom: 0px;
}

.adv-settings-container,
.adv-settings-label {
  display: flex;
  background-color: #fff;
  margin: 10px;
  width: 60%;
  padding: 25px;
  border-radius: 0px 0px 10px 10px;
  box-shadow: 0 3px 24px rgba(0, 0, 0, 0.08);
}

.inputBox {
  font-size: 14px;
  font-weight: 400;
  padding: 8px 16px;
  width: 100%;
  margin: 0;
  color: #282f3a;
  border-radius: 4px;
  border: 1px solid #e8ebf1;
  background-color: #fff !important;
  cursor: pointer;
}

#size-percent {
  margin-right: 10px;
  flex: 1 1 0;
}

.flex-gap {
  gap: 10px;
}
.lbl-width {
  flex: 0 0 100px;
}

.desc {
  color: #9fa2a9;
  font-size: 14px;
  font-weight: 300;
  line-height: 19px;
  display: inline-block;
  margin-top: 10px;
}

.apply-btn,
.action-compress {
  color: #fff;
  min-width: 150px;
  border: none;
  background: #1d00b4;
  padding: 12px 25px;
  margin-top: 10px;
}

.loader-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: var(--primary-color);
  padding: 40px;
  border-radius: 10px;
}

.finger-item {
  background-color: #fff !important;
}

.last-finger-item {
  background-color: #fff !important;
}

.Landingtext {
  color: #fff !important;
}
.settings-icon {
  margin-right: 10px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Tooltip text (hidden by default) */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%; /* Position above the button */
  left: 50%;
  margin-left: -60px; /* Center the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show the tooltip text when hovering */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Additional styling for the layout */
.file-name,
.settings-icon,
.clear-file-btn {
  margin-right: 20px;
}

.animate {
  transform: scale(1.2);
  background-color: #5bc0de;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 50px auto;
  padding: 0;
  width: 70%;
  max-width: 700px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 20px;
}

.close-button {
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

.close-button:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
}

/* Animation for modal */
@keyframes modalSlideIn {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .sub-container {
    flex-direction: column;
  }
  .percentage-container,
  .target-size-container,
  .quality-container {
    flex-direction: column;
  }
  .lbl-width {
    flex: 0 0 0 !important;
  }
  .apply-btn {
    width: 100%;
  }
  .compressor-options {
    width: 100%;
  }

  #action-button {
    max-width: 100%;
    margin: 0;
  }

  .file-name {
    font-size: 1rem;
  }

  .settings-icon {
    margin: 10px;
  }
  .action-compress {
    width: 100%;
  }
}
