#sampleImage {
  padding: 10px;
  width: 90px;
  height: auto;
  border: 2px solid #ddd;
  border-radius: 5px;
  margin: 10px auto;
  cursor: pointer;
}

.container-tool {

  background: #fff;
  padding: 10px;


}

.container-tool2 {

  background: #fff;
  padding: 15px;
  height: 185px;


}

.container2 {
  margin-top: 10px;
  border-radius: 50px;
  background: #F0FFF0;
  padding: 30px 20px;
  max-width: 99%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;

}


.container3 {
  margin-top: 10px;
  border-radius: 50px;
  background: #FDF5E6;
  padding: 30px 20px;
  max-width: 99%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;

}

.container4 {
  margin-top: 10px;
  border-radius: 50px;
  background: #FAFAD2;
  padding: 30px 20px;
  max-width: 99%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;

}

.container5 {
  margin-top: 10px;
  border-radius: 50px;
  background: #E0FFFF;
  padding: 30px 20px;
  max-width: 99%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;

}

.container6 {
  margin-top: 10px;
  border-radius: 50px;
  background: #F5F5F5;
  padding: 30px 20px;
  max-width: 99%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;

}


#ads {
  text-align: center;
  padding: 20px;
  background: white;

}



.toolarea-pdf,
.toolarea {
  max-width: 96%;
  margin: 10px auto;
  background: linear-gradient(135deg, #fff 50%, #fff 50%);
  border-radius: 5px;
  border: 1px solid #B3DBF2;
  overflow: hidden;
  padding: 40px;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.06);
}

.toolarea-pdfave {
  max-width: 96%;
  margin: 10px auto;
  background: #fff;
  border-radius: 5px;
  border: 2px dashed #ddd;
  overflow: hidden;
  padding: 40px;
  align-items: center;
  text-align: center;
}

.toolarea-pdf-gradio {
  max-width: 94%;
  margin: 50px auto;
  background: #fff;
  border-radius: 5px;
  border: 12px double #FB13AB;
  overflow: hidden;
  padding: 40px;
  align-items: center;
  text-align: center;
  height: 1700px;
}

