/* ==========================================================
   ELEVN Wallet Premium
   Desktop + mobile
   ========================================================== */

.elevn-wallet-page {
  --wallet-blue: #0a84ff;
  --wallet-cyan: #18d3e3;
  --wallet-purple: #7165ff;
  --wallet-surface: #ffffff;
  --wallet-surface-2: #f5f6fa;
  --wallet-border: #e2e5ed;
  --wallet-text: #161925;
  --wallet-muted: #747b91;

  margin-top: 0 !important;
  padding-top: 28px;
  padding-bottom: 80px;
}

body.night-mode .elevn-wallet-page {
  --wallet-surface: #15161b;
  --wallet-surface-2: #202127;
  --wallet-border: #30333e;
  --wallet-text: #f5f7ff;
  --wallet-muted: #9299ae;
}


/* Hero ---------------------------------------------------- */

.elevn-wallet-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 178px;
  margin-bottom: 24px;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid rgba(92, 111, 255, .24);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(
      circle at 14% 20%,
      rgba(24, 211, 227, .18),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(113, 101, 255, .24),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #121a35 0%,
      #101329 48%,
      #0b0d15 100%
    );
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.elevn-wallet-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.elevn-wallet-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #67e9f4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.elevn-wallet-hero__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.035em;
}

.elevn-wallet-hero__description {
  max-width: 560px;
  margin: 0;
  color: rgba(235, 240, 255, .7);
  font-size: 15px;
  line-height: 1.6;
}

.elevn-wallet-hero__orb {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}

.elevn-wallet-hero__orb--one {
  top: -130px;
  right: 16%;
  width: 310px;
  height: 310px;
}

.elevn-wallet-hero__orb--two {
  right: -55px;
  bottom: -130px;
  width: 250px;
  height: 250px;
  border-color: rgba(24, 211, 227, .11);
}


/* Navigation ---------------------------------------------- */

.content-tabs.elevn-wallet-nav {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 0;
  margin: 0 !important;
  padding: 6px !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .055) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.elevn-wallet-nav__list {
  display: flex !important;
  align-items: center;
  gap: 6px;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elevn-wallet-nav__list > li {
  position: static !important;
  float: none !important;
  margin: 0 !important;
}

.elevn-wallet-nav__list > li::after,
.elevn-wallet-nav__list > li > a::after {
  display: none !important;
  content: none !important;
}

.elevn-wallet-nav__list > li > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 128px;
  height: 48px;
  padding: 0 17px !important;
  border: 1px solid transparent !important;
  border-radius: 13px !important;
  color: rgba(232, 237, 255, .72) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1 !important;
  white-space: nowrap;
}

.elevn-wallet-nav__list > li > a > span {
  display: inline-block !important;
  margin: 0 !important;
}

.elevn-wallet-nav__list > li > a .main-icon,
.elevn-wallet-nav__list > li > a svg,
.elevn-wallet-nav__list > li > a svg path {
  color: currentColor !important;
  fill: currentColor !important;
}

.elevn-wallet-nav__list > li.active > a {
  border-color: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  background:
    linear-gradient(
      135deg,
      var(--wallet-blue),
      #3365ff
    ) !important;
  box-shadow: 0 10px 24px rgba(10, 132, 255, .28);
}


/* Main card ----------------------------------------------- */

.elevn-wallet-card {
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.elevn-wallet-card__body {
  padding: 0 !important;
}

.elevn-wallet-card__body > .alert {
  border: 1px solid rgba(45, 206, 137, .28);
  border-radius: 16px;
}


/* Dashboard ----------------------------------------------- */

.elevn-wallet-dashboard {
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(470px, 1.35fr);
  gap: 22px;
}

.elevn-wallet-balance {
  position: relative;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 25px;
  color: #fff;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(113, 101, 255, .96),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #18d3e3 0%,
      #0a84ff 52%,
      #4555ff 100%
    );
  box-shadow:
    0 22px 50px rgba(10, 132, 255, .22),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}

.elevn-wallet-balance__top,
.elevn-wallet-balance__footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.elevn-wallet-balance__label {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 700;
}

.elevn-wallet-balance__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .12);
  font-size: 11px;
  font-weight: 700;
}

.elevn-wallet-balance__amount {
  position: relative;
  z-index: 2;
  margin-top: 52px;
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.045em;
}

