body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 20px;
}

.form-container {
  max-width: 400px;
  margin: auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: bold;
}

input, select, button {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

input[readonly] {
  background-color: #e9ecef;
  color: #6c757d;
}

button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

@media (max-width: 480px) {
  .form-container {
    padding: 15px;
  }

  input, select, button {
    font-size: 14px;
  }
}

input:disabled, select:disabled {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}
.status-message {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
}

.status-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.status-message strong {
  color: #b30000;
}
.status-message {
  transition: opacity 0.5s ease;
}

h3 {
  text-align: center;
}
h2 {
  text-align: center;
}
details {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 15px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

details:hover {
  background-color: #e6e6e6;
}

details summary {
  font-weight: bold;
  outline: none;
  list-style: none;
  cursor: pointer;
}

details[open] summary::after {
  content: "▲";
  float: right;
}

details summary::after {
  content: "▼";
  float: right;
}

table th, table td {
  text-align: center;
  vertical-align: middle;
}
.center-text {
  text-align: center;
}
.table-wrapper {
  overflow-x: auto;
  max-width: 100%;
}
.table-wrapper table {
  min-width: 600px; /* или больше, если нужно */
  width: 100%;
}
