/* Scoped styles for ZL Earnings Calculator */
.zl-earnings-calculator,
.zl-earnings-calculator * {
  font-family: inherit !important;
  color: inherit;
}


.zl-earnings-calculator .zl_label{
  font-weight: bold;
  font-size: 14px;
  color: black;
  display: block;
  margin-bottom: -8px;
}
.zl-earnings-calculator .zl_input{
  width:80% !important;
  display:inline-block !important;
  border:solid 1px #999 !important;
  padding: 5px !important;
  margin-left:5px;
}
.zl-earnings-calculator .zl_button{
  border-radius: 5px;
  padding: 10px 20px;
  text-align:center;
  display:block !important;
  margin-top:20px;
  border:none;
  color:white;
  background:#6542ab;
  width:100%;
  font-size:20px;
}
.zl-earnings-calculator .zl_calc_col_1{
  width:47%;
  display:inline-block;
  vertical-align: top;
}
.zl-earnings-calculator .zl_calc_col_2{
  width:51%;
  display:inline-block;
  vertical-align: top;
  padding-top:40px;
}
@media screen and (max-width: 1100px) {
  .zl-earnings-calculator .zl_calc_col_1{ width:100%; }
  .zl-earnings-calculator .zl_calc_col_2{ width:100%; }
}
/* Utility fallbacks to avoid Tailwind dependency within the container */
.zl-earnings-calculator .flex{ display:flex; }
.zl-earnings-calculator .items-center{ align-items:center; }
.zl-earnings-calculator .justify-center{ justify-content:center; }
.zl-earnings-calculator .mt-2{ margin-top:0.5rem; }

/* Slider track and thumb styling (Chrome, Safari, Edge) */
.zl-earnings-calculator #num_partners::-webkit-slider-runnable-track,
.zl-earnings-calculator #returns_processed::-webkit-slider-runnable-track{
  background: #ebebeb;
  height: 15px;
  border-radius: 8px;
}
.zl-earnings-calculator #num_partners::-webkit-slider-thumb,
.zl-earnings-calculator #returns_processed::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -5px; /* centers thumb vertically */
}
/* Slider track and thumb styling (Firefox) */
.zl-earnings-calculator #num_partners::-moz-range-track,
.zl-earnings-calculator #returns_processed::-moz-range-track{
  background: #ebebeb;
  height: 15px;
  border-radius: 8px;
}
.zl-earnings-calculator #num_partners::-moz-range-thumb,
.zl-earnings-calculator #returns_processed::-moz-range-thumb{
  width: 25px;
  height: 25px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
}

/* Modal styles (scoped) */
.zl-earnings-calculator .zl-modal-overlay{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  display: none; /* toggled via .zl-modal-visible */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.zl-earnings-calculator .zl-modal-visible{ display: flex; }
.zl-earnings-calculator .zl-modal-hidden{ display: none; }

.zl-earnings-calculator .zl-modal-content{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  width: 92%;
  max-width: 1100px;
  max-height: 90vh;
  position: relative;
  overflow: hidden;
}
.zl-earnings-calculator .zl-modal-close{
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 24px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: #666;
  cursor: pointer;
}
.zl-earnings-calculator .zl-modal-close:hover{ color: #000; }

.zl-earnings-calculator .zl-modal-body{
  height: 80vh;
}
.zl-earnings-calculator .zl-modal-body iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

.zl_dollar {
  font-size: 15px;
  color: black;
}

.zl_input_row {
  display: flex;
  align-items: center;
  gap: 5px;
}