/* 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: #6e6f70;
  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: 80%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px !important;
  -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;
  }
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  opacity: 0.3;
}


.h-45 {
  height: 50px;
}

/* Bank header enhancements */
.header-top {
  position: relative;
  height: auto;
  padding: 6px 0;
  background-color: hsl(var(--white));
  border-bottom: 1px solid hsl(var(--border-color));
}

.top-header-wrapper {
  gap: 16px;
  line-height: normal;
}

.top-utility {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.top-utility__link {
  color: hsl(var(--heading-color));
  font-weight: 500;
}

.top-trust {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: hsl(var(--base) / 0.16);
  color: hsl(var(--heading-color));
}

.header--bank {
  top: 60px;
}

.header--bank .navbar {
  background-color: hsl(var(--white));
  border-radius: 14px;
  padding: 10px 20px;
  box-shadow: var(--box-shadow);
}

.nav-actions {
  gap: 10px;
}

.nav-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-security {
  font-size: 0.85rem;
  font-weight: 500;
  color: hsl(var(--body-color));
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 991px) {
  .header-top {
    display: none;
  }

  .header--bank {
    top: 0;
  }

  .header--bank .navbar {
    padding: 12px 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-actions {
    margin-top: 12px;
    width: 100%;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Dark theme */
[data-theme="dark"] {
  --heading-color: 0 0% 95%;
  --body-color: 0 0% 78%;
  --border-color: 220 14% 24%;
  --section-bg: 220 16% 16%;
}

[data-theme="dark"] body {
  background-color: hsl(220 16% 12%);
  color: hsl(var(--body-color));
}

[data-theme="dark"] .header-top,
[data-theme="dark"] .header--bank .navbar,
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .custom--card,
[data-theme="dark"] .form--control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .section-bg,
[data-theme="dark"] .section-bg-light,
[data-theme="dark"] .breadcrumb,
[data-theme="dark"] .bottom-footer.section-bg,
[data-theme="dark"] .custom--modal .modal-content,
[data-theme="dark"] .table,
[data-theme="dark"] .table thead,
[data-theme="dark"] .table tbody,
[data-theme="dark"] .table td,
[data-theme="dark"] .table th {
  background-color: hsl(220 16% 14%);
}

[data-theme="dark"] .header--bank .navbar {
  box-shadow: 0 12px 30px hsl(0 0% 0% / 0.35);
}

[data-theme="dark"] .top-utility__link,
[data-theme="dark"] .contact-list__link,
[data-theme="dark"] .nav-menu .nav-item .nav-link,
[data-theme="dark"] .follow-social-list__text,
[data-theme="dark"] .follow-social-list__link,
[data-theme="dark"] .nav-security,
[data-theme="dark"] .breadcrumb__link,
[data-theme="dark"] .breadcrumb__item,
[data-theme="dark"] .banner-content__desc,
[data-theme="dark"] .banner-content__title {
  color: hsl(0 0% 90%);
}

[data-theme="dark"] .header-top {
  border-bottom-color: hsl(220 14% 24%);
}

[data-theme="dark"] .top-trust {
  background-color: hsl(220 16% 18%);
  color: hsl(0 0% 92%);
}

[data-theme="dark"] .navbar-toggler.header-button {
  color: hsl(0 0% 92%);
}

[data-theme="dark"] .custom--card,
[data-theme="dark"] .form--control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .table {
  border-color: hsl(220 14% 24%);
  color: hsl(0 0% 88%);
}

[data-theme="dark"] .form--control::placeholder {
  color: hsl(0 0% 68%);
}

[data-theme="dark"] .table thead th,
[data-theme="dark"] .table th {
  color: hsl(0 0% 92%);
}

.h-none {
  height: 37px !important;
}

.input-group-text {
  color: #747474;
  background-color: #fff;
  border-color: hsl(var(--black) / 0.08);
  transition: all linear .15s;
}

.form--control:focus~.input-group-text {
  border-color: hsl(var(--base));
}

.account-form .input-group-text {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.15);
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  border-left: 0;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
  border-right: 0;
}

@media screen and (min-width:768px) and (max-width:1024px) {
  .hover-input-popup .input-popup {
    left: 70% !important;
  }
}

/* Dark theme fixes for inputs and utility colors */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background-color: hsl(220 16% 14%);
  color: hsl(0 0% 88%);
  border-color: hsl(220 14% 24%);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form--control:focus,
[data-theme="dark"] .form-select:focus {
  background-color: hsl(220 16% 16%);
  color: hsl(0 0% 92%);
  border-color: hsl(220 16% 34%);
  box-shadow: 0 0 0 0.2rem hsl(220 20% 30% / 0.35);
}

[data-theme="dark"] .form--control::placeholder {
  color: hsl(0 0% 68%);
}

[data-theme="dark"] ::placeholder {
  color: hsl(0 0% 65%);
}

[data-theme="dark"] .card,
[data-theme="dark"] .card-body,
[data-theme="dark"] .card-header,
[data-theme="dark"] .card-footer,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .dropdown-menu {
  background-color: hsl(220 16% 14%);
  color: hsl(0 0% 88%);
  border-color: hsl(220 14% 24%);
}

[data-theme="dark"] .bg-white {
  background-color: hsl(220 16% 14%) !important;
}

[data-theme="dark"] .bg-light,
[data-theme="dark"] .section-bg-light {
  background-color: hsl(220 16% 16%) !important;
}

[data-theme="dark"] .text-dark,
[data-theme="dark"] .text-black {
  color: hsl(0 0% 92%) !important;
}

[data-theme="dark"] .text-white {
  color: hsl(0 0% 92%) !important;
}

.freedom-section {
  padding: 110px 0 90px;
  background: radial-gradient(circle at top left, rgba(79, 114, 255, 0.12), rgba(255, 255, 255, 0)) , #f6f8fb;
}

.freedom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.freedom-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.freedom-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #6c7a92;
}

.freedom-title {
  font-size: clamp(2rem, 2vw + 1.5rem, 3rem);
  font-weight: 700;
  color: #1b2559;
  max-width: 18ch;
}

.freedom-subtitle {
  color: #4a5872;
  font-size: 1rem;
  max-width: 48ch;
}

.freedom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.freedom-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.freedom-benefit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1b2559;
}

.freedom-benefit i {
  color: hsl(var(--base));
}

.freedom-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.transfer-anim {
  position: relative;
  padding: 32px 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(20, 30, 60, 0.08);
  box-shadow: 0 18px 40px rgba(20, 35, 80, 0.12);
  overflow: hidden;
  min-height: 240px;
  margin-top: 16px;
}

.transfer-anim__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f6f8fb;
  border: 1px solid rgba(20, 30, 60, 0.08);
  font-weight: 600;
  color: #1b2559;
}

