/*
 * @Author: Amirhossein Hosseinpour <https://amirhp.com>
 * @Date Created: 2025/02/14 11:44:27
 * @Last modified by: amirhp-com <its@amirhp.com>
 * @Last modified time:
 */

:root {
  --color-bg-primary: #030c15;
  --color-bg-secondary: #082a58;
  --color-text: #fff;
  --color-text-1: #dac05e;
  --color-text-2: #00c4f4;
}

toast {
  display: block;
  background: var(--toast-bg, rgba(0, 0, 0, .8));
  color: #fff;
  text-align: center;
  bottom: 0;
  top: auto;
  width: 100vw;
  left: 0;
  padding: 1rem;
  box-shadow: 0 2px 11px 0 rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  transform: translateY(110%);
  position: fixed;
  z-index: 9999999999999999 !important;
}

toast:empty {
  display: none;
}

toast.active {
  transform: translateY(0);
}

.hamburger-box {
  transform: scale(0.5) translateX(-1.5rem);
}

.profile-page-wrapper {
  background-color: var(--color-bg-primary);
  color: var(--color-text);
}

body,
html,
.profile-page-wrapper aside.menu-sidebar {
  background-color: var(--color-bg-primary) !important;
}

.container-fluid a {
  color: var(--color-text-1);
}

.list-unstyled.navbar__list {
  background-color: var(--color-bg-secondary) !important;
  min-height: 100vh;
  position: relative;
}

.list-unstyled.navbar__list li:last-child {
  position: absolute;
  bottom: 0em;
  width: 100%;
}

.menu-sidebar.d-lg-block {
  margin: -1rem;
  border-radius: 0 !important;
  color: var(--color-text)
}

.list-unstyled.navbar__list li.user-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem !important;
}

.user-icon .user_name_display {
  color: var(--color-text);
  font-weight: 500;
}

.list-unstyled.navbar__list li a {
  color: var(--color-text) !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
}

.list-unstyled.navbar__list li:last-child a {
  background: #fff;
  padding: 1rem;
  color: #000 !important;
  border-radius: 0.5rem;
}

.user-icon img.avatar.photo {
  border: 2px solid #4e4e4e;
  box-shadow: 0 0 0 2px var(--color-text-1);
  margin: 1rem;
}

.profile-page-wrapper .navbar__list li i::before {
  color: inherit !important;
  background: none !important;
}

.list-unstyled.navbar__list li {
  padding: 0.3rem 2rem !important;
  margin-bottom: 1.5rem !important;
}

.list-unstyled.navbar__list li.active * {
  color: var(--color-text-1) !important;
}

.list-unstyled.navbar__list li.active {
  background: transparent;
  border-radius: 0;
  border-right: 3px solid var(--color-text-1);
  color: var(--color-text-1);
}

li.large-logo-dash {
  display: block;
  padding: 2rem 1rem 1rem 1rem !important;
}

.large-logo-dash img {
  height: 60px;
  margin: auto;
  display: block;
}

