.input-wrapper input[type="file"]:hover + svg {
  color: white;
  transition: color 0.1s ease-in-out;
}

.input-wrapper svg {
  color: blue;
  transition: color 0.1s ease-in-out;
}

.main-nav {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  /*background-color: rgba(32,47,74,0.78);*/
  background: linear-gradient( to bottom, rgba(32,47,74,1), rgba(32,47,74,0.78));
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);*/
}

.input-display {
  position: absolute;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.input-display.hidden {
  visibility: hidden;
  opacity: 0;
}

/* Apply to all scrollable elements */

/* * {
  scrollbar-width: thin;
  scrollbar-color: #555 #333;
}


::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 5px;
}

::-webkit-scrollbar-track {
  background-color: #333;
  border-radius: 5px;
}

/* TRANSPARENT GLOBAL SCROLLBAR */

/* Apply specific styles to textarea as well */

textarea {
  resize: none;
  overflow-y: auto;
  min-height: 300px;
  max-height: 500px;
  height: auto;
  background-color: #2a2a2a;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #444;
}

.shareButton {
  color: #fff;
  background-color: #2c4fc3;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out;
}

.shareButton:hover {
  color: white;
  background-color: #006d0b;
}

.shareButton:active {
  color: #15cf60;
  background-color: #006d0b;
}

.blurred {
  filter: blur(5px);
  transition: filter 0.5s ease;
}

.blurred:hover {
  filter: blur(0);
}

.loading-effect {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  color: transparent;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-loader {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background-color: #1f2b40;
  border-radius: 8px;
  margin-top: 1rem;
  color: rgba(255,255,255,0)!important;
}

.skeleton-line {
  height: 15px;
  background: linear-gradient( 90deg, rgba(58, 82, 123, 0.1) 25%, rgba(58, 82, 123, 0.3) 50%, rgba(58, 82, 123, 0.1) 75% );
  background-size: 200% 100%;
  animation: loading-skeleton 1.2s infinite;
  border-radius: 4px;
}

.skeleton-line.title {
  width: 60%;
  height: 20px;
}

@keyframes loading-skeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Hide by default for non-mobile screens */

@media (min-width: 768px) {
  .mobile-edit-nav {
    display: none!important;
  }
}

.mobile-edit-nav {
  display: none;
}

/* Only activate on mobile devices */

@media (max-width: 768px) {
  .mobile-edit-nav {
    padding-top: 5rem;
    margin-top: -9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  }
}

/* When scrolled more than 700px, slide and fade out */

@media (max-width: 768px) {
  body.scrolled .mobile-edit-nav {
    transform: translateY(50px);
    opacity: 0;
    pointer-events: none;
  }
}