.elevn-wallet-balance__footer {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  justify-content: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.elevn-wallet-balance__footer strong {
  color: #fff;
  font-size: 14px;
  letter-spacing: .16em;
}

.elevn-wallet-balance__icon {
  position: absolute;
  right: 22px;
  bottom: 17px;
  color: rgba(255, 255, 255, .09);
  font-size: 114px;
  transform: rotate(-8deg);
}

.elevn-wallet-balance__shine {
  position: absolute;
  top: -80px;
  left: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  filter: blur(10px);
}


/* Actions ------------------------------------------------- */

.elevn-wallet-actions,
.elevn-wallet-transactions__panel,
.elevn-wallet-card--payments .elevn-wallet-card__body {
  border: 1px solid var(--wallet-border);
  border-radius: 25px;
  background: var(--wallet-surface);
  box-shadow: 0 16px 38px rgba(15, 22, 45, .08);
}

body.night-mode .elevn-wallet-actions,
body.night-mode .elevn-wallet-transactions__panel,
body.night-mode
.elevn-wallet-card--payments
.elevn-wallet-card__body {
  box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

.elevn-wallet-actions {
  padding: 24px;
}

.elevn-wallet-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.elevn-wallet-section-heading__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--wallet-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.elevn-wallet-section-heading h2 {
  margin: 0;
  color: var(--wallet-text);
  font-size: 21px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.elevn-wallet-section-heading__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(10, 132, 255, .18);
  border-radius: 13px;
  color: var(--wallet-blue);
  background: rgba(10, 132, 255, .1);
}

.elevn-wallet-actions__primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.elevn-wallet-action {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 94px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--wallet-border);
  border-radius: 18px;
  color: var(--wallet-text);
  background: var(--wallet-surface-2);
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.elevn-wallet-action:hover {
  transform: translateY(-2px);
}

.elevn-wallet-action--send:hover {
  border-color: rgba(24, 211, 227, .6);
  box-shadow: 0 13px 30px rgba(24, 211, 227, .1);
}

.elevn-wallet-action--funds:hover {
  border-color: rgba(113, 101, 255, .65);
  box-shadow: 0 13px 30px rgba(113, 101, 255, .12);
}

.elevn-wallet-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-right: 13px;
  border-radius: 15px;
}

.elevn-wallet-action--send
.elevn-wallet-action__icon {
  color: #0b9eaf;
  background:
    linear-gradient(
      135deg,
      rgba(24, 211, 227, .24),
      rgba(10, 132, 255, .14)
    );
}

.elevn-wallet-action--funds
.elevn-wallet-action__icon {
  color: var(--wallet-purple);
  background:
    linear-gradient(
      135deg,
      rgba(113, 101, 255, .24),
      rgba(10, 132, 255, .12)
    );
}

.elevn-wallet-action__icon svg,
.elevn-wallet-action__icon svg path {
  color: currentColor !important;
  fill: currentColor !important;
}

.elevn-wallet-action__copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
}

