/* Button Styles */
button, .button, #button, btn, .btn, #btn, downloadlink,  #download-button, #button-copy, button-copy, copy-button, #copy-button, #copy, copy, #download-html-button, [type="button"], [type="submit"], [type="reset"], #download-btn-html, #download-btn-txt, #download-link, #download, #downloadButton, #downloadLink, #convertButton, #downloadButton{
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
     background-image: linear-gradient(to right, #FF6A45, #FB3A46);
border:0;
  transition: all 0.3s ease;
  margin:0 auto;
  margin-top:15px;
  margin-bottom:11px;
 
  cursor:pointer;
}

/* Button Hover State */
button:hover {
 background-image: linear-gradient(to left, #FF6A45, #FB3A46);
  
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

 .input{
  width: 80%;
  height: 100%;
  padding: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  border: 2px solid;
  border-image: linear-gradient(to right, #06c, #f90) 1;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #ccc;
  transition: all 0.2s ease-in-out;
  margin-top:10px;margin-bottom:10px;
  margin:0 auto;
}


#upload-button, #file-input, #add-button, #file-upload-button, .custom-file-upload, #uploadBtn {
  display: inline-block;
  padding: 22px 50px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-transform:none;
  background-image: linear-gradient(to right, #FF3D47, #DC1113);
  border-radius: 12px;
  border:0;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  margin-bottom:25px;
}

#upload-button:hover {
  background-image: linear-gradient(to left, #FF3D47, #DC1113);
}


input[type=file]::file-selector-button {
  display: inline-block;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-transform:none;
  background-image: linear-gradient(to right, #FF3D47, #DC1113);
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  border:0;
  width:100%;
  
  margin-bottom:25px;
}

input[type=file]::file-selector-button:hover {
  background-image: linear-gradient(to left, #FF3D47, #DC1113);
}

input[type=file]::file-selector-button:active {
  background-color: #4a41ad;
}

input[type=file]::file-selector-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6c63ff;
}

input[type=file]::file-selector-button::before {
  content: "Select File";
}

input[type=file]::file-selector-button::before,
input[type=file]::file-selector-button::before {
  content: "\2193 Browse Files";
}


input[type="file"] {
  display: yes;
}
input[type="text"], input[type="url"] {
  width: 80%;
  height: 40px;
  padding: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  background:#fff;
  border-radius: 50px;
  border:1px solid #ccc;
  transition: all 0.2s ease-in-out;
  margin-top:10px;margin-bottom:15px;
  margin:0 auto;
}
input[type="number"]{
  height: 45px;
  padding: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  background:#F9F9F9;
  border-radius: 5px;
  border:1px solid #ccc;
  transition: all 0.2s ease-in-out;
  margin-top:10px;margin-bottom:30px;
  margin:0 auto;
}
select {
  width:30%;
  height: 45px;
  padding: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  background:#F9F9F9;
  border-radius: 5px;
  border:1px solid #ccc;
  transition: all 0.2s ease-in-out;
  margin-top:10px;margin-bottom:30px;
  margin:0 auto;
}
textarea, #base64Input {
  width: 90%;
  height: 150px;
  padding: 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  background:#FFF;
  border-radius: 5px;
   border:0px solid orangered;
  transition: all 0.2s ease-in-out;
  margin-top:10px;margin-bottom:15px;
  margin:10px auto;
}

textarea:hover {
  border-color: #06c;
  box-shadow: none;
}

textarea:focus {
  outline: none;
  border-color: #55555e;
  box-shadow: none;
}


#success-message{
    font-size:22px;
    color:green;
    font-weight:bold;
    margin:30px auto;
    
}
canvas, #image-container, .img, #img, image, .image, #image, #convertedImage, #preview-image, #image-canvas {
  border: 5px solid white;
  
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  
  width:50%;
  margin:20px auto;
  padding:15px;
  background:white;
}

#image-container img {
  max-width: 100%;
  }

pre, #result, output, #output, .output,#output-text, #speechOutput {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 14px;
  color: #333;
  background-color: #f9f9f9;
  padding: 0.2em 0.4em;
  background:#F9F9F9;
  border-radius: 5px;
  border:2px solid #ccc; 
  transition: all 0.2s ease-in-out;
  white-space: pre-wrap;
  margin-top:10px;margin-bottom:10px;
  
  width:90%;
  padding:15px;
  margin:20px auto;

}


input[type="range"] {
  -webkit-appearance: none;
  width: 80%;
  background: transparent;
  height: 10px;
  border-radius: 5px;
  outline: none;
  padding: 0;
  margin: 0;
  box-shadow: inset 0 0 5px #333;
  transition: box-shadow 0.2s;
  margin-top:10px;

}

input[type="range"]:focus {
  box-shadow: inset 0 0 5px #888;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #CA0505;
  cursor: pointer;
  transition: background 0.2s;
  margin-top:-5px;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #3e8e41;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  border: none;
}
input[type="checkbox"] {
  appearance: none;
  width: 45px;
  height: 25px;
  background: transparent;
  border: 2px solid;
  border-image: linear-gradient(to right, #06c, #f90) 1;  border-radius: 5px;
  margin: 10px;
  outline: none;
  cursor: pointer;
  position: relative;
}

input[type="checkbox"]:before {
  content: "";
  width: 15px;
  height: 15px;
  background: #D209A4;
  border-radius: 100px;
  position: absolute;
  left: 2px;
  
  top: 3px;
  transition: all 0.2s;
}

input[type="checkbox"]:checked:before {
  transform: translateX(20px);
}

input[type="checkbox"]:focus {
  border: 2px solid #888;
}
input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #333;
  margin-right: 10px;
  outline: none;
  position: relative;
  cursor: pointer;
}

input[type="radio"]:after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
  position: absolute;
  top: 5px;
  left: 5px;
  opacity: 0;
  transition: all 0.2s;
}

input[type="radio"]:checked:after {
  opacity: 1;
}

input[type="radio"]:focus {
  border-color: #888;
}


input[type="radio"] {
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

label {
  display: block; /* makes each label appear on a new line */
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px; /* adds a small gap below each label */
  color:#55555e;
  margin-top:11px;margin-bottom:11px;
}

input[type="color"]{width:50%;}
.form-control {
    display: block;
    margin:0 auto;
    width: 70%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#avepdf-container-id {
  /* Add your desired styles for the container here */
  width: 100%;
  height: 340px;
  position: relative;
  margin-bottom:-150px;
  
 
}

/* CSS to hide an area from the bottom */
#avepdf-container-id .your-targeted-element {
  display: none;
}








    #image-canvas {
      display: none;
      max-width: 100%;
      max-height: 500px;
      margin: 20px auto;
    }

    input[type="file"] {
      margin-top: 20px;
    }

    #orientation-label,
    #padding-label {
      margin-right: 10px;
    }

    #progress-bar {
      width: 90%;
      margin: 20px auto;
      background-color: transparent;
      border-radius: 50px;
      overflow: hidden;
    }

    #progress-fill {
      height: 30px;
      background-color: #CA0505;
      text-align: center;
      line-height: 30px;
      color: white;
      width: 0;
    }

    #success-message {
      display: none;
      margin-top: 20px;
    }














