.onsale {
    background: #ff5050;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 5px;
    z-index: 10;
}
#progress-container {
    float:right;
  position: relative;
  width: 50%;
  height: 45px;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: black;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Progress bar behind the text */
#progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #4caf50;
  z-index: 0;
  transition: width 0.3s ease;
  border-radius: 5px;
}

/* Text on top of progress bar */
#progress-text {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* Hover effect */
#progress-container:hover:not(:disabled) {
  background-color: #e0e0e0;
  border-color: #4caf50;
  color: white;
}

/* Focus effect for accessibility */
#progress-container:focus {
  outline: 2px solid #4caf50;
  outline-offset: 2px;
}

/* Disabled state */
#progress-container:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}


.spinner {
  border: 8px solid #f3f3f3; /* Light gray background */
  border-top: 8px solid #3498db; /* Blue color for the spinner */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Ensure the spinner stays on top */
}

/* Animation for rotating the spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.custom-birthchart-form {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

.custom-birthchart-form th.label {
    width: 25%;
    text-align: left;
    padding: 0.5em;
    vertical-align: middle;
}

.custom-birthchart-form td.value {
    width: 75%;
    padding: 0.5em;
}

.custom-birthchart-form select {
    width: 100%;
    max-width: 300px;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