.bg-tool {
  background: linear-gradient(135deg, #FFFACD 50%, #D3D3D3 50%);
  text-align: center;
  color: #333;
  padding: 10px;
}

.bg-tool h1 {
  color: #E5322D;
}

.content {
  background: linear-gradient(130deg, #FCFDFD 50%, #F6FDF5 50%);
  padding: 80px;
  border-radius: 0;
  /* Soft rounded corners */
  width: 100%;
  /* Max width to keep content centered and readable */
  margin: 0 auto;
  /* Center the section */

}

.styled-section2 {
  background: linear-gradient(135deg, #fff 50%, #fff 50%);
  padding: 20px;
  border-radius: 5px;
  /* Soft rounded corners */
  max-width: 100%;
  /* Max width to keep content centered and readable */
  margin: 0 auto;
  /* Center the section */
  text-align: left;
  /* Center-align the text */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.06);
}

.styled-section h2 {
  color: #E5322D;
  /* Darker color for the heading */
  font-size: 28px;
  /* Larger font size for the heading */
  margin-bottom: 20px;
  /* Space below the heading */
}

.styled-section p {
  color: #333;
  /* Muted color for the paragraph text */
  font-size: 18px;
  /* Comfortable font size for readability */
  line-height: 1.6;
  /* Better line spacing */
  margin-bottom: 15px;
  /* Space between paragraphs */
}

.styled-section h3 {
  color: #343a40;
  /* Darker color for the heading */
  font-size: 24px;
  /* Larger font size for the heading */
  margin-bottom: 20px;
  /* Space below the heading */
}

@media (max-width: 768px) {
  .styled-section {
    padding: 30px 15px;
    /* Adjust padding for smaller screens */
  }

  .styled-section h2 {
    font-size: 22px;
    /* Slightly smaller heading for mobile */
  }

  .styled-section p {
    font-size: 14px;
    /* Slightly smaller text for mobile */
  }

  input[type="file"] {
    width: 100%;
  }
}





/* 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="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,
#downloadLink,
#refresh-button,
#capture-button,
.dlbtns {
  display: inline-block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
  background-image: linear-gradient(45deg, #00A884, #DB4B86);
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  margin: 0px auto;
  cursor: pointer;
  margin-right: 10px;
  text-align: center;
}


/* Button Hover State */
#convert-pdf-button:hover,
#download-pdf-button:hover,
#convert-btn:hover,
#convertBtn:hover,
#splitButton:hover,
#downloadLink:hover,
#refresh-button:hover,
#capture-button:hover,
button:hover {
  background-image: linear-gradient(135deg, #00A884, #DB4B86);
  color: #fff;
}

.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 {

  display: inline-block;
  padding: 20px 40px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  background-image: linear-gradient(45deg, #00A884 50%, #DB4B86 50%);
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  margin-bottom: 25px;
  color: white;
  max-width: 100%;
}

.upload-button:hover,
#upload-button:hover {
  background-image: linear-gradient(145deg, #00A884 50%, #DB4B86 50%);
  border-radius: 12px;
  border: 12px double #fff;
  color: white;
}

#uploadBtn {
  display: inline-block;
  padding: 18px 36px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-transform: none;
  background-image: linear-gradient(45deg, #00A884 50%, #DB4B86 50%);
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  border: 0;
  margin-bottom: 25px;
}

input[type=file]::file-selector-button {
  display: inline-block;
  padding: 20px 26px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-transform: none;
  background-image: linear-gradient(45deg, #00A884 50%, #DB4B86 50%);
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  width: 100%;
  border: 0;
  margin-bottom: 25px;
}

input[type=file]::file-selector-button:hover {
  background-image: linear-gradient(135deg, #00A884 50%, #DB4B86 50%);
  border-radius: 0;
  border: 0;
  color: #fff;
}

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: 5px 15px;
  font-size: 16px;
  margin-left: 11px;
  background: #fff;
  border-radius: 7px;
  border: 2px solid #ddd;
  transition: all 0.2s ease-in-out;
  margin: 10px auto;
}

textarea,
#base64Input {
  width: 90%;
  height: 250px;
  padding: 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  background: snow;
  border-radius: 5px;
  border: 1px solid #ddd;
  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;
  max-width: 100%;
  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: #3F5EF9;
  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: #3F5EF9;
  /* Adjust background color of progress bar fill */
  border-radius: 10px;
  /* Adjust border radius for rounded corners */
}

#conversion-progress::-moz-progress-bar {
  background-color: #3F5EF9;
  border-radius: 10px;
}


#imgsec {
  padding: 20px;
  max-width: 100%;
  margin: 11px auto;
  border: 1px solid #3F5EF9;
  background: #fff;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
  border-radius: 12px;

}

#orientation,
#padding {
  width: 50%;

}


.upload-icon {
  display: block;
  margin: 0 auto;
  font-size: 50px;
  color: #007bff;
}

.drag-drop,
#drag-drop-area,
#dragDropArea,
#uploadSection,
#dragArea,
#drag-area,
#uploadArea,
.rowz {
  border: 2px dashed #00A884;
  padding: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 5px;
  max-width: 100%;

}

#fileNameDisplay,
#fileName,
#fileInfo {
  padding: 10px;
  border: 2px dashed #ddd;
  border-radius: 5px;
  background: #fff;
  color: navy;
  font-size: 14px;
  font-weight: bold;
  margin: 10px auto;
  max-width: 60%;
}

#drag-drop-area:hover {
  border-color: #0056b3;
}

#avepdf-container-id {
  /* Add your desired styles for the container here */
  width: 100%;
  height: 450px;
  position: relative;
  margin-bottom: -150px;

}

/* CSS to hide an area from the bottom */
#avepdf-container-id .your-targeted-element {
  display: none;
}



