/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #FF7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}




.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1E2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: hsl(var(--base));
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}


@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}



.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

/* =========================================================
   RAPIDLOAN HOMEPAGE REDESIGN
   Homepage presentation only. Shared navigation, routes,
   pages, footer and application functionality are untouched.
   ========================================================= */

.rapid-home-carousel {
    position: relative;
    overflow: hidden;
    background: #071d3b;
}

.rapid-home-carousel .carousel-item {
    min-height: 650px;
    height: min(78vh, 820px);
    position: relative;
    background: #071d3b;
}

.rapid-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rapid-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 22, 48, .94) 0%, rgba(4, 22, 48, .80) 38%, rgba(4, 22, 48, .24) 76%, rgba(4, 22, 48, .10) 100%),
        linear-gradient(0deg, rgba(4, 18, 38, .40), transparent 45%);
}

.rapid-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 100px 0 90px;
    color: #fff;
}

.rapid-hero-content h1,
.rapid-hero-content h2 {
    max-width: 760px;
    margin: 10px 0 20px;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -.025em;
}

.rapid-hero-content p {
    max-width: 680px;
    margin-bottom: 30px;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    line-height: 1.75;
}

.rapid-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.rapid-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.rapid-hero-actions .btn {
    min-width: 190px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.rapid-hero-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.rapid-hero-link:hover {
    color: #fff;
    opacity: .82;
    transform: translateX(3px);
}

.rapid-hero-link i {
    margin-left: 5px;
    font-size: 18px;
    vertical-align: -2px;
}

.rapid-hero-card {
    margin-left: auto;
    width: min(370px, 100%);
    padding: 34px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    box-shadow: 0 22px 70px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}

.rapid-hero-card span,
.rapid-hero-card small {
    display: block;
    color: rgba(255,255,255,.78);
}

.rapid-hero-card span {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.rapid-hero-card strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 34px;
    line-height: 1.15;
}

.rapid-hero-card small {
    font-size: 14px;
    line-height: 1.6;
}

.rapid-carousel-control {
    z-index: 4;
    width: 72px;
    opacity: .75;
}

.rapid-home-carousel .carousel-indicators {
    z-index: 5;
    bottom: 92px;
    justify-content: flex-start;
    width: auto;
    margin-left: max(24px, calc((100% - 1320px) / 2));
    margin-right: 0;
}

.rapid-home-carousel .carousel-indicators button {
    width: 30px;
    height: 4px;
    margin-right: 7px;
    border: 0;
    border-radius: 10px;
    opacity: .5;
}

.rapid-home-carousel .carousel-indicators button.active {
    width: 55px;
    opacity: 1;
}

.rapid-finance-bar {
    position: relative;
    z-index: 6;
    margin-top: -1px;
    background: #fff;
    box-shadow: 0 -8px 30px rgba(4,22,48,.08);
}

.rapid-finance-item {
    display: flex;
    align-items: center;
    min-height: 94px;
    padding: 18px 30px;
    gap: 15px;
    border-right: 1px solid #edf0f5;
}

.rapid-finance-item i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    background: hsl(var(--base) / .10);
    color: hsl(var(--base));
    font-size: 23px;
}

.rapid-finance-item strong,
.rapid-finance-item span {
    display: block;
}

.rapid-finance-item strong {
    color: #17213a;
    font-size: 20px;
    line-height: 1.2;
}

.rapid-finance-item span {
    margin-top: 4px;
    color: #748096;
    font-size: 13px;
}

@media (max-width: 1199px) {
    .rapid-home-carousel .carousel-item {
        min-height: 610px;
        height: 70vh;
    }

    .rapid-home-carousel .carousel-indicators {
        bottom: 78px;
    }
}

@media (max-width: 767px) {
    .rapid-home-carousel .carousel-item {
        min-height: 620px;
        height: 76vh;
    }

    .rapid-hero-content {
        padding: 70px 0 110px;
    }

    .rapid-hero-content h1,
    .rapid-hero-content h2 {
        font-size: clamp(36px, 10vw, 50px);
    }

    .rapid-hero-content p {
        font-size: 16px;
        line-height: 1.65;
    }

    .rapid-hero-actions {
        gap: 14px;
    }

    .rapid-hero-actions .btn {
        min-width: 0;
    }

    .rapid-home-carousel .carousel-indicators {
        bottom: 110px;
        margin-left: 24px;
    }

    .rapid-carousel-control {
        display: none;
    }

    .rapid-finance-item {
        min-height: 78px;
        padding: 14px 20px;
        border-right: 0;
        border-bottom: 1px solid #edf0f5;
    }

    .rapid-finance-item i {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rapid-home-carousel .carousel-item {
        transition: none;
    }
}
