/* General Styles */

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

.box {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
  margin-top: 20px;
}

h1, h2, h3 {
  text-align: center;
  margin-top: 0;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button, .button {
  background-color: #fe0000;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  display: inline-block;
  margin-top: 10px;
}

button:hover, .button:hover {
  background-color: #dd0000;
}

.button-group {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

/* Table Styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: center;
}

table th {
  background-color: #f0f0f0;
}

/* Checkbox Inline Group */
.form-group.checkbox-inline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 20px; /* Ensure space below checkboxes */
}

.form-group.checkbox-inline input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.form-group.checkbox-inline label {
  display: inline-block;
  width: auto;
  margin-left: 8px;
  font-weight: normal;
}

/* Additional Spacing for the "+" Button */
#add-item-number {
  margin-bottom: 20px !important; /* Add consistent space below the "+" button */
}

/* Media Query for Small Screens */
@media (max-width: 600px) {
  table th, table td {
    font-size: 14px;
    padding: 6px;
  }
  
  .button-group {
    flex-direction: column;
  }
}
