/* Inventory Dashboard Version 1.2  */
/* Changes from v1.0:               */
/* Changes from v1.1: use Open Sans font type */
/*                  : alert button to red     */
/* Inventory Dashboard Version 1.2 - Updated Styling */
.inventory-dashboard {
  font-family: 'Open Sans', Arial, sans-serif;
  max-width: 600px;
  margin: -20px auto;
  margin-left: -20px;
  margin-right: -20px;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
}

/* Right Panel Container */
.right-panel {
  background-color: #2566A6;
  color: white;
  padding: 15px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Headings */
.right-panel h4 {
  font-size: 21px;
  margin-top: 0;
  margin-bottom: 15px;
  color: white;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
}

/* Inventory Summary & Leaderboard */
.inventory-summary, 
.leaderboard {
  padding: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

/* Alerts Section (now Price Alerts) */
.alerts {
  background-color: #1A4D8C;
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
  color: white;
}

/* Inventory Items */
.inventory-item {
  padding: 8px;
  margin: 8px 0;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  color: white;
}
.inventory-item.critical { background-color: rgba(255, 0, 0, 0.2); }
.inventory-item.warning  { background-color: rgba(255, 165, 0, 0.2); }
.inventory-item.normal   { background-color: rgba(0, 255, 0, 0.1); }

/* Leaderboard Suppliers */
.supplier {
  padding: 8px;
  margin: 8px 0;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: white;
}
.supplier small {
  opacity: 0.8;
  font-size: 0.9em;
  color: white;
}

/* Alert Items */
.alert {
  padding: 10px;
  margin: 10px 0;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  color: white;
}
.alert button {
  background-color: #ff4444;  /* Changed to red */
  color: white;               /* Changed to white text */
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  margin-top: 5px;
  cursor: pointer;
  font-weight: bold;
}
.alert button:hover {
  background-color: #cc0000;  /* Darker red on hover */
}