::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-thumb {
  background: #3700b3;
  border-radius: 10px;
  width: 5px;
}

* {
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  display: flex;
  color: #ffffff;
  height: 100svh;
  min-height: 7rem;
  background: black;
  padding-bottom: 12px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

h1 {
  margin-top: 0;
  margin-bottom: 0;
}

header {
  position: sticky;
  top: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  background: #000000;
  width: 100%;
}

footer {
  width: 100%;
  background: #000000;
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer p {
  color: gray;
}

.hidden {
  display: none !important;
}

button {
  border: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: #ffffff;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  border-radius: 6px;
  width: 100%;
  background: #3700b3;
  height: 3rem;
  margin-bottom: 40px;
}

button:hover {
  background-color: #6200ee;
}

button:active {
  background-color: #7d23fc;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.input {
  flex-grow: 1;
  border-radius: 6px;
  padding: 0.5rem;
  outline: none;
  background: #121212;
  border: none;
  color: #ffffff;
  border: 1px solid #3700b3;
  transition: all 0.3s ease-in-out;
  height: 3rem;
  width: 100%;
  margin-bottom: 20px;
}

.input.error {
  border-color: red;
}

.input:focus {
  border-color: #6200ee;
}

.input.info {
  cursor: pointer;
  transition: all 0.3s ease;
}

.input.info:hover {
  background-color: #80808030;
}

.input.info:active {
  background-color: #80808073;
}

.folder-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1rem;
  width: 100%;
}

.folder-block label {
  font-size: 16px;
}

progress[value] {
  appearance: none;
  border: none;
  width: 100%;
  height: 20px;
  background-color: whiteSmoke;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5) inset;
  color: royalblue;
  position: relative;
  margin: 0 0 1.5em;
}

progress[value]::-webkit-progress-bar {
  background-color: whiteSmoke;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5) inset;
}

progress[value]::-webkit-progress-value {
  position: relative;
  background-size:
    35px 20px,
    100% 100%,
    100% 100%;
  border-radius: 3px;
  animation: animate-stripes 5s linear infinite;
}

@keyframes animate-stripes {
  100% {
    background-position: -100px 0;
  }
}

progress[value]::-webkit-progress-value:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 7px;
  right: 7px;

  background-color: white;
  border-radius: 100%;
}

progress[value]::-moz-progress-bar {
  background-image:
    -moz-linear-gradient(
      135deg,
      transparent,
      transparent 33%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(0, 0, 0, 0.1) 66%,
      transparent 66%
    ),
    -moz-linear-gradient(top, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.2)),
    -moz-linear-gradient(left, #09c, #f44);
  background-size:
    35px 20px,
    100% 100%,
    100% 100%;
  border-radius: 3px;
}

.progress-bar {
  background-color: whiteSmoke;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5) inset;
  width: 100%;
  height: 20px;
}

.progress-bar span {
  background-color: royalblue;
  border-radius: 3px;
  display: block;
  text-indent: -9999px;
}

p[data-value] {
  position: relative;
}

p[data-value]:after {
  content: attr(data-value) "%";
  position: absolute;
  right: 0;
}

.progress::-webkit-progress-value {
  background-image:
    -webkit-linear-gradient(
      135deg,
      transparent,
      transparent 33%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(0, 0, 0, 0.1) 66%,
      transparent 66%
    ),
    -webkit-linear-gradient(top, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.2)),
    -webkit-linear-gradient(left, #09c, #f44);
}

.progress::-moz-progress-bar {
  background-image:
    -moz-linear-gradient(
      135deg,
      transparent,
      transparent 33%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(0, 0, 0, 0.1) 66%,
      transparent 66%
    ),
    -moz-linear-gradient(top, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.2)),
    -moz-linear-gradient(left, #09c, #f44);
}

.status {
  margin-bottom: 1rem;
  margin-top: 0;
  font-size: 16px;
  color: mediumspringgreen;
}

ul {
  list-style-type: none;
  padding-inline-start: 0;
  margin: 0;
  overflow-y: auto;
  width: 100%;
}

.label {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 40%;
}

li {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

li:nth-child(odd) {
  background: #80808030;
}

li:nth-child(even) {
  background: #0e0505;
}

.alert {
  color: #e2d02f;
  font-size: 14px;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

table {
  border-collapse: collapse;
}

td,
th {
  border: 1px solid black;
  padding: 8px;
  white-space: nowrap;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 4rem;
}

.hscode-block {
  width: 500px;
}

h1 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
}

table {
  width: 100%;
  background-color: #ffffff;
}

tr,
td {
  text-align: center;
  color: #000000;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.hscode-error {
  color: orange;
}
