.tool-heading{
  /* display: none; */
}
.output pre {
    max-height: 500px;
    overflow-y: auto;
}
ul#searchResults {
    cursor: pointer;
}

:root {
  /* --theme-color: #34495e; */
   /* --theme-color: #1d5700; */
  /* --theme-color-light: #1d57003d; */

  /* --theme-color: #4e54c8; 
  --theme-color-light:#8f94fb; 
   */
  --theme-color: #b9385e; 
  --theme-color-light:hsl(342, 35%, 50%); 
  --theme-body-color:#266e001a;

  
  


  /* --body-color: #f8f9fa; */
  --color-white: #f8f9fa;

  /*  # BTN */
  /* --dark: #34495e;
  --light: #ffffff;
  --success: #0abf30;
  --error: #e24d4c;
  --warning: #e9bd0c;
  --info: #3498db; */

  --dark: #34495e;
  --light: #ffffff;
  --success: #0abf30;
  --error: #e24d4c;
  --warning: #e9bd0c;
  --info: #3498db;
}

html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--theme-body-color);
}

a {
  color: #000 !important;
  text-decoration: none !important;
}

#drop-area {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin: 20px;
  cursor: pointer;
}

#drop-area .highlight {
  border-color: #2196f3;
}

/* # loader  */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff2e;
  height: 100vh;
  z-index: 9999;
  text-align: center;
}

#loader-body {
  background: #fff;
  padding: 10px;
  max-width: 300px;
  margin: 0 auto;
  margin-top: 0px;
  width: 100%;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
  margin-top: 20px;
  padding: 30px;
}

#loader-overlay #loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  border-top: 4px solid #fff;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

#loader-overlay #loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-left: 4px solid var(--theme-color);
  border-bottom: 4px solid transparent;
  animation: rotation 0.5s linear infinite reverse;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* end */

.theme-btn {
  color: #fff !important;
  background: var(--theme-color);
}

.theme-btn:hover,
.theme-btn:active,
.theme-btn:focus-visible {
  color: #fff !important;
  background-color: var(--theme-color) !important;
}
.copy_btn {
  position: absolute;
  top: 4px;
  right: 16px;
  font-size: 13px;
}

.form-control:focus {
  background-color: #fff !important;
  border-color: var(--theme-color-light) !important;
  box-shadow: 0 0 0 2px var(--theme-color-light) !important;
}

.bg-white {
  background-color: var(--color-white);
}

.custom-shadow {
  box-shadow: 0 0.1rem 0.1rem rgba(0, 0, 0, 0.15) !important;
}

#top-logo {
  max-width: 170px;
  margin-right: 5px;
}

#top-footer {
    max-width: 170px;
}

.icon-image {
  height: 50px;
  width: 50px;
}

.icon-image-outer .icon-image {
  fill: #000 !important;
}

.icon-image-outer:hover .icon-image {
  fill: var(--theme-color) !important;
}

.icon-image-outer:hover p {
  color: var(--theme-color) !important;
}

.icon-image-outer:hover {
  border: 1px solid var(--theme-color) !important;
}

.side-links a {
  display: block;
  text-decoration: navajowhite;
  color: #000;
  padding: 5px 0px;
  cursor: pointer;
  font-weight: 550;
}

.side-links a:hover {
  color: var(--theme-color);
}




/* pages */

.new_line {
  right: 9px;
  bottom: 10%;
  background: red;
  padding: 4px 7px;
  color: #fff !important;
  cursor: pointer;
  position: absolute;
  font-size: 12px;
}

.output_img_outer a{
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--theme-color);
    padding: 2px;
    color: #fff !important;
}

.output_image {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust the minmax width as needed */
    gap: 10px; /* Adjust the gap between items as needed */
}
.output_img_outer {
    border: 1px solid;
    background-color: lightblue;
    padding: 5px;
    border: 1px solid #ccc;
    text-align: center;
}

/* drop-zone */
.drop-zone {
  border: 2px dashed var(--theme-color);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}
.drop-zone.dragover {
  background: #f0f0ff;
}
.file-list {
  margin-top: 15px;
}
.file-item {
  background: #fff;
  border: 1px solid var(--theme-color);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

/* progress bar */


#progressContainer {
  width: 100%;
  background: #ddd;
  height: 25px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
  display: none;
}

#progressBar {
  height: 100%;
  text-align: center;
  color: white;
  line-height: 25px;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* States */
.uploading {
  background: #007BFF;
}
.success {
  background: green;
}
.error {
  background: red;
}

/* Converting animated gradient */
@keyframes convertingAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.converting {
  background: linear-gradient(270deg, #FFA500, #FF00FF, #800080, #FFD700);
  background-size: 600% 600%;
  animation: convertingAnimation 3s ease infinite;
}



/* output */
.output {
  margin-top: 15px;
  text-align: center;
}

.output a {
  display: inline-block;
  background: #28a745;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.output a:hover {
  background: #218838;
}

.output .error {
  color: red;
  font-weight: bold;
}


#footer{
    background-image: linear-gradient(
    135deg,
    var(--theme-color),
    var(--theme-color-light)
  );
}

.output pre {
    min-height: 100px;
    padding-top: 39px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}





/*  */



#uploadForm #submit {
    background: var(--theme-color);
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--theme-color);
    --bs-btn-border-color: var(--theme-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--theme-color);
    --bs-btn-hover-border-color: var(--theme-color);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--theme-color);
    --bs-btn-active-border-color: var(--theme-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--theme-color);
    --bs-btn-disabled-border-color: var(--theme-color);
}

#uploadForm .text-primary {
    color: var(--theme-color) !important;
    font-weight: bold;
}