.efl-btn-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px;
  height: 48px;
  border: none;
  border-radius: 4px;
  background-color: #009597;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  outline: none;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
}

/* Button (text) */
.efl-btn-calc:hover {
  background-color: #007384;
  color: #fff !important;
}

.efl-btn-calc[disabled],
.efl-btn-calc.disabled {
  background-color: #cccccc !important;
  color: #666666 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.8;
}

/* Logo inside button */
.efl-btn-logo {
  height: 32px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .efl-btn-logo {
    display: none !important;
  }
}

/* Popup Styles */
#eflLonPopupDiv {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

#eflLonPopupIframe {
  width: 90%;
  max-width: 1000px;
  height: 85%;
  max-height: 800px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  #eflLonPopupIframe {
    width: 95%;
    height: 95%;
    border-radius: 0;
  }
}

.efl-leasing-settings-section {
  max-width: 1000px;
}

/* Payment method logo in checkout label */

.payment_method_efl_leasing label img {
  max-height: 28px !important;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

/* EFL Leasing restricted checkout styles */
body.efl-restricted-active li.payment_method_efl_leasing,
body.efl-restricted-active label[for*='efl_leasing'],
body.efl-restricted-active
  .wc-block-components-radio-control__option:has(input[value='efl_leasing']),
body.efl-restricted-active
  .wc-block-components-radio-control-accordion-option:has(
    input[value='efl_leasing']
  ) {
  opacity: 0.5 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  user-select: none !important;
}

.efl-unavailable-msg {
  font-weight: 600;
  color: #c53030 !important;
  margin-top: 8px !important;
  display: block;
  clear: both;
}
