@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,700&display=swap");

/* look at this to set the rooot value of the color it will come from db */
/* :root {
    --font-color: <?php echo $fontColor; ?>;
    --background-color: <?php echo $backgroundColor; ?>;
    --primary-color: <?php echo $primaryColor; ?>;
    --secondary-color: <?php echo $secondaryColor; ?>;
} */

body .e_plugin {
  font-family: "Poppins", "sans-serif" !important;
  font-size: 14px;
}

.e_plugin.container {
  color: var(--font-color) !important;
}

/* .title_h1 h1 {
  color: var(--font-color) !important;
  text-align: center;
} */

.form_title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.33333;
  margin-bottom: 1rem;
  padding: 0px;
}

/* preview section css */
.pre-view {
  height: calc(100vh - 3.5rem) !important;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.pre-view > h1 {
  /* color: teal; */
  font-size: 1.75rem;
}

.pre-view .start-journey {
  /* color: #fff; */
  color: var(--btn-text-color);
  background-color: var(--btn-bg-color) !important;
  border: none !important;
  padding: 0.8em 1.5em 0.7em 1.5em;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: normal;
  letter-spacing: 0.5px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.pre-view .start-journey > svg {
  fill: var(--btn-text-color) !important;
}

.start-journey:hover {
  background-color: var(--btn-bg-color) !important;
  color: var(--btn-text-color) !important;
}

.information {
  display: flex;
  align-items: center;
  color: var(--font-color) !important;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.42857;
  text-transform: none;
  flex: 1 1 0%;
  border: 1px solid #22222250;
  border-radius: 10px;
  padding: 1rem;
  background-color: #cccccc50;
  margin-bottom: 1.75rem;
}

.information span > svg {
  height: 24px;
  width: 24px;
  fill: var(--font-color) !important;
}

#my-plugin-form label {
  font-size: 0.875rem;
  line-height: 1.28571;
  font-weight: 500;
}

#my-plugin-form input:not([type="checkbox"]):not([type="radio"]),
#my-plugin-form select {
  background-color: #cccccc;
  border: none;
  height: 48px;
}
.step_6 span {
  vertical-align: super;
  font-size: smaller;
  /* color: rgb(17, 112, 96); */
}

.step_19 .col-12.mb-3 {
  text-align: center;
  border: 1px solid #cccccc;
  padding: 2rem;
  border-radius: 10px;
}

.step_19 .col-12.mb-3 > span {
  color: var(--font-color) !important;
}

.OTP-messgae {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.OTP-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.OTP-buttons button {
  color: var(--btn-text-color) !important;
  background-color: var(--btn-bg-color) !important;
  border: none !important;
  padding: 0.8em 1.5em 0.7em 1.5em;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: normal;
  letter-spacing: 0.5px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

#my-plugin-form .buttons-row {
  display: flex;
  justify-content: space-between;
}

#my-plugin-form .first-buttons-row {
  display: flex;
  justify-content: center;
}

/* this css is for buttons which will be universal all over the pages */
button.btn.btn-primary {
  color: var(--btn-text-color) !important;
  background-color: var(--btn-bg-color) !important;
  border: none !important;
  padding: 0.8em 1.5em 0.7em 1.5em;
  font-weight: 500;
  font-size: 1rem;
  line-height: normal;
  letter-spacing: 0.5px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

button.btn.btn-primary > svg {
  fill: var(--btn-text-color) !important;
}

button.btn.back-btn {
  background: none;
  color: var(--btn-text-color) !important;
  outline: var(--btn-bg-color) !important;
}
button.btn.back-btn > svg {
  fill: var(--btn-text-color) !important;
}

button.btn.back-btn:hover {
  cursor: pointer;
}

.boxes {
  display: flex;
  justify-content: space-between;
}

.form-check {
  padding-left: 0 !important;
}

.boxes .form-check {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #cccccc50;
  padding: 1rem;
  margin-block: 10px;
  width: 12rem;
  height: 6rem;
  border-radius: 10px;
}

.button-box .form-check > label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: 5px;
  background-color: #cccccc80;
  margin-bottom: 16px;
}

.button-box .form-check > label:hover {
  cursor: pointer;
}

.button-box .form-check label > svg {
  fill: var(--font-color) !important;
  height: 20px;
  width: 20px;
  margin-bottom: 5px;
}

.button-box .form-check label > input {
  display: none;
}

.lenders-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.lenders-box .form-check:hover {
  outline: 1px solid skyblue;
  background-color: #cccccc70;
}

.lenders-box .form-check {
  display: flex;
  flex-direction: column;
  background: #cccccc50;
  border-radius: 10px;
  padding: 20px 16px !important;
  width: 100%;
  position: relative;
}

.lender-accordion {
  display: flex;
  flex-direction: row;
}

.lenders-box .form-check > ul {
  list-style: none;
}
.lenders-box .form-check ul > li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
}

.lenders-box .form-check ul > li > span {
  color: var(--font-color) !important;
}
.lenders-rates {
  width: 100%;
  padding-right: 2rem;
}

.lenders-box .form-check > input {
  position: absolute;
  top: 8px;
  right: 12px;
  height: 20px;
  width: 20px;
}

.logo-box {
  width: 180px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}

.logo-box > img {
  width: 100%;
}

/* this is css for lenders box list */
.more-lenders-info-display {
  display: none;
}
.more-lenders-info-display > h4 {
  color: var(--font-color) !important;
  font-size: 1rem;
  font-weight: 500 !important;
  margin-top: 8px;
}

