.pegatina-configurator h2 {
  font-weight: bold;
}

.pegatina-configurator .search-bar {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pegatina-configurator input[name="search_reference"] {
  width: 80%;
  padding: 10px;
  border: 1px solid #ccc;
}

.pegatina-configurator .create-btn {
  background-color: #222529;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pegatina-configurator .create-btn:hover {
  background-color: #e31818;
}

.pegatina-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
}

.pegatina-card .header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px;
  background: #f5f5f5;
  font-size: 13px;
}

.pegatina-card .header > div {
  flex: 1;
  margin-bottom: 5px;
  max-width: fit-content;
}

.pegatina-card .content {
  display: flex;
  flex-wrap: nowrap;
  text-align: center;
  font-size: 14px;
  padding: 5px 0;
}

.search-bar #reference-search {
  width: 83%;
}

.pegatina-card .content .tramo {
  flex: 1;
  border-right: 1px solid #eee;
}

.pegatina-card .content .cantidad-bloque {
  flex: 1;
  padding: 0 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pegatina-card .cantidad-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 8px;
}

.pegatina-card .cantidad-control input {
  width: 40px;
  text-align: center;
}

.pegatina-card .precio-total {
  font-weight: bold;
}

.pegatina-card .marcha {
  font-size: 12px;
}

.pegatina-card .add-btn {
  padding: 6px 12px;
  cursor: pointer;
  background-color: #222529;
  border: none;
  color: white;
  margin-top: 8px;
  transition: background 0.2s ease;
}

.pegatina-card .add-btn:hover {
  background: #e31818;
}
