/* public/css/b2v.css */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

label {
  font-weight: bold;
  margin-right: 8px;
}

select,
input[type="text"] {
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 4px;
}

#dateFilter {
  margin-bottom: 20px;
  padding: 8px;
  width: 200px;
}

#data-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

section {
  margin-bottom: 30px;
}

section h2 {
  margin-bottom: 12px;
  font-size: 1.2em;
  border-bottom: 2px solid #ddd;
  padding-bottom: 6px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 12px;
  gap: 16px;
}

.row label {
  display: flex;
  align-items: center;
}

.two-col > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.two-col {
  display: flex;
  gap: 20px;
}

/* Spans "mm" next to inputs */
input[type="text"] + span {
  margin-left: 4px;
  font-size: 0.9em;
  color: #555;
}

/* Radio & checkbox groups layout */
.row.two-col div label {
  margin-right: 12px;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
}

/* Select elements in row */
.row select {
  min-width: 120px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .two-col, .row {
    flex-direction: column;
  }
}

#section1{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  border: solid 2px black;
  padding: 8px;
}
#section1 h2, label{
  padding: 0;
  margin: 0;
}
.hidden{
  visibility: hidden;
}

header {
  background: #b6b6b6;
  color: rgb(0, 0, 0);
  padding: 10px;
  text-align: center;
  border-radius: 6px 6px 0 0;
  z-index: 1;
  position: sticky;
  top: 0;
}