/* Copy Animation */

.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: hsl(var(--base));
  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;
  }
}

.input-group-text.copytext.copyBoard {
  cursor: pointer;
}


.cookies-card {
  width: 520px;
  padding: 30px;
  color: #dddddd;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  border-radius: 5px;
  border: 2px solid hsl(var(--base)/ 0.5);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  background-color: hsl(var(--black));
  box-shadow: 0 0 15px hsl(var(--base)/ 0.5);
}

.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: 70%;
  left: 50%;
  width: 260px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 10px;
  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;
  }
}


/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05), 6px 4px 19px rgb(115 103 240 / 20%)
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #ced4da !important;
  padding: 10px 20px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: .3s;
}

.select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  border-width: 2px !important;
  border-radius: .375rem !important;
  padding: .375rem .75rem !important;
  height: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 8px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: rgb(var(--main)) !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}
.select2-container--open .select2-selection.select2-selection--single, .select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  border-radius: .375rem !important;
}


.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: rgb(var(--main));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: rgb(var(--main));
  background-color: hsl(var(--white)/.1);
  border-radius: 5px;
  height: 100%;

}


.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;

}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: rgb(var(--main));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border-bottom: 1px solid hsl(var(--white)/.2);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}
.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid hsl(var(--white));
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid hsl(var(--white));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid hsl(var(--white));
  display: inline-block;
  border-radius: 100%;

}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
      width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}


.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 8px;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
      align-self: center;
      padding-left: 5px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;

}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: var(--base-gradient);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.modal-content {
  background-color: #242431;
  border: 1px solid rgba(0, 0, 0, .2);
}

.modal-content .close {
  background: transparent;
  color: #fff;
}

.modal-header {
  border-bottom: 1px solid #373742;
}

.modal-footer {
  border-top: 1px solid #373742;
}


.table-search {
  width: 33%;
  margin-left: auto;
}

@media (max-width:991px) {
  .table-search {
    width: 50%;
  }
}

@media (max-width:575px) {
  .table-search {
    width: 100%;
  }
}

.verification-code-wrapper {
  border: 1px solid #141443 !important;
  background-color: #141443 !important;
}

.verification-code::after {
  background-color: #141443 !important;
}

.verification-code input:focus {
  background-color: inherit !important;
}

.border-bottom {
  border-color: rgba(255, 255, 255, 0.24) !important;
}

label.required:after {
  content: '*';
  color: #DC3545 !important;
  margin-left: 2px;
}


/* =========================== Custom Checkbox Design Start =========================== */
.form--check .form-check-input {
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  box-shadow: none !important;
  border: 0;
  position: relative;
  border-radius: 2px;
  width: 16px;
  height: 16px;
  border: 1px solid hsl(var(--base));
  margin-right: 5px;
}

.form--check .form-check-input:checked {
  background-color: hsl(var(--base)) !important;
  border-color: hsl(var(--base)) !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form--check .form-check-input:checked[type=checkbox] {
  background-image: none;
}

.form--check .form-check-input:checked::before {
  position: absolute;
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #fff;
  font-size: 10px;
  top: 50%;
  left: 50%;
  margin-bottom: 20px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* =========================== Custom Checkbox Design End =========================== */
.verification-code span {
  background: #0d0b32 !important;
  border: solid 1px #f1f1f11f;
  color: #ffffff !important;
}

.verification-code input {
  color: #ffff !important;
}

.disabled {
  opacity: 0.7;
}

.file-upload .remove-btn {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
}

.progress-bar.customWidth{
  background-color: hsl(var(--base));
}

#chart-container {
  overflow: auto;
}

#chart-container .orgchart {
  background-image: none;
}

#chart-container .orgchart .hierarchy::before {
  border-top: 2px solid #000;
}

#chart-container .orgchart .node:not(:only-child)::after,
#chart-container .nodes.vertical::before,
#chart-container .orgchart .node::before {
  background-color: #000;
}

#chart-container .orgchart .nodes.vertical .hierarchy::after,
#chart-container .orgchart .nodes.vertical .hierarchy::before {
  border-color: #000;
}

#chart-container .orgchart ul li .node {
  border-radius: 1rem;
}

#chart-container .orgchart ul li .node:hover,
#chart-container .orgchart .node.focused {
  background-color: rgba(0, 0, 0, 0);
}

.member-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 1rem;
  gap: 0.5rem;
}

#chart-container .orgchart .member-title {
  user-select: text;
}

.orgchart .node .edge {
  display: block;
  position: initial !important;
  background-color: #2c3e50;
  border-radius: 50% !important;
  border: 1px solid #2c3e50 !important;
  width: 40px !important;
  height: 40px !important;
}

