@import url("fonts.css");

:root {
  --primary-font: "Poppins", sans-serif, Arial, Helvetica;
  --secondary-font: "Montserrat", sans-serif, Arial, Helvetica;
  --main-font: "Future Earth", sans-serif, Arial, Helvetica;

  /* Font weight variables */
  --font-thin: 100;
  --font-extra-light: 200;
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-extra-bold: 800;
  --font-black: 900;

  /* Common font combinations */
  --heading-font: "Montserrat", sans-serif, Arial, Helvetica;
  --body-font: "Poppins", sans-serif, Arial, Helvetica;
  --accent-font: "Future Earth", sans-serif, Arial, Helvetica;
  --monospace-font: "Consolas", "Monaco", "Courier New", monospace;
}

body {
  background: #2B1E0B;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: var(--primary-font);
  /*font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,sans-serif;*/
}

/* Mobile frame wrapper */
.mobile-container {
  width: 380px;
  height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: scroll;
  border: 1px solid #111;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  background: url("../images/home_bg.png") no-repeat center center !important;
}

.auth-container {
  background: url("../images/background.png") no-repeat center center !important;
  background-size: cover;
}
.auth-container::after {
  content: "";
  position: absolute;
  top: 45%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px; 
  background: url("../images/backimgmiddleimg.png") no-repeat center/contain;
  pointer-events: none;
}
.auth-container .register-input {
  border-radius: 12px;
  background: #000000;
  border: 1.5px solid #4D3B17;
  width: 100%;
  padding: 15px;
  font-size: 14px;
  color: #977738;
}
.auth-container .register-input::placeholder {
  font-size: 14px;
  color: #977738;
}
.home-container {
  background: url("../images/home_bg.png") no-repeat center center;
  background-size: cover;
}

::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
  /* hides scrollbar */
}

/* For IE/Edge (legacy) */
html {
  -ms-overflow-style: none;
  /* IE/Edge */
}


