body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #e0f7fa, #e0f7fa);
  color: #013b56;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #006d77;
}

.controls,
.search-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

input[type="text"],
select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #b2ebf2;
  font-size: 14px;
  min-width: 180px;
}

button {
  padding: 10px 15px;
  background-color: #0096c7;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0077b6;
}

#catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: #ffffffcc;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 123, 167, 0.15);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-card h3 {
  margin-top: 0;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 77, 105, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background-color: #ffffff;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.tab-buttons button {
  flex: 1;
  background-color: #caf0f8;
  color: #014f86;
  border: none;
  border-radius: 4px;
  padding: 8px;
}

.tab-buttons button.active {
  background-color: #0077b6;
  color: white;
}

.tab-panel {
  display: none;
  margin-top: 15px;
  background-color: #f1fafa;
  padding: 10px;
  border-radius: 6px;
}

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