.shortcode_wrapper .cols {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.deposit-new {
  background: #fff2;
  padding: 1rem;
  border-radius: 0.5rem;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  width: 100%;
  overflow: auto;
}

.row label {
  padding: 0.5rem 0;
}

.elementor-button+.elementor-button {
  margin-left: 0.5rem;
}

@media only screen and (max-width: 600px) {
  .shortcode_wrapper .cols {
    flex-direction: column;
  }

  .elementor-button+.elementor-button {
    margin: 0.5rem 0;
  }

  .list-unstyled.navbar__list {
    min-height: auto;
    position: relative;
    overflow: auto;
  }

  .list-unstyled.navbar__list li.list-hamburger {
    margin: 0 !important;
    padding: 0.7rem 1rem !important;
  }

  .menu-sidebar.d-lg-block {
    margin: 0 !important;
    border-radius: 5px !important;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    background-color: var(--color-text-1);
  }

  .list-unstyled.navbar__list li:last-child {
    position: relative;
  }
}


.profile-page-wrapper #submit-profile-changes,
.profile-page-wrapper [data-pepro-reglogin]>form button#submit,
.elementor-button {
  color: #000 !important;
  border: 1px solid currentColor !important;
  background: var(--color-text-1) !important;
  border-color: var(--color-text-1) !important;
}

.profile-page-wrapper #submit-profile-changes:is(:hover, :focus, :active, :focus-within, :focus-visible),
.profile-page-wrapper [data-pepro-reglogin]>form button#submit:is(:hover, :focus, :active, :focus-within, :focus-visible),
.elementor-button:is(:hover, :focus, :active, :focus-within, :focus-visible) {
  color: #000 !important;
  background: #b79d41 !important;
  border-color: #b79d41 !important;
}

.elementor-button.secondary {
  color: #000 !important;
  border: 1px solid currentColor !important;
  background: var(--color-text-2);
  border-color: var(--color-text-2);
}

.elementor-button.secondary:is(:hover, :focus, :active, :focus-within, :focus-visible) {
  color: #000 !important;
  background: #049abf;
  border-color: #049abf;
}

.elementor-button>i[class*="fa"] {
  -webkit-padding-end: 6px;
  padding-inline-end: 6px;
}

.highlight {
  color: var(--color-text-1);
}

copy {
  color: #ffffffe5;
  font-family: monospace;
  background: #eee1;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: larger;
  vertical-align: middle;
  word-break: break-all;
  line-height: 1;
}

.elementor-button.sm {
  -webkit-margin-start: 4px;
  margin-inline-start: 4px;
  padding: 8px 8px;
  font-size: larger;
  vertical-align: middle;
  line-height: 1;
  text-align: center;
}

.elementor-button.sm>* {
  padding: 0 !important;
  margin: 0 !important;
}

.profile-page-wrapper .tabbed-wrapper .tab-entry.card.active {
  background: transparent;
  padding: 0;
  border-radius: unset !important;
}

.profile-page-wrapper .tabbed-wrapper {
  background: #fff3;
  padding: 1rem;
}


.profile-page-wrapper .tab-names a.change-tab {
  color: #fff;
}

.profile-page-wrapper .tabbed-wrapper .tab-names a.change-tab.active {
  background: var(--color-bg-primary);
  color: #fff;
}


.profile-page-wrapper .tabbed-wrapper .tab-names a.change-tab {
  margin-bottom: 1rem;
  border-radius: 0.3rem !important;
}

.profile-page-wrapper form.edit-profile-form:last-child {
  margin: 0;
}

[data-pepro-reglogin]>form #login_error,
[data-pepro-reglogin]>form .login_error {
  background-color: #fff3;
}

.profile-page-wrapper :is(h2, h3, h4) {
  color: var(--color-text-1);
}

.save-user-details.alert-box {
  background: var(--color-bg-secondary) !important;
}

.profile-page-wrapper .main-content {
  flex: 1 1 auto;
  max-width: 100% !important;
  padding: 2rem;
}

.menu-sidebar.d-none.d-lg-block {
  align-self: auto;
}

.profile-page-wrapper.page-edit #address {
  margin-top: 4rem;
}

[data-pepro-reglogin]>form .pepro-login-reg-field label,
.mb-1 {
  margin-bottom: 0.5rem;
}


.deposit-new table {
  border: 0;
  margin: 0 !important;
  border-collapse: collapse;
  font-size: 1rem !important;
}

.deposit-new table :is(td, th) {
  border: none;
  background: transparent !important;
  vertical-align: top !important;
  position: relative;
}

.deposit-new table tr {
  background: transparent !important;
}

.deposit-new table tr td>*:not(a, button)>.fas {
  color: var(--color-text-1);
}

label[required]::after {
  content: " *";
  color: var(--color-text-1);
}

.shortcode_wrapper form textarea:focus-visible,
.shortcode_wrapper form input:focus-visible {
  outline: 2px solid var(--color-text-1) !important;
}

.deposit-new table :is(td, th):first-child {
  white-space: nowrap;
  width: 29%;
}
@media only screen and (max-width: 600px) {
  .deposit-new table :is(td, th):first-child {
    white-space: nowrap;
    width: 100%;
  }
}
.success-res:empty {
  display: none;
}

.dark-alert,
.success-res {
  display: block;
  white-space: break-spaces;
  margin-top: 1rem;
  background: var(--color-bg-primary);
  padding: 1rem;
  border-radius: 4px;
  border-left: 5px solid var(--color-text-1);
}

