.wc-bog_installments-control {
  width: 100%;
  position: relative;
}

.wc-bog_installments-input {
  background-color: transparent;
  width: 100%;
  min-height: 30px;
  display: block;
  cursor: pointer;
  appearance: none;
}

.wc-bog_installments-input::-webkit-slider-runnable-track {
  box-sizing: border-box;
  background-color: #f0f0f0;
  height: 6px;
  margin: 12px 0;
  border-radius: 3px;
}

.wc-bog_installments-input::-moz-range-track {
  box-sizing: border-box;
  background-color: #f0f0f0;
  height: 6px;
  margin: 12px 0;
  border-radius: 3px;
}

.wc-bog_installments-input::-ms-track {
  box-sizing: border-box;
  background-color: #f0f0f0;
  height: 6px;
  margin: 12px 0;
  border-radius: 3px;
}

.wc-bog_installments-input::-webkit-slider-thumb {
  box-sizing: border-box;
  background-color: transparent;
  width: 0;
  height: 0;
  border: none;
  box-shadow: none;
  appearance: none;
}

.wc-bog_installments-input::-moz-range-thumb {
  box-sizing: border-box;
  background-color: transparent;
  width: 0;
  height: 0;
  border: none;
  box-shadow: none;
  appearance: none;
}

.wc-bog_installments-input::-ms-thumb {
  box-sizing: border-box;
  background-color: transparent;
  width: 0;
  height: 0;
  border: none;
  box-shadow: none;
  appearance: none;
}

.wc-bog_installments-input:focus {
  outline: none;
}

.wc-bog_installments-input:focus~.wc-bog_installments-marker {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.wc-bog_installments-filled {
  background-color: #FF600A;
  width: 0;
  height: 6px;
  border-radius: 3px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: width 0.25s;
}

.wc-bog_installments-marker {
  background-color: #FF600A;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateX(-10px) translateY(-10px);
  pointer-events: none;
  transition: box-shadow 0.25s, left 0.25s;
}

.payment_method_bog_installments_aggregator_gateway .wc-bog_installments-filled {
  background-color: #FF600A;
}

.payment_method_bog_installments_aggregator_gateway .wc-bog_installments-marker {
  background-color: #FF600A;
}

.payment_method_bog_installments_aggregator_part_by_part_gateway .wc-bog_installments-filled {
  background-color: #7938EA;
}

.payment_method_bog_installments_aggregator_part_by_part_gateway .wc-bog_installments-marker {
  background-color: #7938EA;
}

.wc-bog_installments-ticks {
  width: 100%;
  height: 24px;
  font-size: 12px;
  line-height: 2;
  position: relative;
}

.wc-bog_installments-ticks div {
  position: absolute;
  transform: translateX(-50%);
}

.wc-bog_installments-info {
  font-size: 12px;
  display: flex;
  justify-content: flex-start;
  align-items: center; /* Center vertically */
  margin-bottom: 15px; /* Add some space below */
}

.wc-bog_installments-info div {
  flex: 0 0 auto;
}

.wc-bog_installments-info div+div {
  margin-left: 20px; /* Reduced from 30px for better balance */
}

.wc-bog_installments-info span {
  color: black;
  font-size: 30px;
  font-weight: bold;
}

.wc-bog_installments-conditions {
  margin-top: 20px;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  font-size: 12px;
  line-height: 20px;
}

.wc-bog_installments-conditions li {
  padding-left: 24px;
  position: relative;
}

.wc-bog_installments-conditions li::before {
  content: '';
  width: 18px;
  height: 18px;
  background-size: contain;
  position: absolute;
  top: 1px;
  left: 0;
}

.wc-bog_installments-conditions li+li {
  margin-top: 5px;
}

.payment_method_bog_installments_aggregator_gateway .wc-bog_installments-conditions {
  color: #FF600A;
}

.payment_method_bog_installments_aggregator_gateway .wc-bog_installments-conditions li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF600A' d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2Zm1 14.5c0 .5-.5 1-1 1s-1-.5-1-1v-6c0-.5.5-1 1-1s1 .5 1 1v6Zm-1-8c-.5 0-1-.5-1-1s.5-1 1-1 1 .5 1 1-.5 1-1 1Z'/%3E%3C/svg%3E");
}

.payment_method_bog_installments_aggregator_part_by_part_gateway .wc-bog_installments-conditions {
  color: #06A74C;
}

.payment_method_bog_installments_aggregator_part_by_part_gateway .wc-bog_installments-conditions li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='%2306A74C' d='M16.52 41c-.53 0-1.04-.21-1.41-.59L1.92 27.23a1.99 1.99 0 0 1 0-2.83 2.01 2.01 0 0 1 2.83 0l11.77 11.77L44.11 8.6a1.99 1.99 0 0 1 2.82 0c.78.78.78 2.04 0 2.82l-29 29c-.37.37-.88.59-1.41.59Z'/%3E%3C/svg%3E");
  width: 16px;
  height: 16px;
  top: 2px;
}

/* Remove grey background for Part by Part payment method */
.payment_method_bog_installments_aggregator_part_by_part_gateway {
  background-color: transparent !important; /* Override any theme or WooCommerce default */
}

/* Remove grey background for Installment payment method */
.payment_method_bog_installments_aggregator_gateway {
  background-color: transparent !important; /* Override any theme or WooCommerce default */
}