/* static/css/Report.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.content {
  padding: 30px 20px;
  max-width: 600px;
  margin: 30px auto 0;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

h1 {
  margin-top: 0;
  text-align: center;
  color: #333;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="date"],
input[type="text"],
input[type="number"],
button {
  font-size: 16px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

button {
  background-color: #4CAF50;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #45a049;
}

/* Изменено: три колонки чекбоксов */
.checkbox-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px 10px;
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #c3e6cb;
  background-color: #e9f5e8;
  padding: 10px;
  border-radius: 6px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  font-size: 15px;
}

.checkbox-item input[type="checkbox"] {
  margin-right: 5px;
}

#progress-container {
  margin-top: 10px;
  width: 100%;
  background-color: #ddd;
  border-radius: 4px;
  overflow: hidden;
  height: 12px;
  display: none;
}

#progress-bar {
  height: 100%;
  width: 0;
  background-color: #4CAF50;
  animation: loadingBar 2s linear infinite;
}

@keyframes loadingBar {
  0%   { width: 0; }
  50%  { width: 80%; }
  100% { width: 100%; }
}

a.download-link {
  display: block;
  margin-top: 20px;
  text-align: center;
  color: #2196F3;
  font-weight: bold;
}

p {
  text-align: center;
  color: #555;
}