.tooltip .tooltip-inner {
  max-width: none;
  text-align: left;
  word-wrap: break-word;
  white-space: normal;
  padding: 10px;
}

.tooltip .tooltip-inner span {
  display: block;
  margin-bottom: 5px;
}

.tooltip .truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Ajustes para mostrar iniciales dentro del círculo */
.circle-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #2c3e50;  /* Color de fondo del círculo */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  margin: 0 auto;  /* Centramos el círculo */
}     

/* Estilos modernos para el contenedor principal */
.custom--card {
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);

}

/* Animaciones para el árbol de referidos */
#chart-container .orgchart .node {
  transition: all 0.3s ease;
  animation: nodeAppear 0.5s ease-out;
}

@keyframes nodeAppear {
  from {
      opacity: 0;
      transform: scale(0.8);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

/* Estilos modernos para los círculos de iniciales */
.circle-initials {
  transition: all 0.3s ease;
  cursor: pointer;
  background: linear-gradient(145deg, #2c3e50, #34495e);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.circle-initials:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Tooltip moderno */
.tooltip .tooltip-inner {
  background-color: #2c3e50;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  animation: tooltipAppear 0.3s ease-out;
}

@keyframes tooltipAppear {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Animación para el botón de copiar */
.copyBoard {
  transition: all 0.3s ease;
}

.copyBoard:hover {
  background-color: #34495e !important;
  transform: translateY(-2px);
}

.copyBoard.copied {
  animation: copiedAnimation 1.5s ease;
}

@keyframes copiedAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Animación para mensajes de error */
#search-error {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Conexiones del árbol animadas */
#chart-container .orgchart .hierarchy::before,
#chart-container .orgchart .node::before,
#chart-container .orgchart .nodes.vertical::before {
  animation: lineAppear 1s ease-out;
}

@keyframes lineAppear {
  from {
      opacity: 0;
      transform: scaleY(0);
  }
  to {
      opacity: 1;
      transform: scaleY(1);
  }
}

/* Efecto hover para los nodos */
.member-content {
  transition: all 0.3s ease;
}

.member-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Animación para el título del miembro */
.member-title {
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Estilos para las nuevas tarjetas de estadísticas */
.stats-card, .chart-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover, .chart-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stats-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #a8b9cc;
}

.stats-info strong {
  color: #ffffff;
  font-weight: 600;
}

.stats-info i {
  color: #0d6efd;  /* Color azul que coincide con el tema */
}

/* Estilos para el título */
.stats-card h5 {
  color: #ffffff;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.stats-card h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #0d6efd;
}

/* Animaciones mejoradas */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.stats-card, .chart-card {
  animation: fadeInUp 0.5s ease-out forwards;
}

.stats-info p {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.stats-info p:nth-child(1) { animation-delay: 0.1s; }
.stats-info p:nth-child(2) { animation-delay: 0.2s; }
.stats-info p:nth-child(3) { animation-delay: 0.3s; }

/* Estilos para la nueva organización */
.welcome-section {
  background: rgba(13, 110, 253, 0.1);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
}

.referral-link-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estilos mejorados para las estadísticas */
.stat-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateX(10px);
}

.stat-icon {
  font-size: 24px;
  color: #0d6efd;
  margin-right: 15px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 10px;
}

.stat-details {
  flex: 1;
}

.stat-label {
  display: block;
  color: #a8b9cc;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.stat-value {
  display: block;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Estilos para el buscador */
.search-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 5px;
  transition: all 0.3s ease;
}

.search-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.search-icon {
  padding: 12px 15px;
  color: #a8b9cc;
  display: flex;
  align-items: center;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  color: #ffffff;
  padding: 12px 15px;
  font-size: 1rem;
  outline: none;
}

.search-input::placeholder {
  color: #a8b9cc;
  opacity: 0.7;
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.clear-search {
  background: none;
  border: none;
  color: #a8b9cc;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.clear-search:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.search-button {
  background: #0d6efd;
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.search-button:hover {
  background: #0b5ed7;
  transform: translateY(-1px);
}

.search-button i {
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.search-button:hover i {
  transform: translateX(3px);
}

.search-error {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dc3545;
  margin-top: 10px;
  padding: 10px 15px;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 10px;
  animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Animación de entrada */
.search-wrapper {
  animation: searchAppear 0.5s ease-out forwards;
}

@keyframes searchAppear {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

        /* Establecer un tamaño adecuado para la imagen de MetaMask */
        .img-meta-mask {
          max-width: 100px; /* Ajusta el valor según tus necesidades */
          height: auto;
      }

      /* Establecer un tamaño adecuado para la imagen de TronLink */
      .img-tronlink {
          max-width: 100px; /* Ajusta el valor según tus necesidades */
          height: auto;
      }

      /* Efectos de parpadeo y brillo */
      @keyframes parpadeo {
          0% { opacity: 1; }
          50% { opacity: 0.5; }
          100% { opacity: 1; }
      }

      .parpadea {
          animation: parpadeo 1s linear infinite;
      }

      @keyframes brillo {
          0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
          50% { box-shadow: 0 0 20px rgba(255, 215, 0, 1); }
          100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
      }

      .brilla {
          animation: brillo 1.5s ease-in-out infinite;
      }

      /* Estilos adicionales para modernizar el diseño */
      .custom--card {
          border: none;
          background: #1e1e2f;
          border-radius: 15px;
          overflow: hidden;
      }

      .card-header-bg {
          background: linear-gradient(135deg, #252aba, #4963c0);
          color: #fff;
      }

      .btn--base {
          background-color: #6f72ca;
          border: none;
          transition: transform 0.3s ease, background-color 0.3s ease;
      }

      .btn--base:hover {
          background-color: #a478e2;
          transform: translateY(-3px);
      }

      .btn-animated {
          border-radius: 30px;
          padding: 10px 20px;
          font-weight: bold;
      }

      @keyframes rotateLogo {
          from { transform: rotate(0deg); }
          to { transform: rotate(360deg); }
      }

      .qr-code-animated {
          animation: fadeIn 2s ease-in-out;
      }

      @keyframes fadeIn {
          from { opacity: 0; transform: scale(0.95); }
          to { opacity: 1; transform: scale(1); }
      }

      .countdown-timer {
          font-size: 2rem;
          font-weight: bold;
          color: #ffcc00;
          animation: flash 1s infinite;
      }

      @keyframes flash {
          0%, 100% { opacity: 1; }
          50% { opacity: 0.5; }
      }

      .wallet-info {
          font-size: 1.1rem;
          color: #ffffff;
          animation: slideIn 1s ease-out;
      }

      @keyframes slideIn {
          from { opacity: 0; transform: translateY(-10px); }
          to { opacity: 1; transform: translateY(0); }
      }

      .loading-overlay {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(30, 30, 47, 0.8);
          display: flex;
          justify-content: center;
          align-items: center;
          z-index: 9999;
      }

      /* Estilos para copiar al portapapeles */
      .copytext {
          cursor: pointer;
          transition: background-color 0.3s ease;
      }

      .copytext:hover {
          background-color: #5757d1;
      }

      .copytext.copied {
          background-color: #28a745 !important;
          color: #fff;
      }

      /* Estilos para animar los formularios */
      .animated-form {
          animation: fadeInUp 1s ease-out;
      }

      @keyframes fadeInUp {
          from { opacity: 0; transform: translateY(20px); }
          to { opacity: 1; transform: translateY(0); }
      }
      /* Estilos para el mensaje de confirmación */
.transaction-success {
  text-align: center;
  padding: 20px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 15px;
  margin: 20px 0;
  animation: fadeInScale 0.5s ease-out;
}

.btn-link-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 30px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 15px auto;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.btn-link-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.btn-link-custom i {
  font-size: 1.2em;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  color: #28a745;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 500;
  animation: slideInUp 0.5s ease-out;
}

/* Animaciones mejoradas */
@keyframes fadeInScale {
  from {
      opacity: 0;
      transform: scale(0.95);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Efectos de parpadeo y brillo mejorados */
.parpadea {
  animation: parpadeo 2s ease-in-out infinite;
}

@keyframes parpadeo {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.brilla {
  animation: brillo 2s ease-in-out infinite;
  position: relative;
}

@keyframes brillo {
  0% {
      box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
  }
  50% {
      box-shadow: 0 0 20px rgba(40, 167, 69, 0.6),
                  0 0 30px rgba(40, 167, 69, 0.4);
  }
  100% {
      box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
  }
}

/* Ajustes para el contenedor de estado de transacción */
#transactionStatus {
  margin: 20px 0;
  padding: 15px;
  border-radius: 15px;
  background: rgba(30, 30, 47, 0.5);
  backdrop-filter: blur(10px);
}

/* Animación de checkmark */
.success-animation {
  margin: 20px auto;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #4bb71b;
  stroke-miterlimit: 10;
  margin: 10% auto;
  box-shadow: inset 0px 0px 0px #4bb71b;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #28a745;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-stem {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.checkmark-kick {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
      stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
      transform: none;
  }
  50% {
      transform: scale3d(1.1, 1.1, 1);
  }
}

.confirmation-message {
  opacity: 0;
  animation: fadeIn 0.5s ease-out 1s forwards;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.transaction-success {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}