.container {
  font-family: 'Roboto Mono', monospace;
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  background-color: #282c34;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.header {
  text-align: center;
  margin-bottom: 2rem;
}

.upload-zone {
  width: 100%;
  height: 150px;
  border: 3px dashed #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

#file-input {
  opacity: 0;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  cursor: pointer;
}

.uploads-list li {
  margin-top: 10px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  display: block;
}

.file-name {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.progress-bar {
  height: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border-width: 0px;
  overflow: hidden;
  width: 100%;
}

progress::-moz-progress-bar {
  background: #00ffb3;
}

progress::-webkit-progress-value {
  background: #00ffb3;
}

.error-message {
  display: block;
  color: red;
  font-size: 14px;
  margin-top: 5px;
  animation: fadeInError 0.5s ease forwards;
}

@keyframes fadeInError {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ready-files-list li {
  margin-top: 10px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  display: block;
}

.ready-file-name {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.link-field {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: white;
  padding: 5px;
  resize: none;
  width: 60%;
  display: inline-block;
  vertical-align: middle;
  word-break: break-all;
}

.link-field::selection {
  background-color: rgba(255, 255, 255, 0.3);
}

.copy-button, .open-button, .download-button {
  background-color: transparent;
  border: none;
  color: white;
  cursor: pointer;
  outline: none;
  font-size: 14px;
  font-family: 'Roboto Mono', monospace;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
  vertical-align: middle;
  text-decoration: none;
}

.copy-button:hover, .open-button:hover, .download-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.footer {
  text-align: center;
  margin-top: 1rem;
}

.telegram-link {
  border-radius: 5px;
  background-color: #0088cc;
  color: white;
  cursor: pointer;
  transition: transform .2s ease-in-out;
  padding: 0.5em 1em;
  font-size: 16px;
  border: none;
  width: fit-content;
  margin-left: auto;
  text-decoration: none;
}

.telegram-link:hover {
  transform: scale(1.05);
}

.telegram-text {
    padding-bottom: 10px;
}

body {
  background-color: #282c34;
  color: white;
  line-height: 1.5;
  font-size: 16px;
}

section {
    margin-bottom: 1rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
