@import url("fonts.css");
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=ADLaM+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

: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: radial-gradient(circle at top, #0d1b3d, #000000); */
  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);
}

.auth-container {
  background: white;
}
.login-welcometext{font-family: "Abhaya Libre", serif; font-size: 22px; color: #373737;}
.login-exchangtext{font-family: "ADLaM Display", system-ui; font-size: 32px; color: #373737;}

.auth-container .register-input {
  border-radius: 12px;
  background: #000000;
  border: 1.5px solid #4c5871;
  width: 100%;
  padding: 15px;
  font-size: 14px;
  color: #6179ab;
}
.auth-container .register-input::placeholder {
  font-size: 14px;
  color: #6179ab;
}
.home-container { position: relative; background: white; overflow: hidden;   }
.home-container::before { content: ""; position: absolute; width: 159px; height: 159px; left: 130px; top: 0px; background: #FFE194; border-radius: 50%; filter: blur(82px); z-index: 1;}
/* BIG CIRCLE */
.home-container::after { content: ""; position: absolute; width: 216px; height: 216px; left: 0px; top: 109px; background: #FFBC8C; border-radius: 50%; filter: blur(82px); z-index: 1;}
.home-container > * { position: relative; z-index: 2;}

::-webkit-scrollbar {display: none;}
html {scrollbar-width: none; /* hides scrollbar */}
/* For IE/Edge (legacy) */
html { -ms-overflow-style: none; /* IE/Edge */}

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: #fff;
  letter-spacing: -0.4px;
}
.deposit_modal input:focus,
.withdraw_modal input:focus {
  background: #fff;
  border: 1px solid #49a5f5;
}

.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(90deg, #F9B004 0%, #F56906 100%); color: #FFFFFF; border: none; border-radius: 50px; font-family: "Nunito", sans-serif; font-size: 16px; font-weight: 600; padding: 16px 70px; cursor: pointer;}

/* Language Dropdown */
.lang-select { background: #FFDE42; color: #9C8102; border: 1px solid #DAC084; box-shadow: inset 0px 0px 8.6px 4px #DAC084; 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/icon_Expand.png"); 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:first-child:active, .lang-select:focus, .lang-select:focus-visible { border: 1px solid #DAC084 !important; box-shadow: inset 0px 0px 8.6px 4px #DAC084 !important;}
.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;}
.customModal1 .modal-content { background: #FFFFFF; border-radius: 40px 40px 0px 0px;}
.customModal1 .modal-header { color: #111827; border-bottom: none; display: flex; flex-direction: row; justify-content: space-between; border-radius: 20px 20px 0px 0px;}
.customModal1 .modal-title { font-weight: 600; font-size: 20px; color: #111827;}

.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 {
  border-radius: 15px 15px 15px 15px;
  border-radius: 10px;
  box-shadow: inset 0 0 15px rgb(255 255 255 / 50%);
}

.ModalReferral .modal-header {
  background: transparent;
}

/* Language Options */
.language-option { display: flex; align-items: center; padding: 14px 20px; cursor: pointer; font-size: 16px; color: #111827; margin: 10px;}
.language-option span{color: #6B7280;}
.language-option.active { background: #f3f3f3; border-radius: 16px; justify-content: space-between; }
.language-option.active .select_dot {display: block;}
.language-option .select_dot {display: none;}

.modal_layout { display: flex; align-items: flex-end;}
.modal-btn-close { background: transparent; font-weight: 600; font-size: 16px; border: none;}

/* Dark Input Styling */
.custom_input {
  border-radius: 12px;
  background: #373f5451;
  box-shadow: inset 0px 0px 8px 0px #F9B0043f;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border: 2px solid #395eb5;
  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: #F56906;
}

.input-1:focus {
  color: #F56906;
}

.input-2 {
  /* background: #373F5451; */
  border-radius: 12px;
  background: #ffffff;
  padding: 13px 15px;
  box-shadow: inset 0px 0px 8px 0px #F9B0043f;
  border: 1px solid #232838;
  font-size: 14px;
  color: #F56906;
}
.input-2:focus {
  background: #ffffff;
  border: 1px solid #f56e06;
  box-shadow: inset 0px 0px 8px 0px #f56e06;
}
.input-2::placeholder {
  font-size: 14px;
  color: #8a8a8a;
}
.form-label {
  color: #000000;
}

/* Connect Button */
.button-1 {
  background: url("../images/button_1.svg") no-repeat center center;
  background-size: 100% 100%;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 50px;
  min-width: 100%;
  margin-top: 20px;
  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;
}

.custom-icon:hover {
  color: #2c75f4;
}

/* 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, .button-withdraw{ background: #FFFFFF; padding: 10px; width: 100%; border-radius: 25px; color: #26273C; font-size: 14px; font-weight: 600; border: none; padding: 10px 20px; display: flex; gap: 15px; align-items: center;}
.button-disconnect{background: linear-gradient(90deg, #F9B004 0%, #F56906 100%); border: none; width: 100%; color: #FFFFFF; border-radius: 50px; padding: 13px;}

.button-account, .button-account:hover { background: #FFDE42; padding: 6px 14px; border-radius: 20px; color: #9C8102; font-size: 12px; border: none;}

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

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

.balance-box { width: 100%; padding: 0px 70px; color: #252525; background: url(./../images/home_box_1.svg) no-repeat center center; background-size: contain; min-height: 140px;}

.transaction-balance-box {
 text-align: center;
  border-radius: 16px;
  position: relative;
  margin-top: 50px !important;
}

.transaction-balance-box .transaction_bg_2 {
  position: absolute;
  right: 40px;
  top: -31px;
}

.transaction-balance-box .transaction_bg_2 img {
  width: 100px;
  height: 100px;
}

.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: 20px 10px; background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 100%); box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.04), inset 0px 4px 4px rgba(255, 255, 255, 0.15); color: #000; border-radius: 16px; overflow: hidden; }
.investment-box::after { content: ""; position: absolute; top: -40%; right: -30%; width: 180px; height: 180px; background: linear-gradient( 180deg,  #FFDE42 0%,  rgba(255, 255, 255, 0) 100%); border-radius: 50%; filter: blur(60px); z-index: 1;}
.investment-box > * { position: relative; z-index: 2;}
.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: #000000;}
.investment-percentage span { font-size: 12px; color: #58BD7D; margin-left: 3px;}
.investment-btn { border-radius: 50px; background: #FFDE42; color: #050505; font-size: 12px; font-weight: 500; padding: 5px; margin-bottom: 15px;  transition: all 0.3s ease;}

.footer-menu { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: calc(100% - 5%); max-width: 370px; height: 88px; background: #fff; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid #DCDCDC; overflow: visible;}
.menu-item { flex: 1; text-align: center; text-decoration: none; color: #CACACA; font-size: 12px; padding: 8px 0; position: relative;}
.menu-item img { display: block; margin: 0 auto 6px;}
.menu-item.active::before { content: ""; position: absolute; top: -14px;  left: 50%; transform: translateX(-50%); width: 28px; height: 4px; background: linear-gradient(   90deg,   #F9B004 0%,   #F56906 100% );}
.menu-item.active span{background: linear-gradient(90deg, #F9B004 0%, #F56906 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;}

.announcement-header { width: auto; position: absolute; top: -18px; left: 50%; transform: translateX(-50%);font-weight: 600; padding: 6px 18px; border: none; font-size: 16px; background: linear-gradient(90deg, #F9B004 0%, #F56906 100%); border: none; color: #FFFFFF; border-radius: 50px;}
.announcement_modal .modal_layout {align-items: center !important;}
.announcement_modal .modal-content { border-radius: 16px; background: #111110; margin: 20px 0px;}
.announcement-close-btn {justify-self: flex-end;}
.announcement_not_found {text-align: center;}
.announcement_not_found .font-14 { font-size: 14px; color: #FFFFFF;}
.announcement_not_found h6{font-size: 24px; color: #FFFFFF;}

.announcement_list {
  background: #0e182d;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 20%);
  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: rgb(29 38 59 / 90%);
  border: 1px solid #5386fe;
  box-shadow: inset 0 0 10px rgba(52, 190, 243, 0.6),
    0 0 10px rgba(44, 117, 244, 0.5);
  margin: 20px 0px;
}

.folder-modal {
  position: relative;
  background: url(./../images/announcement_detail_bg.svg) no-repeat center /
    100% 100%;
  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 {
  position: absolute;
  top: 5px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  line-height: 28px;
  font-size: 20px;
  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;
  background: linear-gradient(180deg, #1e3c72, #2a5298);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.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: #000000;
}

.sidebar { position: fixed; top: 0; right: -300px; width: 301px; height: 100%; background: #F3F5F6; transition: right 0.3s ease-in-out; z-index: 1000; overflow-y: auto;}
.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 { border-radius: 0px; padding: 25px; text-align: center; width: 100%; background: #F3F5F6;}
.sidebar .avatar { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px;}
.sidebar .avatar img { width: 100%; height: 100%;}
.sidebar .username {color: #323131; font-size: 14px; margin-bottom: 8px;}
.sidebar .status { display: inline-block; background: #EFDEE2; padding: 2px 8px; border-radius: 50px; font-size: 12px; font-weight: 500; margin-bottom: 20px; width: fit-content; align-self: anchor-center;}
.sidebar .status p{background: linear-gradient(90deg, #F9B004 0%, #F56906 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;} 
.sidebar .info, .sidebar .info a { color: #171717; font-size: 12px; display: flex; align-self: flex-start; align-items: center;}
.sidebar .info span {margin-left: 5px;}
.sidebar .info span img { margin-left: 5px; margin-bottom: 3px;}
.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: #000000; font-size: 14px;}
.sidebar .first-block, .sidebar .second-block { display: flex; align-items: center; gap: 10px;}

.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: #F9FAFB; padding: 5px 10px; color: #191919; font-size: 12px; padding: 9px 13px;}

.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: #000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 20px;
}


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

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

.custom-table thead tr {
  background: #F0F0F0;
  color: #000000;
  text-align: left;
  border: 2px solid #395eb5;
  border-radius: 5px;
}

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

.custom-table tbody tr {
  border-radius: 16px;
  border: 2px solid #fffafa33;
  box-shadow: inset 0px 0px 8px 0px #ffe3d0;
  /* box-shadow:
        inset 0 0 15px rgba(41, 61, 90, 100%),
        inset 0 0 30px rgba(41, 57, 90, 100%);
    background: rgb(0 0 0 / 20%); */
}

.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: rgb(255 255 255 / 60%);
}

.invest_box {
  position: relative;
  width: 100%;
  text-align: center;
}

.invest_btn_box {
  background: linear-gradient(90deg, #3571ff 0%, #119cdd 100%);
  box-shadow: 0px 4px 4px 0px #00000059;
  padding: 5px 10px;
  width: auto;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  position: absolute;
  right: 40px;
  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: #000000;
  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: #94a3b8;
  font-size: 12px;
}

.invest_td_2 {
  color: #F9B004;
  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: #000000;
  font-weight: 600;
}

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

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

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

.friends_list .tab-container {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

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

.friends_list .tab.active {
  color: #000000;
  border-radius: 20px;
  background: linear-gradient(90deg, #F9B004 0%, #F56906 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: #F571061A;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.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: #F9B004;
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 12px;
}

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

.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;
  --line-gradient:  linear-gradient(90deg, #F9B004 0%, #F56906 100%);
  --dot-border-color: #F56906;
}

.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: #F56906;
  border: 2.5px solid var(--dot-border-color);
  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: var(--line-gradient);
  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: var(--line-gradient);
  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: var(--line-gradient);
  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(to right, #F56906, #4a6eff);
  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: #F56906;
  border: 2.5px solid var(--dot-border-color);
  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;
}
