html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Inter", sans-serif;
  padding: 20px 15px;
  background-color: #f6f7fd;
  width: 700px;
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.3em;
  margin: auto;
  color: #282828;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
}

a {
  text-decoration: none;
}

#drop-area {
  width: 94%;
  height: 120px;
  border: 2px dashed #ccc;
  border-radius: 15px;
  text-align: center;
  padding: 50px 20px 50px 20px;
  position: relative;
  margin-top: 15px;
  background: #fff;
}
#drop-area.highlight {
  border-color: green;
}

#file-list {
  list-style-type: none;
  background: #f2f6fc;
  padding: 15px 15px 10px 15px;
  min-width: 25%;
  max-width: 100%;
  margin-left: 0px;
  border-radius: 15px;
  width: auto;
  border: 1px solid #cecece;
  text-align: left;
  box-shadow: 0px 1px 3px #cecece;
}

#file-list li {
  margin-bottom: 8px;
  line-height: 1.7em;
  font-size: 15px;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px 17px;
  border: 1px solid #eee;
  cursor:pointer;
}

#file-list li:hover {
  box-shadow: 0px 1px 3px #cecece;
}

#no-files-found {
  background-color: transparent !important;
  border-radius: 0px !important;
  padding: 0px !important;
  box-shadow: none !important;
  border: none !important;
}

#file-list li a {
  display: inline-block;
  margin: 0px 0px -7px 0px;
  color: #000 !important;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis !important;
  max-width: 46ch;
  cursor: pointer;
}

#fileInput {
  display: none;
}
#choose-file-button {
  background-color: #019521;
  border: none;
  color: white;
  padding: 10px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 100px;
  margin-top: 15px;
}

button {
  background-color: #019521;
  border: none;
  color: white;
  padding: 10px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 100px;
  margin-top: 15px;
}
button:hover {
  background: #000;
  color: #fff;
}

/* Notification Toast Styles */
.notification {
  display: none;
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 25px;
  border-radius: 100px;
  z-index: 9999;
  opacity: 0; /* Initially hidden */
  animation: slideDown 0.6s ease forwards;
}
.success {
  background-color: #1da331;
  color: white;
}
.error {
  background-color: #a31d1d;
  color: white;
}

@keyframes slideDown {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #111;
  border-radius: 0px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

.fa-refresh {
  animation: spin 2s infinite linear; /* Use the 'spin' animation with a duration of 2 seconds, infinitely, and linear timing */
}

@keyframes spin {
  0% {
    transform: rotate(0deg); /* Start the rotation from 0 degrees */
  }
  100% {
    transform: rotate(360deg); /* Rotate the icon 360 degrees */
  }
}

#myjoin {
  display: block;
}

@media only screen and (max-width: 768px) {
  body {
    width: auto;
    overflow-x: hidden;
    margin: 0;
  }

  #drop-area {
    width: 87%;
    margin-right: auto;
    margin-left: auto;
  }

  .notification {
    width: 100%;
    margin-bottom: -15px !important;
    padding: 15px 40px !important;
    border-radius: 0px;
    text-align: center !important;
  }

  #myjoin {
    display: none;
  }

  #file-list li a {
    max-width: 13ch;
  }
}

.fa-check {
  color: green;
}

#network-speed {
  display: none;
  transition: display 0.4s ease;
}

.link-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
