body,
html {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body {
  font-family: Arial, sans-serif;
}

.sample-barcode,
.generated-barcode {
  display: inline-block;
  margin: 10px;
  cursor: zoom-in;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  position: relative;
}

#styleSelector {
  top: 4px;
  right: 4px;
}

.selectedStyle {
  border: 2px solid red;
}

.scrollable-section {
  overflow-y: auto;
  flex-grow: 1;
  min-height: 50vh;
  max-height: 80vh;
}

.flex-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.flex-grow {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.highlight {
  animation: pulse 1s ease-in-out;
}

.delete-btn {
  right: -10px !important;
  bottom: -5px !important;
}

.enlarged-barcode {
  width: 300px;
  height: 300px;
  border: 2px solid #000;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#barcode-size-slider {
  height: auto !important; /* Fix: Looks like it is adding unnecessary height of 440px when it is rendered */
}