.more-lenders-info-display .lenders-list {
  padding-left: 0;
}

.more-lenders-info-display .lenders-list > li {
  line-height: 1.25rem;
}

.more-lenders-info-display .lenders-list.no-space > li {
  display: flex;
  gap: 5px !important;
  justify-content: start;
  align-items: center;
}

.more-lenders-info-display .lenders-list.no-space > li > svg {
  fill: var(--font-color) !important;
  height: 11px;
  width: 11px;
}
.more-lenders-info-display .lenders-list.bgWhite {
  background-color: #cccccc50;
  padding: 0.25rem;
  border-radius: 4px;
}

.lenders-accordion-button {
  width: fit-content;
  position: absolute;
  bottom: 8px;
  right: 12px;
  border: none;
  padding: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--font-color) !important;
  background: none;
  text-decoration: underline;
}

.boxes .form-check > input {
  position: absolute;
  top: 8px;
  right: 12px;
  height: 20px;
  width: 20px;
}

.form-check:hover {
  cursor: pointer;
}
.boxes .form-check > svg {
  fill: var(--font-color) !important;
  height: 25px !important;
  width: 25px !important;
  margin-bottom: 5px;
}

.upload-fields {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.upload-fields > label {
  color: var(--font-color) !important;
}

.upload-fields .drag-drop {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #cccccc50;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 5px;
}

.upload-fields .drag-drop > input {
  width: 100%;
  background: transparent;
  outline: none;
  opacity: 0;
  height: 130px !important;
  position: absolute;
}
.drag-drop p {
  display: flex;
  text-align: center;
  align-items: center;
  gap: 5px;
  color: var(--font-color) !important;
}

.drag-drop p > svg {
  height: 30px;
  width: 30px;
  fill: var(--font-color) !important;
}
/* button css above this */

#success_data {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  align-items: center;
  min-height: 100vh;
  font-size: 2rem;
  color: var(--font-color) !important;
}

#success_data > svg {
  fill: var(--font-color) !important;
  height: 70px;
  width: 70px;
  margin-bottom: 1rem;
}

main {
  display: flex;
  flex-direction: column;
  /*   min-height: 100vh; */
  padding-bottom: 20px;
  padding-top: 20px;
}

/* links buttons css here */
.link-buttons {
  display: flex;
  justify-content: end;
  margin-top: 2rem;
  gap: 0.5rem;
}

.link-buttons > button {
  font-size: 0.85rem;
  border: none;
  background: none;
  color: rgb(137, 137, 208);
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .form {
    padding: 0px 1.5rem;
    display: flex;
    -webkit-box-flex: 1;
    flex-grow: 1;
  }
  #my-plugin-form {
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    -webkit-box-flex: 1;
    flex-grow: 1;
    width: 100%;
    padding-bottom: 0px;
    padding-top: 1.25rem;
  }
  #success_data {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    font-size: 1.25rem;
  }

  #success_data > svg {
    height: 70px;
    width: 70px;
    margin-bottom: 1rem;
  }
  .container {
    padding: 0px 1.5rem;
    display: flex;
    -webkit-box-flex: 1;
    flex-grow: 1;
  }

  .boxes .form-check {
    width: 11rem;
    height: 6.5rem;
  }
}
@media screen and (min-width: 768px) {
  #my-plugin-form {
    margin: 0px auto;
    width: 34rem;
    padding-bottom: 0px;
    padding-top: 1.25rem;
  }
}

/* for uploaded file names */
.fileNames {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 13px;
  text-align: center;
  color: var(--font-color) !important;
  font-size: 13px;
}

/* bright info card in step 1 */
.bright-info-card {
  background-color: var(--btn-bg-color) !important;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1.5rem;
  color: var(--btn-text-color) !important;
}

.bright-info-card > h1 {
  font-size: 1rem;
}

.bright-info-card > span {
  font-size: 0.8rem;
}

/* for google and progress bar */
.row.check-in-viewport.fadeinandslideup.in-viewport {
  margin-right: auto !important;
  margin-left: auto !important;
}
.pac-container:after {
  /* Disclaimer: not needed to show 'powered by Google' if also a Google Map is shown */
  background-image: none !important;
  height: 0px;
}

#progress-container {
  width: 100%;
  margin-bottom: 10px;
  background-color: #cccccc50;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

#progress-bar {
  width: 0;
  height: 8px;
  background-color: var(--btn-bg-color) !important;
  /* background: linear-gradient(90deg, #2fbbc3 50%, #1d1f4e 100%); */
  transition: width 0.3s ease;
}

.privacyModal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  background-color: #00000050;
  z-index: 9999;
}
@media screen and (min-width: 370px) and (max-width: 760px) {
  .modalBox {
    width: 370px !important;
  }
}
.modalBox {
  position: absolute;
  top: 90px;
  left: 50%;
  right: 50%;
  transform: translate(-50%);
  opacity: 1;
  overflow-y: scroll;
  width: 430px;
  height: 550px;
  z-index: 999999;
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 10px;
}

.boxHeader {
  padding-bottom: 1rem;
}

.boxHeader span {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: var(--font-color) !important;
}

svg.modalClose:hover {
  cursor: pointer;
  fill: red;
}

#my-plugin-form a {
  color: inherit !important;
  text-decoration: underline !important;
}
