/* Trigger button styling */
.payment-actions {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.back-btn,
.pay-btn {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.back-btn {
  background-color: #ccc;
}

.pay-btn {
  background-color: red;
  color: #fff;
}
.success {
  background-color: green !important;
}
/* Popup Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-box {
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 80%;
  position: relative;
  text-align: center;
  padding-bottom :30px;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
}

.popup-header h2 {
  font-size: 1.25rem;
  margin: 0;
}

.total-premium {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
}
/* .close-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
} */
.close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
}
.popup-divider {
  border: none;
  border-bottom: 1px solid #ccc;
  margin-bottom: 1rem;
}
.payment-options {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

a.terms-accept #confirmPayBtn {
    color: #fff;
}

.main-title {
    font-weight: 700;
    color: #333;
}

.mtf-20 {
    font-size: 20px;
}

.mtf-18 {
    font-size: 18px;
}

.option {
  /* background-color: #f5f5f5; */
  border-radius: 10px;
  padding: 1rem;
  flex: 1 1 140px;
  max-width: 150px;
  text-align: center;
}
.option-image-link {
    display: inline-block;
    width: 140px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
    border: 2px solid #f5f5f5;
    box-shadow: 0px 1px 4px 0px #00000026;
}

.option-image-link:hover {
  transform: scale(1.05);
}
.option img {
  width: 100%;
  height: auto;
  display: block;
}
.option-title {
  margin-top: 10px;
  margin-bottom: 0px;
  font-weight: normal;
  font-size: large;
}
.option-description {
    text-align: left;
    font-size: 16px;
    color: #666;
}
/* Success pop up */

.success-box {
  max-width: 400px;
}

.popup-header .success-title {
  margin-left: 25%;
}

/* Success check icon */
.success-icon {
  width: 80px;
  margin: 1rem auto;
  display: block;
}

/* Error popup styling */

.popup-header .error-title {
  margin-left: 30%;
}

.error-box {
  max-width: 400px;
}

/* Error icon styling */
.error-icon {
  width: 80px;
  margin: 1rem auto;
  display: block;
}
@media (max-width: 576px) {
    .option {
        max-width: none;
    }

    .popup-box {
        max-width: 600px;
        width: 90%;
    }
}

@media (max-width: 425px) {
  .option {
    max-width: 50%;
  }

  .popup-box {
    max-width: 100%;
    /*width: 80%;*/
    /*height: 500px;*/
  }

  .option-image-link {
    width: 130px;
    height: auto;
  }
}

@media (max-width: 320px) {
  .option-image-link {
    width: 115px;
    height: auto;
  }
}