.dark-alert.light {
  background: #fff4;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th,
.history-table td {
  padding: 8px;
  text-align: start;
  border: none;
}

.history-table th {
  background-color: var(--color-bg-secondary)
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--color-bg-secondary);
}

.jconfirm.jconfirm-material .jconfirm-box {
  max-width: calc(100vw - 1rem) !important;
}

@media only screen and (max-width: 700px) {
  form.deposit-new {
    position: relative;
    overflow: hidden;
    padding: 0.5rem;
  }

  form.deposit-new>table {
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    table-layout: fixed;
  }

  form.deposit-new tr {
    display: flex;
    flex-direction: column;
  }

  form.deposit-new>table tr td {
    white-space: collapse !important;
    flex: 1 1 100%;
  }

  form.deposit-new>table tr td:empty {
    display: none !important;
  }

  form.deposit-new>table tr td .elementor-button {
    width: 100% !important;
  }

  form.deposit-new>table tr td copy {
    margin: 0 !important;
    display: block;
    line-height: 1.3;
    margin-bottom: 0.5rem !important;
  }
}

.status {
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
}

.status.pending {
  color: #ff9800;
}

.status.approved {
  color: #4caf50;
}

.status.rejected {
  color: #f44336;
}

.status.unknown {
  color: #9e9e9e;
}

.view-note {
  padding: 6px 12px;
  font-size: smaller;
}

.btn-small {
  padding: 6px 12px;
  font-size: smaller;
}


.scrollable-table-wrapper {
  position: relative;
  width: 100%;
  overflow: auto;
  background: var(--color-bg-secondary);
  border-radius: 0.5rem;
}

@media only screen and (max-width: 700px) {
  .scrollable-table-wrapper::before {
    content: "↔ table is scrollable ↔";
    padding: 0.5rem;
    font-size: 15px;
    display: block;
    color: #fff8;
    position: sticky;
    position: -webkit-sticky;
    left: 0;
    top: 0;
    text-align: center;
    border-bottom: 1px solid #eee5;
  }

}

select.has-desc+.desc:empty {
  display: none;
}

select.has-desc+.desc {
  margin-top: 0.5rem;
  display: block;
  background: #eee1;
  color: #fff;
  padding: 0.5rem;
  border-radius: 4px;
}

.max-wallet {
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(-3.5rem, 1.3rem);
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--color-bg-secondary) !important;
}

.list-unstyled.navbar__list li.wallet_amount {
  margin: -2.5rem 0 2rem 0 !important;
  text-align: center !important;
  width: 100% !important;
}

.list-unstyled.navbar__list li.wallet_amount a {
  text-align: center;
}

table.portfo-details :is(th, td) {
  padding: 4px 8px !important;
  text-align: center !important;
}

table.history-table :is(td, th).action {
  white-space: nowrap;
}

table.portfo-details tfoot td {
  background: #eef !important;
  font-weight: 500;
}

.jconfirm-content .highlight {
  color: #0173d7;
}

.jconfirm-content .row:first-of-type {
  background: #eee;
}

.jconfirm-content .row {
  padding: 0.25rem 0.5rem;
}



.home-dashboard {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.home-dashboard .portfolio-card {
  width: 30%;
  min-width: 250px;
  flex: 1 1 calc(33% - 2rem);
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-dashboard .portfolio-card h2 {
  color: #d4af37;
  font-size: 1.2em;
  margin-bottom: 10px;
  text-align: left;
}

.home-dashboard .value {
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
}

.home-dashboard .summary-item {
  font-size: 1em;
  text-align: left;
  color: #fff;
}

.home-dashboard .summary-item span {
  font-weight: normal;
  color: #d4af37;
}

.home-dashboard .portfolio-card .chart-box {
  background: #2c3557;
  border-radius: 10px;
  padding: 1rem;
  width: 100%;
  color: #fff;
  display: flex;
  height: 150px;
  flex-direction: row;
  align-items: center;
  position: relative;
  justify-content: space-between;
  gap: 0;
}

.home-dashboard .chart-container {
  position: absolute;
  height: 100px;
  width: calc(50% + 1rem);
  right: 1rem;
}

.profile-page-wrapper table td,
.profile-page-wrapper table th {
  white-space: nowrap;
}

form table {
  table-layout: fixed;
}