/* Recharge Widget Styles */

.recharge-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: auto;
}

.recharge .recharge-header .icon-lightning {
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 30px;
  background: url('/icons/thunder.png') no-repeat center / contain;
  margin-top: 4px;
}
.recharge .recharge-header .icon-lightning img{
  display: none;
}
.recharge {
  background-color: #000;
  color: #fff;
  width: 390px;
  min-height: 232px;
  padding: 13px 49px 40px;
  border-radius: 0 0 0 15px;
  /* Bottom left rounded as per dishtv.in */
  box-sizing: border-box;
}

.recharge .recharge-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.recharge .recharge-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  line-height: 120%;
  text-transform: none;
}

.recharge .recharge-header .icon svg {
  width: 14px;
  height: auto;
}

/* Form Styles */
.recharge .recharge-form {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.recharge .recharge-input-wrapper input {
    background: transparent;
    border: 1.5px solid #fff;
    border-radius: 4px;
    color: #fff;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .44px;
    padding: 7px 1pc 7px 18px;
    width: 100%;
}

.recharge .recharge-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 1);
}

.recharge .recharge-proceed-btn {
  background-color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  background: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 0 4px 10px 0 rgba(185, 60, 6, .15);
    box-shadow: 0 4px 10px 0 rgba(185, 60, 6, .15);
    color: #ff5a12;
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .14px;
    line-height: 38px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.recharge .recharge-proceed-btn:hover {
  background-color: #f0f0f0;
}

/* SweetAlert2 overrides */
.swal-recharge-popup {
  height: 22em !important;
  padding: 30px !important;
}

.swal-recharge-btn {
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  padding: 10px 60px !important;
  box-shadow: none !important;
  outline: none !important;
}

.swal-recharge-btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Ensure the parent section is relative for the absolute positioning */
.section.banner-with-widget-section {
  position: relative;
  min-height: 450px;
  /* Ensure enough height if banner hasn't loaded */
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .recharge-wrapper {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
  }

  .recharge {
    width: 100%;
    border-radius: 0;
    padding: 40px 28px;
    min-height: auto;
  }

  .recharge-container.banner-container.banner-with-widget-section {
    display: flex;
    flex-direction: column;
  }

  .banner-wrapper {
    order: 0;
  }

  .recharge-wrapper {
    order: 1;
    margin-top: -9px;
  }

  .section.banner-with-widget-section {
    min-height: auto;
  }
}

@media (min-width: 1600px) {

  /* Handle large screens to keep widget aligned with container content */
  .recharge-wrapper {
    right: 16px;
  }
}