@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
#bazi {
  padding: 0 1rem;
  font-family: "Open Sans", sans-serif;
}
#bazi * {
  box-sizing: border-box;
}
#bazi .sr-only {
  height: 0;
  width: 0;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#bazi input:not([type=file]), #bazi select, #bazi option {
  padding: 0rem 1.5rem;
  line-height: 1;
  min-height: 2.3rem;
  width: 100%;
  font-size: 0.9rem;
  background: none;
}
#bazi input:not([type=file]), #bazi select {
  border-radius: 10px;
  border: 2px solid #ffd700;
  outline: none;
}
#bazi input:not([type=file]):focus, #bazi select:focus {
  outline: none;
  box-shadow: none;
}
#bazi select {
  -webkit-appearance: none; /* For Chrome, Safari, and Opera */
  -moz-appearance: none; /* For Firefox */
  appearance: none;
  background-image: none;
}
#bazi select, #bazi option {
  text-align: center;
  text-transform: uppercase;
}
#bazi label,
#bazi legend {
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}
#bazi button {
  cursor: pointer;
  padding: 0.5rem 1.5rem;
  outline: none;
  border: none;
  color: white;
  border-radius: 5px;
  background: #1800ad;
  transition: opacity 0.3s;
}
#bazi button:hover {
  opacity: 0.7;
}
#bazi button:disabled {
  opacity: 0.5;
}
#bazi .bazi__form {
  background: white;
  padding: 1rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
#bazi .title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #ffd700;
}
#bazi .tabs {
  margin-bottom: 1rem;
  display: flex;
}
#bazi .tab {
  background: none;
  color: black;
  border-radius: 0;
  position: relative;
}
#bazi .tab.active {
  color: #1E90FF;
  border-bottom: 3px solid #1E90FF;
  font-weight: bold;
}
#bazi .form__col {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
#bazi .form__group,
#bazi .form__field {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
}
#bazi .form__group {
  gap: 0.5rem;
  flex-direction: column;
}
#bazi .form__field {
  align-items: center;
}
#bazi .form__field {
  border-radius: 10px;
  border: 2px solid #ffd700;
  outline: none;
  background: white;
  padding: 0rem 1rem 0 0;
}
#bazi .form__field label {
  margin: 0;
  font-weight: normal;
  font-size: 0.8rem;
  white-space: nowrap;
}
#bazi .form__field select {
  border: none;
  border-radius: initial;
  padding: 0 0.5rem 0 1rem;
  flex: 1;
}
#bazi .form__field:has(#gender),
#bazi .form__field:has(#birth-meridiem),
#bazi select#gender,
#bazi select#birth-meridiem {
  background: #e8e8e8;
  overflow: hidden;
}
#bazi .form__fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}
#bazi .form__fieldset .form__group {
  flex-direction: initial;
  align-items: center;
}
#bazi .bazi__form button {
  min-width: 150px;
  border: 2px solid #ffd700;
  border-radius: 10px;
  font-weight: bold;
  text-transform: uppercase;
}
#bazi #settings-form table {
  margin: auto;
}
#bazi #settings-form table td, #bazi #settings-form table th {
  text-align: center;
}
#bazi .form-result {
  padding: 1rem;
}
#bazi .form-result.error {
  background-color: #CD5C5C;
  color: white;
}
#bazi .form-result.success {
  border: 1px solid rgba(0, 0, 0, 0.5);
}
#bazi #table-dates {
  border-collapse: collapse;
  border: none;
}
#bazi #table-dates tr.istransition {
  outline: 2px solid orange;
  position: relative;
}
#bazi #table-dates tr.istransition::after {
  content: "Transition";
  position: absolute;
  top: 0;
  right: 0;
  background-color: orange;
  padding: 0 0.3rem;
  font-size: 0.5rem;
  font-weight: bold;
  color: white;
}
#bazi .table-pagination__buttons {
  text-align: right;
  padding: 0.5rem 0;
  background: #87CEFA;
}
#bazi .table-pagination__buttons button {
  background: none;
}
#bazi #form-view[data-dofetch=false] button,
#bazi #form-import[data-dosubmit=false] button {
  opacity: 0.5;
  pointer-events: none;
}
#bazi .loading {
  display: flex;
  align-items: center;
  padding: 0 0 1rem 0;
}
#bazi .loading__col:first-child {
  position: relative;
  width: 100%;
}
#bazi .loading__message {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 0.3rem 0 0 0;
  font-style: italic;
}
#bazi .loading__progress {
  background: #EBE4E5;
  height: 20px;
  width: 100%;
  border-radius: 0 50px 50px 0;
}
#bazi .loading__progress-path {
  background: #1800ad;
  height: 100%;
  width: 0%;
  border-radius: inherit;
}
#bazi .loading__image {
  height: 40px;
}
#bazi .tab .loading__image {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 30px;
  display: none;
}
#bazi .tab[data-isloading=true] .loading__image {
  display: unset;
}
#bazi #panel-view .loading {
  padding: 1rem;
  justify-content: center;
  display: none;
}
#bazi #panel-view:has(#form-view[data-dofetch=false]) .loading {
  display: flex;
}
@media screen and (max-width: 768px) {
  #bazi .form__field {
    padding: 0 1rem;
    flex-direction: column;
    align-self: stretch;
    min-width: -moz-fit-content;
    min-width: fit-content;
  }
  #bazi .form__field select {
    padding: 0;
  }
}/*# sourceMappingURL=index.css.map */