/* Report filters styling */
.report-filters {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.report-filters .form-item {
  display: inline-block;
  margin-right: 20px;
}

/* Chart container */
.ingredient-chart-container {
  background: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Report table styling */
.ingredient-usage-report {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.ingredient-usage-report th {
  background: #4CAF50;
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

.ingredient-usage-report td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.ingredient-usage-report tr:hover {
  background: #f5f5f5;
}

.ingredient-usage-report tr:last-child {
  background: #e8f5e9;
  font-weight: bold;
}

/* Detail page styling */
.ingredient-usage-detail {
  width: 100%;
  border-collapse: collapse;
}

.ingredient-usage-detail th {
  background: #2196F3;
  color: white;
  padding: 10px;
  text-align: left;
}

.ingredient-usage-detail td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

.ingredient-stats {
  width: 100%;
  border-collapse: collapse;
}

.ingredient-stats td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.ingredient-stats td:first-child {
  font-weight: 600;
  width: 60%;
}

.ingredient-stats td:last-child {
  text-align: right;
  color: #4CAF50;
  font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
  .report-filters .form-item {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .ingredient-usage-report,
  .ingredient-usage-detail {
    font-size: 12px;
  }
  
  .ingredient-usage-report th,
  .ingredient-usage-report td,
  .ingredient-usage-detail th,
  .ingredient-usage-detail td {
    padding: 6px;
  }
/* Send Report Button Styling - Unified for both calculators */
.button--send-report {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
  font-weight: 600;
  margin-left: 10px;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.button--send-report:hover {
  background-color: #218838 !important;
  border-color: #1e7e34 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.button--send-report:disabled,
.button--send-report[disabled] {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  cursor: not-allowed;
  opacity: 0.65;
}
}