/* Top bar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.deposit_modal input,
.withdraw_modal input {
  border-radius: 12px;
  background: #483A1C;
  letter-spacing: -0.4px;
}
.deposit_modal input:focus,
.withdraw_modal input:focus {
  background: #483A1C;
  border: 1px solid #FDC654;
}
.wallet-icon {
  width: 100%;
  filter: drop-shadow(0 0 15px rgba(0, 153, 255, 0.6));
}

.wallet-icon {
  width: 50px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 200, 0.8));
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Connect Button */
.connect-btn {
  background: linear-gradient(180deg, #D39B22 0%, #FDC654 100%);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 70px;
  cursor: pointer; border-radius: 16px;
}

/* Hover effect */
.connect-btn:hover {
  background: linear-gradient(180deg, #D39B22 0%, #FDC654 100%);
}

/* Language Dropdown */
.lang-select {
  background: #061128;
  color: #fff;
  border: 1px solid #d1cf80;
  box-shadow: inset 0px 0px 8.6px 4px #d1cf80;
  border-radius: 17px;
  padding: 5px 35px 5px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  width: auto;
  appearance: none;
  /* hide default arrow */
  background-image: url("../images/arrow-down.svg"),
    linear-gradient(145deg, #0a1a3d, #001122);
  background-repeat: no-repeat;
  background-position: right 12px center, center;
  background-size: 12px, cover;
  /* glow effect */
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

/* Hover / Focus → stronger neon glow */
.lang-select:hover,
.lang-select:focus,
.lang-select:focus-visible {
  border: 1px solid #d1cf80;
  box-shadow: inset 0px 0px 8.6px 4px #d1cf80;
}

.brand-name {
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(90deg, #34bef3 0%, #2c75f4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-emphasis-color: transparent;
}

.modal-dialog {
  width: 390px;
}

.customModal1 .flag {
  width: 24px;
  height: 24px;
}

.customModal1 .modal-dialog {
  margin-bottom: 0px;
}

.customModal1 .modal_layout {
  height: 100%;
  display: flex;
  align-items: end;
}
.sidebar_language .modal-content {
  background: #181105;
  box-shadow: inset 0px 2px 8px 0px #FFFFFF1F;
}
.sidebar_language .modal-header {
   border-bottom: 1px solid #2F3A55;
}
.customModal1 .modal-content {
  background: #352A19;
  box-shadow: inset 0px 2px 8px 0px #FFFFFF1F;
}

.customModal1 .modal-header {
  border-bottom: 1px solid #45391F;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-radius: 30px 30px 0px 0px;
}

.customModal1 .modal-title {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

.customModal1 .modal-header .btn-close {
  margin: 0;
}

.verifyPassword .modal_layout {
  align-items: center !important;
}

.verifyPassword .modal-content {
  border-radius: 15px 15px 15px 15px;
}

.ModalReferral .modal_layout {
  align-items: center !important;
}

.ModalReferral .modal-content {
  background: #483A1C;
  border-radius: 15px 15px 15px 15px;
  border-radius: 10px;
}

.ModalReferral .modal-header {
  background: transparent;
  border-bottom: 1px solid #FFFFFF14;
}

/* Language Options */
.language-option, .sidebar_language .language-option{background: #DAC08452;
  display: flex;
  align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  font-size: 14px;
  color: #fff;
  margin: 10px;
  border-radius: 12px;
  background: #373f5451;
  box-shadow: inset 0px 0px 8px 0px #5F3E00;
}
/* .sidebar_language */
.language-option.active {
  background: #483A1C;
  box-shadow: inset 0px 0px 8px 0px #FFFFFF40;
  justify-content: space-between;
}

.language-option.active .select_dot {
  display: block;
  background: linear-gradient(90deg, #DAC084 0%, #EDBB4A 100%);
  box-shadow: inset 0px 1px 1px 0px #0908083f;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.language-option .select_dot {
  display: none;
}

.modal_layout {
  display: flex;
  align-items: flex-end;
}

.modal-btn-close {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.modal-header .first-block {
  width: 24px;
  height: 24px;
}

/* Dark Input Styling */
.custom_input {
  border-radius: 12px;
  background: #3B2D1452;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border: 2px solid #FDC654;
  transition: border 0.3s, box-shadow 0.3s;
}

.custom_input::placeholder {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

input:focus-visible {
  outline: none;
}
.input-1 {
  color: #3387ff;
}

.input-1:focus {
  color: #3387ff;
}

.input-2 {
  background: #6A5B3A52;
  border-radius: 12px;
  padding: 13px 15px;
  border: 1px solid #483A1C;
  font-size: 14px;
  color: white;
}
.input-2:focus {
  background: #3B2D1452;
  border: 1px solid #FDC654;
  box-shadow: inset 0px 0px 8px 0px #32B5F240;
}
.input-2::placeholder {
  font-size: 14px;
  color: #8a8a8a;
}
.form-label {
  color: #bbbbbb;
}

/* Connect Button */
.button-1 {
  background: linear-gradient(180deg, #D39B22 0%, #FDC654 100%);
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 50px;
  min-width:70%;
  margin-top: 20px; border-radius: 16px;
  cursor: pointer;
}
.custom-wrapper {
  position: relative;
  width: 100%;
}

.form-label {
  font-size: 14px;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.custom-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #aaa;
}

/* Eye Icon */
.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #aaa;
}

/* .toggle-password:hover {
  color: #2c75f4;
} */

.password_toggle_icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.button-close,
.button-close:hover {
  background: #476a96;
  padding: 10px;
  width: 100%;
  border-radius: 12px;
  color: #ffffff;
  font-size: 12px;
}

.button-confirm,
.button-confirm:hover {
  background: linear-gradient(90deg, #D39B22 0%, #FDC654 100%);
  padding: 10px;
  width: 100%;
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  padding: 13px 0px;
}

.button-account,
.button-account:hover {
  background: #2D1C02;
  padding: 6px 14px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 12px;
  border: 1px solid #DAC084;
}


a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
}

.header-box {
  min-height: 60px;
}

.button-withdraw {
  border-radius: 12px;
  background: #1d263b;
  box-shadow: inset 0px 0px 8px 0px #32b5f23f;
  border: 2px solid #FDC654;
  background: #483A1C;
  font-size: 14px;
  color: #ffffff;
  width: 100%;
  padding: 10px;
  font-weight: 600;
}

.balance-box {
  width: 325px;
  color: #fff;
  background-image: url(./../images/dashavaliabalback.png);
  background-color: #6A5B3A; border-radius: 10px;
  text-align: center;
  min-height: 140px;
  margin-top: 50px !important;
}

.transaction-balance-box {
  position: relative;
  margin-top: 50px !important;
  padding: 30px 0px;
}

.transaction-balance-box .transaction_bg_2 {
  position: absolute;
  right: 0px;
  top: -50px;
}

.balance-label {
  font-size: 14px;
}

.balance-value {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0px;
}

.balance-value span {
  font-size: 16px;
  font-weight: 600;
  margin-left: 3px;
}
.investment-box {
  position: relative;
  padding: 12px;
  color: #fff;
  background: url(./../images/dashinvestback.png) no-repeat center/cover;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
}
.investment-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(106, 91, 58, 0.90); 
  z-index: -1;
}
/* GRADIENT BORDER */
.investment-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 4px;
  background: linear-gradient( 120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}



.investment-box .first-block {
  padding-top: 10px;
  padding-left: 20px;
  align-content: center;
}

.investment-box .second-block {
  padding: 10px 10px 0px 0px !important;
}

.investment-label {
  font-size: 14px;
  margin-bottom: 0px;
}

.investment-value {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0px;
  margin-top: 15px;
}

.investment-value span {
  font-size: 16px;
  font-weight: 600;
  margin-left: 3px;
}

.investment-percentage {
  font-size: 12px;
  color: #ffffffaf;
}

.investment-percentage span {
  font-size: 12px;
  color: #FFD400 !important;
  background: linear-gradient(90deg, #5386fe 0%, #32b5f2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-left: 3px;
}

.investment-btn {
  border-radius: 8px;
  background: #1E1F2066;
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

/* Coin image */
.coin-image img {
  width: 78px; height: 78px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-menu {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 5%);
  max-width: 380px;
  background: #2B1E0B;
  border-radius: 20px 20px 0px 0px;
  display: flex;
  justify-content: space-around;
  padding: 20px 10px;
  box-shadow: 0 4px 15px #231602;
  backdrop-filter: blur(10px);
  gap: 5px;
}
.menu-item {
  flex: 1;
  text-align: center;
  /* color: #9aa0b3; */
  color: #635536;
  text-decoration: none;
  font-size: 12px;
  padding: 8px 0;
  transition: all 0.3s ease;
  justify-items: center;
}

.menu-item img {
  display: block;
  margin-bottom: 5px;
}

/* Active state */
.menu-item.active {
  color: #DAC084;
}
/* .announcement_modal .modal-content{width: 345px;} */
.announcement_modal .modal_layout {
  align-items: center !important;
}

.announcement_modal .modal-content {
  border-radius: 16px;
  background: #483A1C;
  border: 2px solid #D39B22;
  margin: 20px 0px;
}

.announcement_modal .modal-dialog {
  max-height: 100vh;
  overflow: auto;
}

.announcement-header {
  width: auto;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 600;
  padding: 6px 18px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(90deg, #D39B22 0%, #FDC654 100%);
  font-size: 16px;
}

.announcement-close-btn {
  justify-self: flex-end;
}

.announcement-close-btn {
  width: 32px; display: flex; justify-content: center; align-items: center;
  height: 32px; background: #30240A; padding: 5px; border-radius: 50px;
}

.announcement_not_found {
  text-align: center;
}

.announcement_not_found img {
  width: 100px;
  height: 100px;
}

.announcement_not_found .font-14 {
  font-size: 14px;
  color: rgb(255 255 255 / 60%);
}

.announcement_list {
  background: #FFFFFF33;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #FFFFFF33;
  margin: 10px 0px;
  display: block;
  color: #fff;
  cursor: pointer;
}

.announcement_list .title {
  font-size: 14px;
}

.announcement_list .date {
  font-size: 12px;
  color: #999999;
  text-align: right;
  margin-top: 5px;
}

.announcement_modal_detail .modal_layout {
  align-items: center !important;
}

.announcement_modal_detail .modal-content {
  border-radius: 15px 15px 15px 15px;
  background:#6A5B3A;
  border: 1px solid #FDC654;
  margin: 20px 0px;
}

.folder-modal {
  position: relative;
  border: 2px solid #FDC654;
  background: #816F48;
  border-radius: 18px;
  padding: 18px 16px 16px;
  min-height: 700px;
  color: #fff;
  background-size: contain;
  overflow: auto;
}

.folder-label {
  position: absolute;
  top: 10px;
  left: 22px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 14px;
}

.folder-close {
  width: 32px;
  height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    background: #30240A;
    padding: 5px;
    border-radius: 50px;
  position: absolute;
  top: 5px;
  right: 12px;
  text-align: center;
  cursor: pointer;
}
.modal-dialog-scrollable .modal-content {
  max-height: 190%;
}
.folder-body {
  margin-top: 40px;
  max-height: max-content;
  overflow-y: auto;
  padding: 15px;
}

.folder-body::-webkit-scrollbar {
  width: 6px;
}

.folder-body::-webkit-scrollbar-thumb {
  background: rgba(74, 181, 253, 0.6);
  border-radius: 6px;
}

.folder-body div {
  padding-block: 10px;
}

.folder-body .detail-title {
  font-size: 14px;
}

.folder-body .detail-date {
  font-size: 12px;
}

.folder-body .detail-desc p {
  font-size: 12px;
  line-height: 20px;
}

.deposit_label {
  font-size: 14px;
}

.deposit_amount {
  position: relative;
  width: 100%;
}

.deposit_usdt {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.withdraw_label {
  font-size: 14px;
}

.withdraw_amount {
  position: relative;
  width: 100%;
}

.withdraw_usdt {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 12px;
  color: #ffffff;
}

.withdrow_balance {
  font-size: 14px;
}

.withdrow_balance .amount {
  font-size: 14px;
  color: #FFD400;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #483A1C;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

/* Sidebar Active */
.sidebar.active {
  right: 0;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

.sidebar .card {
  background: url(../images/sidebarback.png) no-repeat center center;
  background-size: cover;
  border-radius: 0px;
  padding: 30px 10px;
  text-align: center;
  color: white;
  width: 100%;
}

.sidebar .avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
}

.sidebar .avatar img {
  width: 100%;
  height: 100%;
}

.sidebar .username {
  font-size: 14px;
  margin-bottom: 8px;
}

.sidebar .status {
  display: inline-block;
  background: transparent;
  color: #EDAC1E;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
  width: fit-content;
  align-self: anchor-center;
  border: 1px solid #EDAC1E;
}

.sidebar .info,
.sidebar .info a {
  font-size: 12px;
  display: flex;
  align-self: flex-start;
  align-items: center;
}

.sidebar .info span {
  margin-left: 5px;
}

.sidebar .info span img {
  width: 16px;
  height: 16px;
  margin-left: 5px;
  margin-bottom: 3px;
}

/* .sidebar .info a {
    text-decoration: none;
} */

.sidebar .icon {
  font-size: 16px;
  cursor: pointer;
}

/* Menu Items */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.sidebar ul li {
  cursor: pointer;
  transition: background 0.2s;
}

.sidebar ul li a {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  font-size: 14px;
}

.sidebar ul li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar .first-block,
.sidebar .second-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar .first-block img,
.sidebar .second-block img {
  width: 20px;
  height: 20px;
}

.account-box {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 20px 10px;
}

.slider-button-account,
.slider-button-account:hover {
  border-radius: 8px;
  /* background: #1b1e23; */
  padding: 5px 10px;
  color: #ffffff;
  font-size: 12px;
  border: 2px solid #FDC654;
  padding: 9px 13px;
background: #624C22;
}

.disconnect-btn {
  margin: 5px 20px 25px 20px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(90deg, #D39B22, #FDC654);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::before,
.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #D39B22 0%, #FDC654 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
}

.section-title::after {
  transform: scaleX(-1);
  /* mirror the shape */
}
.investhistory-header {
  font-size: 16px;
  font-weight: 600;
}
.custom-table-main {
  display: flex;
  justify-content: center;
}

.custom-table {
  width: 90%;
  max-width: 800px;
  border-collapse: separate;
  border-spacing: 0 15px;
  color: #fff;
}

.custom-table thead tr {
  background: #061128;
  color: #fff;
  text-align: left;
  border: 2px solid #FDC654;
  border-radius: 5px; background: linear-gradient(90deg, #D39B22 0%, #FDC654 100%);
}

.custom-table thead th {
  padding: 10px;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 0px;
  font-weight: 400;
  color: #fff;
}

.custom-table tbody tr {
  border-radius: 16px; border: 1px solid #443313;
  box-shadow: inset 0px 0px 8px 0px #FAC3511A;
}

.custom-table tbody td {
  padding: 10px;
}

.custom-table tbody tr td:first-child {
  border-radius: 12px 0 0 12px;
  text-align: center;
}

.custom-table tbody tr td:last-child {
  border-radius: 0 12px 12px 0;
  text-align: right;
}
.custom-table tbody tr {
  font-size: 12px;
  font-weight: 500;
}
.transaction_not_found {
  text-align: center;
}

.transaction_not_found img {
  width: 100px;
  height: 100px;
}

.transaction_not_found .font-14 {
  font-size: 14px;
  color: #FFFFFF;
}

.invest_box {
  position: relative;
}

.invest_btn_box {
  background: linear-gradient(90deg, #D39B22 0%, #FDC654 100%);
  box-shadow: 0px 4px 4px 0px #00000059;
  padding: 5px 10px;
  width: auto;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.invest_title_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.invest_label {
  font-size: 12px;
}

.invest_title_row a {
  color: #FAC351;
  font-size: 12px;
  font-weight: 500;
}

.invest_title_row a img {
  width: 12px;
  height: 12px;
}

.third-space {
  width: 24px;
  height: 24px;
}

.invest_td_1 {
  text-align: left !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
}

.invest_td_1 .date {
  color: #D59D24;
  font-size: 12px;
}

.invest_td_2 {
  color: #FAC351;
  font-size: 16px;
  font-weight: 600;
}

.invest_td_3 {
  color: #ffffff !important;
  font-size: 10px;
}

.invest_td_3 img {
  width: 10px;
  height: 10px;
}

.invest_td_3.invest_success {
  color: #27cf2c !important;
  font-size: 13px;
}

.invest_td_3.invest_failure {
  color: #f5393c !important;
  font-size: 13px;
}

.invest_td_3.under_review {
  color: #f58139 !important;
  font-size: 13px;
}

.margin-bottom-100 {
  margin-bottom: 100px;
}

.friends_list_1 {
  margin: 20px 0px 15px 0px;
  display: flex;
  align-items: center;
  font-size: 12px;
  justify-content: space-between;
}

.friends_list_1 .label_text {
  display: flex;
  font-size: 12px;
  color: #b0b0b0;
  font-weight: 600;
}

.friends_list_1 .label_text span {
  color: #FFD400;
}

.friends_list_2 {
  margin: 10px 0px 0px 0px;
}

.friends_list {
  margin: 30px 0px 0px 0px;
}

.friends_list .tab-container {
  display: flex;
  background: #3f3318;
  padding: 6px;
  border-radius: 12px;
}

.friends_list .tab {
  flex: 1;
  padding: 12px 0px;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #EFE7D7;
  cursor: pointer;
  transition: all 0.3s ease;
}

.friends_list .tab.active {
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(90deg, #D39B22 0%, #FDC654 100%);
}

.friends_list .tab-content {
  display: none;
}

.friends_list .tab-content.active {
  display: block;
}

.friends_list_not_found {
  text-align: center;
}

.friends_list_not_found img {
  width: 100px;
  height: 100px;
}

.friends_list_not_found .font-14 {
  font-size: 14px;
  color: rgb(255 255 255 / 60%);
}

.friends_list .card-list {
  width: 100%;
  max-width: 600px;
}

.friends_list .card {
  display: flex;
  align-items: center;
  flex-direction: row;
   background: #3d3116;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.friends_list .avatar {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 8px;
  border: 2px solid #FDC654;
}

.friends_list .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friends_list .badge {
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(0 0 0 / 55%);
  color: #fff;
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 0px;
  width: 100%;
  height: 30px;
  font-weight: 500;
}

.friends_list .info {
  display: flex;
  flex-direction: column;
}

.friends_list .info .id {
  color: #FFD400;
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 12px;
}

.friends_list .info .time {
  font-size: 10px;
  font-weight: 600;
  color: #AD8636;
}

.friends_list .tree {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.friends_list {
  --avatar-size: 60px;
  --pad-left: 60px;
  --dot-size: 12px;
}

.friends_list .tree {
  position: relative;
}

.friends_list .avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
}

.friends_list .tree > .card:first-child {
  position: relative;
  margin-left: 20px;
  /* same horizontal offset as children */
}

.friends_list .tree > .card:first-child::before {
  content: "";
  position: absolute;
  left: calc(-1 * (25px / 2) - (var(--dot-size) / 2));
  top: calc((var(--avatar-size) / 2) - (var(--dot-size) / 2));
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: #FDC654;
  border: 3px solid #a58b555e;
  box-sizing: border-box;
}

.friends_list .tree::before {
  content: "";
  position: absolute;
  left: calc(var(--pad-left) / 8 - 1px);
  top: calc(var(--avatar-size) / 2);
  bottom: calc(var(--avatar-size) / 0.9);
  width: 2px;
  background:#EDAC1E;
  border-radius: 2px;
  height: 110px;
}
.friends_list .tree::after {
  content: "";
  position: absolute;
  left: calc(var(--pad-left) / 8); /* vertical line ni position sathe */
  top: calc(
    var(--avatar-size) / 0.43
  ); /* jya thi horizontal line niklavi che */
  width: 53px; /* aadhi line ni lambai */
  height: 2px;
  background:#EDAC1E;
  border-radius: 2px;
}

.friends_list .tree ul {
  position: relative;
  padding-left: var(--pad-left);
  margin: 0;
  list-style: none;
}

.friends_list .tree ul::before {
  content: "";
  position: absolute;
  left: calc(var(--pad-left) / 2 - 1px);
  top: calc(var(--avatar-size) / 1.3);
  bottom: calc(var(--avatar-size) / 0.9);
  width: 2px;
  background: linear-gradient(90deg, #D39B22 0%, #FDC654 100%);
  border-radius: 2px;
}

.friends_list .tree li {
  position: relative;
  margin: 18px 0;
}

.friends_list .tree li::before {
  content: "";
  position: absolute;
  left: calc(-1 * (var(--pad-left) / 2));
  top: calc(var(--avatar-size) / 2);
  width: calc(var(--pad-left) / 2);
  height: 2px;
  background: linear-gradient(90deg, #D39B22 0%, #FDC654 100%);
  border-radius: 2px;
}

.friends_list .tree li::after {
  content: "";
  position: absolute;
  left: calc(-1 * (var(--pad-left) / 2) - (var(--dot-size) / 2));
  top: calc((var(--avatar-size) / 2) - (var(--dot-size) / 2));
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: #FDC654;
  border: 3px solid #a58b555e;
  box-sizing: border-box;
}

.show-qrcode {
  width: fit-content;
  padding: 10px;
  background: #fff;
  border-radius: 5px;
  justify-self: center;
  margin: 10px;
}

.show-qrcode img {
  width: 120px;
  height: 120px;
  cursor: pointer;
}
