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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f0f7fa;
  min-height: 100vh;
}

#root {
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(44, 172, 186, 0.1);
  width: 100%;
  max-width: 800px;
  padding: 25px;
  border: 1px solid rgba(44, 172, 186, 0.1);
      margin: auto;
}

.tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.tab {
  padding: 12px 24px;
  border: none;
  background: #f0f0f0;
  border-radius: 8px;
  cursor: pointer;
  flex: 1;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #666;
}

.tab:hover {
  background: #e0e0e0;
}

.tab.active {
  background: #007bff;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.tab-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.tab-pane {
  min-height: 200px;
}

.text-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #2cacba;
}

textarea {
  width: 100%;
  height: 150px;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  resize: vertical;
  transition: border-color 0.3s ease;
  font-size: 15px;
  line-height: 1.5;
}

textarea:focus {
  outline: none;
  border-color: #2cacba;
}

input[type="file"] {
  width: 100%;
  padding: 20px;
  border: 2px dashed #2cacba;
  border-radius: 8px;
  background: rgba(44, 172, 186, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="file"]:hover {
  background: rgba(44, 172, 186, 0.1);
}

.submit-btn {
  padding: 12px 24px;
  background: #2cacba;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(44, 172, 186, 0.2);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn:hover {
  background: #259daa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 172, 186, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 4px;
}

.result-table-container {
  margin-top: 25px;
  overflow-x: auto;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.result-table th,
.result-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.result-table th {
  background: #2cacba;
  color: white;
  font-weight: 500;
}

.result-table tr:nth-child(even) {
  background: #f8f9fa;
}

.result-table tr:hover {
  background: #f0f7fa;
}

.loading {
  text-align: center;
  margin-top: 20px;
  color: #2cacba;
  font-weight: 500;
}

/* Основной стиль для заголовка */
.page-title {
  font-family: Calibri;
  font-size: 2.5rem;
  font-weight: bold;
  color: #265689;
  text-align: center;
  margin: 2rem 20rem;
  line-height: 0.8;
}

/* Адаптивный размер шрифта */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem; /* Уменьшаем размер шрифта на мобильных устройствах */
  }
}

/* Анимация появления */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}