body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-error {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
}

.direction-text {
  color: #c62828;
}

input[type="password"],
input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

button,
.btn {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
}

button:hover,
.btn:hover {
  background-color: #0056b3;
}



.actions {
  margin: 20px 0;
}

.site-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer a,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
  color: inherit;
  font: inherit;
  text-decoration: underline;
}

.summary,
.stack-models,
.data-table {
  margin-bottom: 30px;
  padding: 15px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.data-table table {
  width: 100%;
}

#bad-cells-table th,
#bad-cells-table td {
  white-space: nowrap;
}

#bad-cells-table th {
  text-align: center;
}

#bad-cells-table td.bad-cell,
#bad-cells-table td.blank-cell {
  text-align: center;
}

.bad-cell {
  cursor: pointer;
}

.bad-cell:hover {
  filter: brightness(0.97);
}

#bad-cells-table td.blank-cell {
  background-color: #eef9ee;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgb(255, 219, 151);
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 500px;
  min-width: 120px;
}

.popup.active {
  display: block;
}

.popup-close {
  float: right;
  cursor: pointer;
  font-size: 18px;
}

.popup #popup-content p {
  margin: 2px 0;
  line-height: 1.25;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}
