/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f9;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.subtitle {
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

/* Selectors */
.selectors {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cup-size-selector, .plate-size-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cup-size-selector label, .plate-size-selector label {
  font-size: 1rem;
}

.cup-size-selector select, .plate-size-selector select {
  padding: 0.5rem;
  font-size: 1rem;
  border: 2px solid #3498db;
  border-radius: 5px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
}

/* Tab Navigation */
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.tab-button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: none;
  background-color: #3498db;
  color: #fff;
  cursor: pointer;
  margin: 0 0.5rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.tab-button.active {
  background-color: #2980b9;
}

.tab-button:hover {
  background-color: #2980b9;
}

/* Sub-Tabs */
.sub-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.sub-tab-button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: none;
  background-color: #3498db;
  color: #fff;
  cursor: pointer;
  margin: 0 0.5rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.sub-tab-button.active {
  background-color: #2980b9;
}

.sub-tab-button:hover {
  background-color: #2980b9;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.sub-tab-content {
  display: none;
}

.sub-tab-content.active {
  display: block;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #3498db;
  color: #fff;
  font-weight: 600;
}

tr:hover {
  background-color: #f1f1f1;
}

/* List Styles */
ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

ul li:hover {
  background-color: #f1f1f1;
}

/* Selected Items Section */
#selected-items {
  margin-top: 2rem;
}

#selected-items-list {
  list-style-type: none;
  padding: 0;
}

#selected-items-list li {
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
}