p {
  margin: 0 !important;
}

.invoice-container {
  background-color: #f5f5f5;
  padding: 2rem !important;
  font-size: 0.9rem;
}

.form-control::-webkit-input-placeholder {
  opacity: 0.5;
}

.shadow-div {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

@media screen and (max-width: 768px) {
  .upper-cont {
    display: none !important;
  }
  .below-cont {
    display: flex !important;
  }

  .invoice-container {
    margin-top: 2rem;
  }

  #payment_form {
    margin-top: 2rem;
  }
}

.submit_btn {
  background-color: black !important;
  color: white !important;
  border-color: black !important;
  width: 50%;
}
.submit_btn:hover {
  background-color: transparent !important;
  color: black !important;
  border-color: black !important;
}
.submit_btn:active {
  background-color: transparent !important;
  color: black !important;
  border-color: black !important;
}

.submit_btn:disabled {
  background-color: darkgrey !important;
  border-color: darkgrey !important;
}

.image-container {
  max-height: 250px;
  max-width: 250px;
  overflow: hidden; /* Ensure the image doesn't overflow the container */
}

.logo_image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Maintain aspect ratio and fit image within container */
}

.card_input_form_group{
  position: relative;
}

.card_input_form_group .icon{
  position: absolute;
  z-index: 9999;
  right: 20px;
  top: 30px;
  font-size: 24px;
  color: darkgray;
  border: 0;
}

/* Stripe UK Dynamic field */
#card-element {
  display: block;
  width: 100%;
  padding: .650rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#card-errors {
  color: red;
  font-size: 14px;
  font-weight: 500;
}



/**
         * Overlay Spinner / Loader
         */
.overlay {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #544c4c2e;
  z-index: 1;
  opacity: 0.7;
}

.overlay .overlay__inner {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}

.overlay .overlay__content {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.overlay .spinner {
  width: 75px;
  height: 75px;
  display: inline-block;
  border-width: 4px;
  border-color: rgba(255, 255, 255, 0.05);
  border-top-color: #000000c7;
  animation: spin 1s infinite linear;
  border-radius: 100%;
  border-style: solid;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/**
 * Overlay Spinner / Loader ENDS
 */

.swal2-container {
  z-index: 999;
}

#pciVaultBtn {
  display: block;
  float: right;
  color: #000000;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

/** PCI VAULD MODAL **/
/* The Modal (background) */
#pciVaultModal .modal {
  z-index: 10000;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  /*z-index: 1; Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
#pciVaultModal .modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 40%;
}

/* The Close Button */
#pciVaultModal .close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#pciVaultModal .close:hover,
#pciVaultModal .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#pciVaultModal table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#pciVaultModal td, #pciVaultModal th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

#pciVaultModal tr:nth-child(even) {
  background-color: #dddddd;
}

/** PCI VAULD MODAL ENDS **/


/*Stepper CSS*/
.steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}
.step-button {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background-color: gray;
  color: white;
  transition: .4s;
}
.step-button[aria-expanded="true"] {
  width: 50px;
  height: 50px;
  background-color: blue;
  color: #fff;
}
.done {
  background-color: black;
  color: #fff;
  width: 50px;
  height: 50px;

}
.step-item {
  z-index: 10;
  text-align: center;
}
#progress {
  -webkit-appearance:none;
  position: absolute;
  width: 95%;
  z-index: 5;
  height: 1px;
  margin-left: 18px;
  margin-bottom: 18px;
}
/* to customize progress bar */
#progress::-webkit-progress-value {
  background-color: blue;
  transition: .5s ease;
}
#progress::-webkit-progress-bar {
  background-color: gray;
}

.checkoutLabel {
  font-weight: 500;
}


.billToInfo {
    font-size: 14px;
}