.elevn-wallet-action__copy strong {
  overflow: hidden;
  color: var(--wallet-text);
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.elevn-wallet-action__copy small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--wallet-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.elevn-wallet-action__arrow {
  flex: 0 0 auto;
  margin-left: 8px;
  color: var(--wallet-muted);
  font-size: 11px;
}

.elevn-wallet-actions__secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.elevn-wallet-credit-action {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--wallet-border);
  border-radius: 14px;
  color: var(--wallet-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.elevn-wallet-credit-action:hover {
  border-color: rgba(10, 132, 255, .48);
  color: var(--wallet-blue);
}

.elevn-wallet-credit-action svg,
.elevn-wallet-credit-action svg path {
  color: currentColor !important;
  fill: currentColor !important;
}


/* Transactions -------------------------------------------- */

.elevn-wallet-transactions {
  margin-top: 22px;
}

.elevn-wallet-transactions__panel {
  width: 100%;
  padding: 24px;
  overflow: hidden;
  box-sizing: border-box;
}

.elevn-wallet-section-heading--transactions {
  margin-bottom: 18px;
}

.elevn-wallet-transactions .table-responsive {
  border: 1px solid var(--wallet-border);
  border-radius: 17px;
  overflow: hidden;
}

.elevn-wallet-transactions .table {
  margin: 0;
}

.elevn-wallet-empty {
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
  border: 1px dashed var(--wallet-border);
  border-radius: 18px;
  background: var(--wallet-surface-2);
  text-align: center;
}

.elevn-wallet-empty img {
  max-width: 96px !important;
  max-height: 96px !important;
}

.elevn-wallet-empty .text-muted {
  color: var(--wallet-muted) !important;
}


/* Payments ------------------------------------------------ */

.elevn-wallet-card--payments
.elevn-wallet-card__body {
  padding: 26px !important;
}

.elevn-wallet-payments-form {
  padding: 22px;
  border: 1px solid var(--wallet-border);
  border-radius: 18px;
  background: var(--wallet-surface-2);
}

.elevn-wallet-payments-form .form-control {
  min-height: 46px;
  border-color: var(--wallet-border);
  border-radius: 13px;
}

.elevn-wallet-payments-form .btn-primary {
  min-height: 46px;
  padding-right: 22px;
  padding-left: 22px;
  border-radius: 13px;
  font-weight: 700;
}

.elevn-wallet-section-heading--history {
  margin-top: 28px;
}


/* Tablet -------------------------------------------------- */

@media (max-width: 991.98px) {
  .elevn-wallet-dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .elevn-wallet-balance {
    min-height: 245px;
  }
}


/* Mobile -------------------------------------------------- */

@media (max-width: 767.98px) {
  .elevn-wallet-page {
    width: 100%;
    padding: 14px 4px 118px;
  }

  .elevn-wallet-page > .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .elevn-wallet-page .sg-offcanvas-mainbar {
    padding-right: 0;
    padding-left: 0;
  }

  .elevn-wallet-hero {
    display: block;
    min-height: 0;
    margin-bottom: 14px;
    padding: 21px 18px 16px;
    border-radius: 22px;
  }

  .elevn-wallet-hero__eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .elevn-wallet-hero__title {
    margin-bottom: 6px;
    font-size: 29px;
  }

  .elevn-wallet-hero__description {
    font-size: 13px;
    line-height: 1.5;
  }

  .content-tabs.elevn-wallet-nav {
    width: 100%;
    margin-top: 18px !important;
    padding: 5px !important;
    border-radius: 16px !important;
  }

  .content-tabs.elevn-wallet-nav
  .elevn-wallet-nav__list {
    display: flex !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .content-tabs.elevn-wallet-nav
  .elevn-wallet-nav__list > li {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
  }

  .content-tabs.elevn-wallet-nav
  .elevn-wallet-nav__list > li > a {
    width: 100% !important;
    min-width: 0;
    height: 45px;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: 13px;
  }

  .elevn-wallet-nav__list > li > a > span {
    display: inline-block !important;
  }

  .elevn-wallet-hero__orb--one {
    top: -170px;
    right: -80px;
  }

  .elevn-wallet-hero__orb--two {
    display: none;
  }

  .elevn-wallet-dashboard {
    gap: 14px;
  }

  .elevn-wallet-balance {
    min-height: 205px;
    padding: 21px;
    border-radius: 22px;
  }

  .elevn-wallet-balance__amount {
    margin-top: 37px;
    font-size: 41px;
  }

  .elevn-wallet-balance__footer {
    right: 21px;
    bottom: 19px;
    left: 21px;
  }

  .elevn-wallet-balance__icon {
    right: 13px;
    bottom: 9px;
    font-size: 90px;
  }

  .elevn-wallet-actions,
  .elevn-wallet-transactions__panel,
  .elevn-wallet-card--payments
  .elevn-wallet-card__body {
    border-radius: 21px;
  }

  .elevn-wallet-actions {
    padding: 17px;
  }

  .elevn-wallet-section-heading {
    margin-bottom: 15px;
  }

  .elevn-wallet-section-heading h2 {
    font-size: 18px;
  }

  .elevn-wallet-section-heading__icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .elevn-wallet-actions__primary {
    gap: 9px;
  }

  .elevn-wallet-action {
    display: block;
    min-height: 118px;
    padding: 13px;
  }

  .elevn-wallet-action__icon {
    width: 42px;
    height: 42px;
    margin: 0 0 12px;
  }

  .elevn-wallet-action__copy strong {
    font-size: 13px;
  }

  .elevn-wallet-action__copy small {
    margin-top: 4px;
    font-size: 10px;
  }

  .elevn-wallet-action__arrow {
    position: absolute;
    top: 17px;
    right: 15px;
  }

  .elevn-wallet-actions__secondary {
    grid-template-columns: minmax(0, 1fr);
  }

  .elevn-wallet-transactions {
    margin-top: 14px;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .elevn-wallet-transactions__panel {
    width: 100%;
    padding: 17px;
  }

  .elevn-wallet-empty {
    min-height: 170px;
    padding: 18px;
  }

  .elevn-wallet-empty img {
    max-width: 76px !important;
    max-height: 76px !important;
  }

  .elevn-wallet-card--payments
  .elevn-wallet-card__body {
    padding: 17px !important;
  }

  .elevn-wallet-payments-form {
    padding: 16px;
  }

  .elevn-wallet-payments-form .form-group {
    margin-bottom: 17px;
  }
}


/* Very small mobile --------------------------------------- */

@media (max-width: 380px) {
  .elevn-wallet-actions__primary {
    grid-template-columns: minmax(0, 1fr);
  }

  .elevn-wallet-action {
    display: flex;
    min-height: 82px;
  }

  .elevn-wallet-action__icon {
    margin: 0 12px 0 0;
  }

  .elevn-wallet-action__arrow {
    position: static;
  }

  .elevn-wallet-balance__status {
    display: none;
  }
}
