body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 10px;
  background-color: #1a1a1a;
  color: #f0f0f0;
}
*, *::before, *::after {
  box-sizing: border-box;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #2a2a2a;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255,0,0,0.1);
}
h1, h2, h3, h4 {
  color: #ff4d4d;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  margin-top: 1px; /* Отступ сверху */
  margin-bottom: 5px;
}
.input-section {
  margin-bottom: 5px;
  background-color: #333;
  padding: 0px;
  border-radius: 8px;
}
.text {
  font-size: 10px; /* Размер шрифта */
  color: #333; /* Цвет текста */
  line-height: 1.1; /* Междустрочный интервал */
  text-align: center; /* Выравнивание текста */
  margin-top: 1px; /* Отступ сверху */
}
textarea {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ff8080;
  border-radius: 8px;
  background-color: #242424;
  color: #f0f0f0;
  resize: vertical;
}
.button {
  background-color: #ff4d4d;
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-right: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(255,0,0,0.2);
}
.button:hover {
  background-color: #ff3333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255,0,0,0.3);
}
.clear-button {
  background-color: #4d0000;
}
.clear-button:hover {
  background-color: #660000;
}
#output {
  margin-top: 10px;
  padding: 15px;
  border: 1px solid #ff8080;
  border-radius: 8px;
  background-color: #333;
}
#progressContainer {
  width: 100%;
  background-color: #4d0000;
  border-radius: 25px;
  margin-top: 15px;
  display: none;
  overflow: hidden;
}
#progressBar {
  width: 0%;
  height: 20px;
  background-color: #ff4d4d;
  border-radius: 25px;
  transition: width 0.3s ease-in-out;
}
input[type="file"] {
  display: none;
}
.file-input-label {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ff4d4d;
  color: white;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  margin-right: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(255,0,0,0.2);
}
.file-input-label:hover {
  background-color: #ff3333;
  transform: translateY(-0px);
  box-shadow: 0 4px 8px rgba(255,0,0,0.3);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
th {
  background-color: #ece6e7;
  color: #721c24;
}