/* 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, #convert-pdf-button, 
#download-pdf-button, #start-btn, 
#stop-btn, #copy-btn, #download-btn, 
#download-pdf-btn, #convert-btn, 
#convertBtn, #downloadBtn, 
#splitButton, #downloadPdf {
    display: inline-block;
    padding: 9px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border-radius: 0px;
    background-image: linear-gradient(to right, #fff, #f2f2f2);
    border: 5px double #29249D;
    transition: all 0.3s ease;
    margin: 10px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin-right: 10px; /* Add space between buttons */
}


/* Button Hover State */
button:hover,  #convert-pdf-button:hover, #download-pdf-button:hover, #convert-btn:hover, #convertBtn:hover, #splitButton:hover {
 background-image: linear-gradient(to right, #f2f2f2, #fff);
  
  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:hover {
  background-image: linear-gradient(to left, #FF3D47, #DC1113);
}

#upload-button, .upload-button, #uploadBtn{
    
    display: inline-block;
  padding: 16px 40px;
  font-size: 20px;
  font-weight: bold;
  color: #222;
  text-align: center;
  text-transform:none;
  background-image: linear-gradient(to right, #fff, #fff);
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  border:12px double #1A8FE3;
  margin-bottom:25px;
    
}

.upload-button:hover, #upload-button:hover {
  background-image: linear-gradient(to left, #1A8FE3, #3023AE);
   border-radius: 12px;
   border:12px double #fff;
   color:white;
}
input[type=file]::file-selector-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 20px;
  font-weight: bold;
  color: #222;
  text-align: center;
  text-transform:none;
  background-image: linear-gradient(to right, #fff, #fff);
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  border:12px double #1A8FE3;
  width:100%;
  margin-bottom:25px;
}

input[type=file]::file-selector-button:hover {
  background-image: linear-gradient(to left, #1A8FE3, #3023AE);
   border-radius: 12px;
   border:12px double #fff;
   color:white;
}

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"], #url-input  {
  width: 50%;
  height: 45px;
  padding: 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  background:#fff;
  border-radius: 50px;
  border:2px solid #1A8FE3;
  transition: all 0.2s ease-in-out;
  margin:10px 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 {
  
  height: 45px;
  padding: 10px 5px; 
  font-size: 16px;
  margin-left:11px;
  background:#fff;
  border-radius: 12px;
  border:1px dotted #ccc;
  transition: all 0.2s ease-in-out;
  
  margin:10px 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:40%;
  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: #fff;
  padding: 0.2em 0.4em;
  border-radius: 5px;
  border:2px solid #ccc; 
  transition: all 0.2s ease-in-out;
  white-space: pre-wrap;
  text-align:left;
  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: 20px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius:5px;
  margin: 0px;
  outline: none;
  cursor: pointer;
  position: relative;
  padding:5px;
}
input[type="checkbox"]:before {
  content: "";
  width: 13px;
  height: 13px;
  background: #4B71AB;
  border-radius: 100px;
  position: absolute;
  left: 2px;
  
  top: 2.5px;
  transition: all 0.2s;
}

input[type="checkbox"]:checked:before {
  transform: translateX(20px);
}

input[type="checkbox"]:focus {
  border: 1px 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;
}

/* Styling for input[type="color"] */
input[type="color"] {
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  outline: none; /* Remove default focus outline */
}

/* Style the color preview box */
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
  padding: 0;
}


.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;
}


   

    input[type="file"] {
      margin-top: 20px;
    }

 #options-row {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 20px;
    }

    #orientation-options,
    #padding-options {
      margin: 10px;
    }

    #orientation-label,
    #padding-label {
      margin-right: 10px;
    }

    #progress-bar {
      width: 90%;
      margin: 20px auto;
      background-color: transparent;
      border-radius: 5px;
      overflow: hidden;
    }

    #progress-fill {
      height: 30px;
      background-color: #4caf50;
      text-align: center;
      line-height: 30px;
      color: white;
      width: 0;
      border-radius:50px;
    }

    #success-message {
      display: none;
      margin-top: 20px;
    }



  .page-container {
        position: relative;
        display: inline-block;
        margin: 10px;
        width:350px;
        background:white;
        padding:11px;
        border:2px solid #1A8FE3;
    }

.page{
 width:300px;   
    
}

#conversion-message {
  display: block;
  margin-top: 10px; /* Adjust spacing as needed */
  font-size: 16px; /* Adjust font size as needed */
  color: #333; /* Adjust text color as needed */
}

#conversion-progress {
  display: block;
  margin-top: 10px; /* Adjust spacing as needed */
  width: 100%; /* Make progress bar full width */
  height: 20px; /* Adjust height as needed */
  border-radius: 10px; /* Adjust border radius for rounded corners */
  background-color: #f0f0f0; /* Adjust background color of progress bar */
}

#conversion-progress::-webkit-progress-bar {
  background-color: #f0f0f0; /* Adjust background color of progress bar track */
  border-radius: 10px; /* Adjust border radius for rounded corners */
}

#conversion-progress::-webkit-progress-value {
  background-color: #4CAF50; /* Adjust background color of progress bar fill */
  border-radius: 10px; /* Adjust border radius for rounded corners */
}

#conversion-progress::-moz-progress-bar {
  background-color: #4CAF50; /* Adjust background color of progress bar fill for Firefox */
  border-radius: 10px; /* Adjust border radius for rounded corners */
}