.transfer-anim__node span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c7a92;
}

.transfer-anim__node--left {
  left: 26px;
  bottom: 30px;
}

.transfer-anim__node--right {
  right: 26px;
  top: 26px;
}

.transfer-anim__lines {
  width: 100%;
  height: 220px;
}

.transfer-anim__path {
  fill: none;
  stroke: rgba(79, 114, 255, 0.6);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
  animation: transfer-flow 4s linear infinite;
}

.transfer-anim__path--two {
  stroke: rgba(27, 37, 89, 0.5);
  stroke-dasharray: 6 14;
  animation-duration: 5.5s;
}

.transfer-anim__badge {
  position: absolute;
  top: 56px;
  left: 24px;
  background: rgba(27, 37, 89, 0.08);
  color: #1b2559;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes transfer-flow {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -120;
  }
}

.freedom-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.freedom-tile {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(20, 30, 60, 0.08);
  box-shadow: 0 12px 26px rgba(20, 30, 60, 0.08);
}

.freedom-tile h5 {
  color: #1b2559;
  font-weight: 700;
  margin-bottom: 8px;
}

.freedom-tile p {
  color: #5b6b85;
  margin-bottom: 0;
}

.freedom-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.freedom-stat {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(20, 30, 60, 0.08);
  min-width: 140px;
}

.freedom-stat__value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1b2559;
}

.freedom-stat__label {
  color: #6c7a92;
  font-size: 0.85rem;
}

@media screen and (max-width: 767px) {
  .freedom-section {
    padding: 90px 0 70px;
  }

  .freedom-title {
    max-width: none;
  }

  .freedom-visual {
    order: -1;
  }

  .transfer-anim {
    padding: 24px 18px;
  }

  .transfer-anim__node {
    position: relative;
  }

  .transfer-anim__node--left {
    top: auto;
    right: -63%;
    /* bottom: 0px; */
    margin-bottom: 10px;
    left: auto;
  }
  
  .transfer-anim__node--right {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-bottom: 10px;
  }

  .transfer-anim__lines {
    height: 160px;
  }
}

@media (max-width: 991px) {
  .header--bank {
    z-index: 1000;
  }

  .header--bank .navbar,
  .header--bank .navbar-collapse {
    position: relative;
    z-index: 1001;
  }

  .body-overlay {
    z-index: 900;
  }
}
