.form-element-container {
  display: flex;
  justify-content: space-between;
}

.form-item__label {
  width: 100%;
  padding-right: 5px;
}

.form-element-text {
  font-weight: normal;
  line-height: 1.5rem;
}

.button--primary {
  background-color: white !important;
}

.container-inline label::after {
  content: '' !important;
}

#taxes-ten-forty-form .form-text,
#taxes-line-sixteen-worksheet-form .form-text,
#taxes-dc-state-income-tax-form .form-text,
#taxes-ca-state-income-tax-form .form-text,
#taxes-pa-state-income-tax-form .form-text,
#taxes-va-state-income-tax-form .form-text {
  text-align: right;
}

.taxes-text {
  margin-top: 0;
  margin-bottom: 5px;
}

.layout-column--half .js-form-type-checkbox,
.layout-column--quarter .js-form-type-checkbox {
  margin-top: 50px;
}

.form-element-emogi {
  font-size: 20px;
  color: #333;
  padding: 4px;
  border: 3px solid rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

.hover-popup {
  display: none;
  position: absolute;
  padding: 10px;
  width: 700px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  position: fixed;
  bottom: 20px; /* Moves the element 20 pixels up from the bottom */
  right: 20px;  /* Moves the element 20 pixels left from the right */
  z-index: 100;
}

.hover-popup .taxes-hover-content {
  background: white;
  border: 1px solid #ccc;
  width: 680px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Overlay styles: fills the entire viewport and centers its contents */
.popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;


  /* Flexbox for perfect centering */
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center */
}

/* Styles for the actual popup content */
.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  text-align: center;
}
