 /* General Styles */
 body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  overflow-x: hidden;
 }


 /* Upload Container */
 #uploadContainer {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
 }

 /* Original Image Styles */
 #originalImage {
  max-width: 80px; /* Smaller image */
  height: auto;
  margin-left: 10px;
  border-radius: 5px;
  box-shadow: 3px 3px 6px #0b0b0b, -3px -3px 6px #191919;
 }

 /* Neumorphism and Glow Effects */
 .neumorphic {
  background: #121212;
  border-radius: 50%;
  box-shadow: 9px 9px 16px #0b0b0b, -9px -9px 16px #191919;
  transition: box-shadow 0.3s ease;
 }

 .neumorphic:hover {
  box-shadow: 6px 6px 12px #0b0b0b, -6px -6px 12px #191919;
 }

 .glow {
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
 }

 /* Input Styles */
 input[type='range'] {
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  background-color: #1e1e1e;
  color: #fff;
  box-shadow: inset 2px 2px 5px #0b0b0b, inset -2px -2px 5px #191919;
  width: 300px;
  outline: none;
 }

 input[type='range'] {
  width: 300px;
 }

 input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(to right, #ff8c00, #ffa500);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(255, 165, 0, 0.8);
 }

 input[type='range']::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: linear-gradient(to right, #ff8c00, #ffa500);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(255, 165, 0, 0.8);
 }

 /* Label Styles */
 label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #ddd;
  text-shadow: 1px 1px 2px #000;
 }

 #uploadLabel {
  display: inline-block;
  padding: 12px 24px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: linear-gradient(to right, #ff8c00, #ffa500);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 3px 3px 6px #0b0b0b, -3px -3px 6px #191919;
  transition: all 0.3s ease;
  outline: none;
 }

 #uploadLabel:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 8px #0b0b0b, -4px -4px 8px #191919;
 }

 #uploadLabel:active {
  transform: translateY(0);
  box-shadow: 2px 2px 4px #0b0b0b, -2px -2px 4px #191919;
 }

 /* Button Styles */
 button {
  padding: 12px 24px;
  margin: 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, #ff8c00, #ffa500);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 3px 3px 6px #0b0b0b, -3px -3px 6px #191919;
  transition: all 0.3s ease;
  outline: none;
 }

 button:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 8px #0b0b0b, -4px -4px 8px #191919;
 }

 button:active {
  transform: translateY(0);
  box-shadow: 2px 2px 4px #0b0b0b, -2px -2px 4px #191919;
 }

 /* Canvas Styles */
 canvas {
  border-radius: 10px;
  box-shadow: 6px 6px 12px #0b0b0b, -6px -6px 12px #191919;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
 }

 /* Vignette Effect */
 body::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
  z-index: 1;
 }

 /* Toast Notification */
 #toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 150, 136, 0.9);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
 }

 /* Loading Overlay */
 #loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3;
 }

 #loader {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
 }

 #loader::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(closest-side, #ff8c00, transparent);
  transform-origin: left top;
  animation: rotate 2s linear infinite;
 }
 @keyframes rotate {
  100% {
  transform: rotate(360deg);
  }
 }

 /* Responsive Design */
 @media (max-width: 600px) {
  body {
  padding: 10px;
  }

  input[type='file'],
  input[type='range'] {
  width: 90%;
  }

  button {
  padding: 10px 20px;
  }
 }