#sample-image,
#sampleImage {
  border: 2px solid #B3DBF2;
  /* Changed from #ddd to light blue */
}

.container-tool,
.container-tool2,
.toolarea-pdfave,
.toolarea-pdf-gradio,
#ads,
.toolarea-pdf,
.toolarea,
.styled-section2,
#avepdf-container-id,
.page-container,
#imgsec {
  background: #fff;
  /* Kept white */
}

.container2 {
  background: #E6F7FF;
  /* Changed from #F0FFF0 to light blue tint */
}

.container3 {
  background: #FFF5F5;
  /* Changed from #FDF5E6 to light red tint */
}

.container4 {
  background: #FFF9E6;
  /* Changed from #FAFAD2 to light yellow */
}

.container5 {
  background: #E6F9FF;
  /* Changed from #E0FFFF to light blue */
}

.container6 {
  background: #F5F5F5;
  /* Kept same */
}

.toolarea-pdf,
.toolarea {
  border: 1px solid #4d90fe;
  /* Changed from #B3DBF2 to iLovePDF blue */
}

.toolarea-pdf-gradio {
  border: 12px double #e83e8c;
  /* Changed from #FB13AB to iLovePDF pink */
}

.bg-tool h1,
.styled-section h2 {
  color: #e5322d;
  /* Kept iLovePDF red */
}

/* Buttons */
button,
.button,
#button,
/* [all button selectors] */
  {
  background-image: linear-gradient(45deg, #4d90fe, #e83e8c);
  /* Changed to iLovePDF blue/pink */
  border: 1px solid #4d90fe;
  /* Changed from #ddd to blue */
}

button:hover {
  background-image: linear-gradient(135deg, #4d90fe, #e83e8c);
  /* Darker gradient */
}

.input {
  border-image: linear-gradient(to right, #4d90fe, #ffb400);
  /* Changed to blue/orange */
}

#upload-button,
.upload-button,
#uploadBtn,
input[type=file]::file-selector-button {
  background-image: linear-gradient(45deg, #4d90fe 50%, #e83e8c 50%);
  /* Blue/pink */
}

#upload-button:hover {
  background-image: linear-gradient(to left, #e5322d, #c41c1c);
  /* Red gradient */
}

/* Form elements */
input[type="text"],
input[type="url"],
#url-input {
  border: 2px solid #4d90fe;
  /* Changed from #1A8FE3 to iLovePDF blue */
}

input[type="number"] {
  background: #F5F5F5;
  /* Light gray */
  border: 1px solid #B3DBF2;
  /* Light blue */
}

select {
  border: 2px solid #B3DBF2;
  /* Light blue */
}

textarea,
#base64Input {
  background: #fff;
  border: 1px solid #B3DBF2;
  /* Light blue */
}

/* Progress bars */
#progress-fill,
#conversion-progress::-webkit-progress-value,
#conversion-progress::-moz-progress-bar {
  background-color: #4d90fe;
  /* iLovePDF blue */
}

/* Drag and drop */
.drag-drop,
#drag-drop-area {
  border: 2px dashed #4d90fe;
  /* iLovePDF blue */
}

#drag-drop-area:hover {
  border-color: #6610f2;
  /* iLovePDF indigo */
}

/* File info */
#fileNameDisplay,
#fileName,
#fileInfo {
  border: 2px dashed #B3DBF2;
  /* Light blue */
  color: #4d90fe;
  /* Blue text */
}

/* Range slider */
input[type="range"]::-webkit-slider-thumb {
  background: #e5322d;
  /* iLovePDF red */
}

/* Checkbox */
input[type="checkbox"]:before {
  background: #4d90fe;
  /* iLovePDF blue */
}

/* Radio button */
input[type="radio"]:after,
input[type="radio"]:checked:after {
  background: #4d90fe;
  /* iLovePDF blue */
}

/* Success message */
#success-message {
  color: #4d90fe;
  /* iLovePDF blue */
}