/* Sinqlo shared page styles */


body.sinqlo-page {
--page: #f6f9ff;
--card: #ffffff;
--sidebar: #eef3ff;
--mint: #dbe6ff;
--mint-soft: #f4f7ff;
--deep: #1a55e3;
--deep-2: #ff0854;
--deep-3: #5E6EED;
--success: #00D284;
--info: #0DCAF0;
--warning: #ffb347;
--danger: #ff4d6d;
--gradient:
linear-gradient(
135deg,
#1a55e3 0%,
#5E6EED 45%,
#ff0854 100%
);
--gradient-soft:
linear-gradient(
135deg,
rgba(26, 85, 227, 0.10) 0%,
rgba(94, 110, 237, 0.08) 45%,
rgba(255, 8, 84, 0.08) 100%
);

--ink: #111827;

--muted: #6b7280;

--line: #e7ecf7;

--shadow:
0 18px 45px rgba(26, 85, 227, 0.08);

--shadow-lg:
0 25px 60px rgba(26, 85, 227, 0.12);
  color: var(--ink);
  background: var(--page);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
}

[class^="ri-"], [class*=" ri-"] {
  font-weight: normal;
}

.link {
    text-decoration: none;
    color: var(--deep);
    font-size: 11px;
    font-weight: 600;
}
.link:hover {
  text-decoration: underline;
}

.logo-wrap {
    max-width:120px;
}

body.sinqlo-page .app-sidebar {
  background: var(--sidebar);
}

body.sinqlo-page .main-wrap,
body.sinqlo-page .left-column,
body.sinqlo-page .middle-column,
body.sinqlo-page .right-column {
  min-width: 0;
}
 
body.sinqlo-page .brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  grid-template-columns: repeat(2, 10px);
  place-content: center;
  gap: 5px;
}

body.sinqlo-page .brand-mark span,
body.sinqlo-page .chip-logo span {
  width: 10px;
  height: 10px;
  border-radius: 10px 10px 2px 10px;
  background: var(--deep);
}

body.sinqlo-page .sidebar-link {
  min-height: 40px;
    border-radius: 999px;
    color: #68716f;
    font-weight: 400;
    
}

body.sinqlo-page .sidebar-link i {
  width: 24px;
  font-size: 1.35rem;
  line-height: 1;
}

body.sinqlo-page .sidebar-link.active {
  color: var(--deep);
  background: var(--mint);
}

body.sinqlo-page .sidebar-nav-separator {
  height: 1px;
  margin: 0.45rem 1rem;
  background: rgba(103, 58, 183, 0.12);
}

body.sinqlo-page .promo-card,
body.sinqlo-page .bank-card,
body.sinqlo-page .panel.desgn-bg {
  color: #fff;
  background: var(--deep);
}

body.sinqlo-page .panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

body.sinqlo-page .bank-card {
  min-height: 230px;
}

body.sinqlo-page .chip-logo {
  display: grid;
  grid-template-columns: repeat(2, 12px);
  gap: 6px;
}

body.sinqlo-page .chip-logo span {
  width: 12px;
  height: 12px;
  background: var(--mint);
}

body.sinqlo-page .bank-value,
body.sinqlo-page .money-value,
body.sinqlo-page .metric-value {
  color: var(--deep);
  font-weight: 500;
  letter-spacing: -0.05em;
}

body.sinqlo-page .bank-value {
  color: #fff;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
}

body.sinqlo-page .money-value {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
}

body.sinqlo-page .metric-value {
  color: var(--ink);
  font-size: clamp(1.2rem, 3vw, 1.4rem);
}

body.sinqlo-page .metric-value + p {
  font-size: clamp(0.7rem, 3vw, 0.8rem);
}

body.sinqlo-page .soft-box,
body.sinqlo-page .circle-btn,
body.sinqlo-page .metric-icon,
body.sinqlo-page .small-icon {
  color: var(--deep);
  background: var(--mint-soft);
}

body.sinqlo-page .circle-btn,
body.sinqlo-page .metric-icon,
body.sinqlo-page .small-icon,
body.sinqlo-page .avatar,
body.sinqlo-page .invoice-icon {
  display: grid;
  place-items: center;
}

body.sinqlo-page .circle-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  font-size: 1.25rem;
}

body.sinqlo-page .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient( 120deg, #1a55e3 0%, #5E6EED 45%, #ff0854 100% );
  font-weight: 800;
}

body.sinqlo-page .stat-card {
  min-height: 112px;
}

body.sinqlo-page .stat-card .metric-icon {
  width: 55px;
  height: 55px;
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 1.7rem;
}

/* Wallet quick actions: equal columns, aligned icons (single toolbar row) */
body.sinqlo-page .quick-action-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

body.sinqlo-page .quick-action-strip__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 65px;
  min-width: 0;
  margin: 0;
  padding: 0.65rem 0.35rem;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 0;
  background: transparent;
  color: var(--deep);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.sinqlo-page .quick-action-strip__btn:last-child {
  border-right: 0;
}

body.sinqlo-page .quick-action-strip__btn:hover {
  background: rgba(255, 255, 255, 0.38);
}

body.sinqlo-page .quick-action-strip__btn:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: -2px;
  z-index: 1;
}

body.sinqlo-page .quick-action-strip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 1.125rem;
  font-size: 1rem;
  line-height: 1;
}

body.sinqlo-page .quick-action-strip__icon i {
  display: block;
  font-size: inherit;
  line-height: 1;
  vertical-align: 0;
}

body.sinqlo-page .quick-action-strip__label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.sinqlo-page .btn-mint {
  border: 0;
  color: var(--deep);
  background: var(--mint);
  font-weight: 400;
  font-size: 0.7rem;
}

body.sinqlo-page .btn-mint:hover {
  color: var(--deep);
  background: #a8ee88;
}

body.sinqlo-page .btn-deep {
  border: 0;
  color: #fff;
  background: var(--deep);
  font-weight: 400;
  font-size: 0.7rem;
}

body.sinqlo-page .btn-deep:hover {
  color: #fff;
  background: var(--hover-deep);
}

body.sinqlo-page .progress {
  height: 11px;
  background: var(--mint);
}

body.sinqlo-page  .profile-info .btn {
font-size: 0.7rem;
}

body.sinqlo-page .progress-bar {
  background: var(--deep);
}

body.sinqlo-page .muted {
  color: var(--muted);
}

body.sinqlo-page .trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--deep);
  background: var(--mint);
  font-size: 0.75rem;
  font-weight: 800;
}

body.sinqlo-page .trend.down {
  color: #b64754;
  background: var(--danger-soft);
}

.v2-metric-grid .num-txt {
font-size:0.75rem;
}

body.sinqlo-page .form-control,
body.sinqlo-page .form-select {
  min-height: 44px;
  border: 1px solid #e7eaf0;
  border-radius: 6px;
  background-color: #f7f8fb;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 400;
}

body.sinqlo-page .form-control::placeholder {
  color: #9ca3af;
}

body.sinqlo-page .form-control:focus,
body.sinqlo-page .form-select:focus {
  border-color: rgba(103, 58, 183, 0.38);
  background-color: #f7f8fb;
  box-shadow: 0 0 0 2px rgba(103, 58, 183, 0.12);
}

body.sinqlo-page .profile-code-row {
  display: flex;
  align-items: stretch;
  border: 1px solid #d7dce6;
  border-radius: 6px;
  background: #f1f3f7;
  overflow: hidden;
}

body.sinqlo-page .profile-code-input.form-control {
  border: 0;
  border-radius: 0;
  min-height: 36px;
  padding: 0 15px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6f6f6f;
  box-shadow: none;
}

body.sinqlo-page .profile-code-input.form-control:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.sinqlo-page .profile-code-apply {
      border: 0;
    border-radius: 5px;
    margin: 6px;
    background: var(--deep);
    color: #fff;
    font-weight: 500;
    font-size: 0.68rem;
    padding: 0 10px;
}

body.sinqlo-page .profile-code-apply:hover,
body.sinqlo-page .profile-code-apply:focus {
  background: #5f35b0;
  color: #fff;
}

body.sinqlo-page .search-control {
  min-height: 44px;
  border: 1px solid #e7eaf0;
  border-radius: 6px;
  background: #f7f8fb;
}

body.sinqlo-page .filter-btn,
body.sinqlo-page .select-pill {
  min-height: 42px;
  border: 1px solid #e7eaf0;
  border-radius: 6px;
  color: var(--deep);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 500;
}

body.sinqlo-page .filter-btn {
  min-height: 44px;
}

body.sinqlo-page .cashflow-chart {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
}

body.sinqlo-page .axis {
  display: grid;
  height: 230px;
  color: var(--muted);
  font-size: 0.82rem;
}

body.sinqlo-page .bars-wrap {
  position: relative;
  min-width: 560px;
}

body.sinqlo-page .grid-lines {
  position: absolute;
  inset: 0 0 28px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
}

body.sinqlo-page .grid-lines span {
  border-top: 1px solid var(--line);
}

body.sinqlo-page .bars {
  position: relative;
  z-index: 1;
  display: grid;
  height: 230px;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 18px;
  padding-bottom: 28px;
}

body.sinqlo-page .bar-month {
  display: grid;
  height: 180px;
  align-items: center;
  justify-items: center;
}

body.sinqlo-page .income,
body.sinqlo-page .expense {
  width: 34px;
  border-radius: 6px;
}

body.sinqlo-page .income {
  align-self: end;
  background: var(--deep);
}

body.sinqlo-page .expense {
  align-self: start;
  background: var(--mint);
}

body.sinqlo-page .month-labels {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

body.sinqlo-page .donut {
  position: relative;
  width: 192px;
  height: 192px;
  margin: 0 auto;
  border-radius: 50%;
  background:
  conic-gradient(var(--deep) 0 60%, var(--mint) 60% 75%,
  #edf2eb 75% 87%,
  #d9dddb 87% 95%,
  #eff1ef 95% 100%);
}

/* Income: Trading $150 + Working $78 + USDT $50 = $278 ÃƒÂ¢Ã¢â‚¬ Ã¢â‚¬â„¢ ~54% / ~28% / ~18% */
body.sinqlo-page .donut.donut--income {
  background: conic-gradient(
    var(--deep-2) 0 54%,
    var(--deep-3) 54% 82%,
    #edf2eb 82% 100%
  );
}

body.sinqlo-page .donut::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: inherit;
  background: #fff;
}

body.sinqlo-page .donut-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--deep);
  text-align: center;
}

body.sinqlo-page .percent {
  display: inline-block;
  min-width: 48px;
  padding: 9px 0;
  border-radius: 9px;
  background: #eef2ee;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

body.sinqlo-page .percent.dark {
  color: #fff;
  background: var(--deep-2);
}

body.sinqlo-page .percent.green {
  color: #fff;
  background: var(--deep-3);
}

body.sinqlo-page .tabs-pill {
  width: fit-content;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mint-soft);
}

body.sinqlo-page .tabs-pill .btn {
  min-width: 104px;
  border: 0;
  border-radius: 12px;
  color: var(--deep);
  font-weight: 400;
  font-size: 12px;
}

body.sinqlo-page .tabs-pill .btn.active {
  color: #fff;
  background: var(--deep);
}

body.sinqlo-page .table {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--line);
}

body.sinqlo-page .table thead th {
  color: var(--ink);
  background: var(--mint-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

body.sinqlo-page .invoice-table-card {
  overflow: hidden;
}

body.sinqlo-page .invoice-table-card .table {
  min-width: 1080px;
}

body.sinqlo-page .invoice-table-card .table thead th {
  padding-block: 18px;
  font-weight: 500;
}

body.sinqlo-page .invoice-table-card .table tbody td {
  padding-block: 15px;
  vertical-align: middle;
}
body.sinqlo-page .invoice-table-card .table tbody td strong {
  font-weight: 400;
}

body.sinqlo-page .invoice-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--deep);
  background: var(--mint);
  font-size: 1.2rem;
}

body.sinqlo-page .check-box {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

body.sinqlo-page .status,
body.sinqlo-page .status-pill {
  display: inline-flex;
  border-radius: 999px;
  font-weight: 500;
}

body.sinqlo-page .status {
  padding: 5px 10px;
  font-size: 0.75rem;
}

body.sinqlo-page .status-pill {
  min-width: 76px;
  justify-content: center;
  padding: 7px 12px;
  font-size: 0.88rem;
}

body.sinqlo-page .failed,
body.sinqlo-page .status-overdue {
  color: var(--danger);
  background: #ffd4dc;
}

body.sinqlo-page .completed,
body.sinqlo-page .status-pending {
  color: var(--deep);
  background: var(--mint);
}

body.sinqlo-page .status-paid {
  color: #fff;
  background: var(--deep);
}

body.sinqlo-page .status-unpaid {
  color: #3e4543;
  background: #cfd3d2;
}

body.sinqlo-page .pending {
  color: #bb9200;
  background: #fff7ce;
}

body.sinqlo-page .page-size,
body.sinqlo-page .page-btn {
  min-width: 44px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  color: var(--deep);
  background: var(--mint-soft);
  font-weight: 700;
}

body.sinqlo-page .page-btn.active {
  color: #fff;
  background: var(--deep);
}

body.sinqlo-page .page-btn.muted-btn {
  color: #c2c8c6;
  background: #f0f1f1;
}

body.sinqlo-page .activity-item {
  position: relative;
}

body.sinqlo-page .activity-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: -18px;
  border-left: 1px solid var(--line);
}

body.sinqlo-page .activity-item .avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 0.78rem;
}

body.sinqlo-page .notification-menu {
  position: relative;
}

body.sinqlo-page .notification-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  width: min(360px, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid #e7eaf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(39, 55, 51, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body.sinqlo-page .notification-dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.sinqlo-page .notification-dropdown__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #eef1f6;
}

body.sinqlo-page .notification-dropdown__header h2 {
  margin: 0 0 0.2rem;
  color: var(--ink);
  font-size: 0.95rem !important;
  font-weight: 600;
  letter-spacing: 0;
}

body.sinqlo-page .notification-dropdown__header p {
  margin: 0;
  color: #8d94a3;
  font-size: 0.7rem;
}

body.sinqlo-page .notification-dropdown__header span {
  flex: 0 0 auto;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: var(--deep);
  background: var(--mint-soft);
  font-size: 0.65rem;
  font-weight: 600;
}

body.sinqlo-page .notification-list {
  max-height: 330px;
  overflow-y: auto;
}

body.sinqlo-page .notification-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #f0f2f6;
  background: #fff;
}

body.sinqlo-page .notification-item.unread {
  background: #fbf9ff;
}

body.sinqlo-page .notification-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--deep);
  background: var(--mint-soft);
  font-size: 1rem;
}

body.sinqlo-page .notification-item h3 {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-size: 0.76rem !important;
  font-weight: 600;
  line-height: 1.3;
}

body.sinqlo-page .notification-item p {
  margin: 0;
  color: #747d8b;
  font-size: 0.68rem;
  line-height: 1.45;
}

body.sinqlo-page .notification-item time {
  display: block;
  margin-top: 0.35rem;
  color: #9ca3af;
  font-size: 0.64rem;
}

body.sinqlo-page .notification-view-all {
      width: 100%;
    min-height: 42px;
    border: 0;
    color: var(--deep);
    background: #f7f8fb;
    font-size: 0.72rem;
    display: block;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    padding-top: 12px;
}

body.sinqlo-page .user-menu__toggle {
  background: var(--deep);
  color: #fff;
}

body.sinqlo-page .user-menu__initials {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}

body.sinqlo-page .user-menu-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 41;
  min-width: 232px;
  overflow: hidden;
  border: 1px solid #e7eaf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(39, 55, 51, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body.sinqlo-page .user-menu-dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.sinqlo-page .user-menu-dropdown__header {
  padding: 1rem;
  border-bottom: 1px solid #eef1f6;
}

body.sinqlo-page .user-menu-dropdown__name {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

body.sinqlo-page .user-menu-dropdown__id {
  display: block;
  margin-top: 0.25rem;
  color: #8d94a3;
  font-size: 0.72rem;
  font-weight: 500;
}

body.sinqlo-page .user-menu-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #f0f2f6;
  transition: background 0.12s ease;
}

body.sinqlo-page .user-menu-dropdown__item:last-child {
  border-bottom: 0;
}

body.sinqlo-page .user-menu-dropdown__item i {
  font-size: 1.1rem;
  color: var(--deep);
}

body.sinqlo-page .user-menu-dropdown__item:hover {
  background: #fbf9ff;
}

body.sinqlo-page .user-menu-dropdown__item--danger {
  color: #b91c1c;
}

body.sinqlo-page .user-menu-dropdown__item--danger i {
  color: #b91c1c;
}

body.sinqlo-page .user-menu-dropdown__item--danger:hover {
  background: #fef2f2;
}



body.sinqlo-page .deposit-stat-card h2,
body.sinqlo-page .deposit-address-header h2,
body.sinqlo-page .deposit-history-header h2 {
  color: var(--ink);
  font-size: 0.95rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.sinqlo-page .deposit-stat-value {
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

body.sinqlo-page .deposit-address-card,
body.sinqlo-page .deposit-history-card {
  overflow: hidden;
}

body.sinqlo-page .deposit-address-header,
body.sinqlo-page .deposit-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid #e7eaf0;
}

body.sinqlo-page .deposit-token-pill {
  flex: 0 0 auto;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(103, 58, 183, 0.28);
  border-radius: 999px;
  color: var(--deep);
  background: var(--mint-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

body.sinqlo-page .deposit-address-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.35rem;
}

body.sinqlo-page .deposit-qr {
  display: grid;
  min-height: 250px;
  place-items: center;
  border: 1px solid #e7eaf0;
  border-radius: 12px;
  background: #fff;
}

body.sinqlo-page .deposit-qr-pattern {
  width: min(210px, 78%);
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, #111 12px, transparent 12px 24px, #111 24px 36px, transparent 36px 48px, #111 48px 60px, transparent 60px),
    linear-gradient(#111 12px, transparent 12px 24px, #111 24px 36px, transparent 36px 48px, #111 48px 60px, transparent 60px),
    repeating-linear-gradient(45deg, #111 0 8px, transparent 8px 16px),
    repeating-linear-gradient(135deg, transparent 0 10px, #111 10px 18px, transparent 18px 28px);
  background-blend-mode: multiply;
  image-rendering: pixelated;
  opacity: 0.96;
}

body.sinqlo-page .deposit-address-content h3 {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

body.sinqlo-page .deposit-address-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

body.sinqlo-page .deposit-address-copy code {
  display: block;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border: 1px solid #e7eaf0;
  border-radius: 8px;
  color: var(--ink);
  background: #f7f8fb;
  font-size: 0.92rem;
  line-height: 1.35;
  white-space: normal;
  word-break: break-all;
}

body.sinqlo-page .deposit-rules {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #596373;
  font-size: 0.95rem;
  line-height: 1.55;
}

body.sinqlo-page .deposit-balance-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(103, 58, 183, 0.24);
  border-radius: 10px;
  color: var(--deep);
  background: var(--mint-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

body.sinqlo-page .deposit-balance-note i {
  font-size: 1rem;
}

body.sinqlo-page .deposit-history-table {
  min-width: 900px;
}

body.sinqlo-page .deposit-history-table thead th {
  padding: 1rem 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.sinqlo-page .deposit-empty-state {
  display: grid;
  min-height: 118px;
  place-items: center;
  color: var(--ink);
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  body.sinqlo-page .deposit-address-body {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .deposit-qr {
    min-height: 220px;
  }
}

@media (max-width: 575.98px) {
  body.sinqlo-page .deposit-address-header,
  body.sinqlo-page .deposit-history-header,
  body.sinqlo-page .deposit-address-copy {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .deposit-address-header,
  body.sinqlo-page .deposit-history-header {
    align-items: flex-start;
    flex-direction: column;
  }

  body.sinqlo-page .deposit-address-copy .btn {
    width: 100%;
  }
}

 

@media (min-width: 992px) {
  body.sinqlo-page .layout-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
  }

  body.sinqlo-page .app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }
}
 

 

@media (min-width: 1200px) and (max-width: 1450px) {
  body.sinqlo-page .tabs-pill .btn {
    min-width: 86px;
  }
}

@media (max-width: 767.98px) {
  body.sinqlo-page .main-wrap {
    padding: 1rem !important;
  }

  body.sinqlo-page .tabs-pill {
    width: 100%;
  }

  body.sinqlo-page .tabs-pill .btn {
    flex: 1;
    min-width: auto;
  }
}

@media (max-width: 575.98px) {
  body.sinqlo-page .income,
  body.sinqlo-page .expense {
    width: 22px;
  }

  body.sinqlo-page .bars {
    gap: 10px;
  }
}

/* Compact density: roughly 20% smaller typography and spacing for dashboard/invoice pages */
body.sinqlo-page {
  font-size: 12px;
}

body.sinqlo-page h1,
body.sinqlo-page .fs-2 {
  font-size: 1.6rem !important;
}

body.sinqlo-page h2,
body.sinqlo-page .fs-4 {
  font-size: 1.15rem !important;
}

body.sinqlo-page h3,
body.sinqlo-page .fs-5 {
  font-size: 1rem !important;
}

body.sinqlo-page .small {
  font-size: 0.7rem !important;
}

body.sinqlo-page .p-5,
body.sinqlo-page .p-xl-5 {
  padding: 2rem !important;
}

body.sinqlo-page .p-4 {
  padding: 1.2rem !important;
}

body.sinqlo-page .p-3 {
  padding: 0.8rem !important;
}

body.sinqlo-page .px-4 {
  padding-right: 1.2rem !important;
  padding-left: 1.2rem !important;
}

body.sinqlo-page .py-3 {
  padding-top: 0.8rem !important;
  padding-bottom: 0.8rem !important;
}

body.sinqlo-page .mb-5 {
  margin-bottom: 2.4rem !important;
}

body.sinqlo-page .mb-4 {
  margin-bottom: 1.2rem !important;
}

body.sinqlo-page .mb-3 {
  margin-bottom: 0.8rem !important;
}

body.sinqlo-page .mt-5 {
  margin-top: 2.4rem !important;
}

body.sinqlo-page .mt-4 {
  margin-top: 1.2rem !important;
}

body.sinqlo-page .gap-4 {
  gap: 1.2rem !important;
}

body.sinqlo-page .gap-3 {
  gap: 0.8rem !important;
}

body.sinqlo-page .gap-2 {
  gap: 0.4rem !important;
}

body.sinqlo-page .row {
  --bs-gutter-x: 1.2rem;
  --bs-gutter-y: 1.2rem;
}

body.sinqlo-page .panel {
  border-radius: 16px;
}

body.sinqlo-page .brand-mark {
  width: 29px;
  height: 29px;
  grid-template-columns: repeat(2, 8px);
  gap: 4px;
}

body.sinqlo-page .brand-mark span,
body.sinqlo-page .chip-logo span {
  width: 8px;
  height: 8px;
}

body.sinqlo-page .chip-logo {
  grid-template-columns: repeat(2, 10px);
  gap: 5px;
}

body.sinqlo-page .chip-logo span {
  width: 10px;
  height: 10px;
}
 

body.sinqlo-page .sidebar-link i {
  width: 19px;
  font-size: 1.05rem;
}

body.sinqlo-page .bank-card {
  min-height: 184px;
}

body.sinqlo-page .bank-value {
  font-size: clamp(1.05rem, 3vw, 1.28rem);
}
 

body.sinqlo-page .metric-value {
  font-size: clamp(0.95rem, 2.4vw, 1.12rem);
}

body.sinqlo-page .circle-btn {
  width: 42px;
  height: 42px;
  font-size: 1rem;
}

body.sinqlo-page .avatar {
  width: 38px;
  height: 38px;
}

body.sinqlo-page .metric-icon,
body.sinqlo-page .small-icon {
  min-width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 1rem;
}

body.sinqlo-page .stat-card {
  min-height: 90px;
}

body.sinqlo-page .stat-card .metric-icon {
  width: 51px;
  height: 51px;
  font-size: 1.35rem;
}

body.sinqlo-page .quick-action-strip__btn {
  min-height: 52px;
  min-width: 0;
  padding: 0.55rem 0.28rem;
  gap: 0.28rem;
  font-size: 0.58rem;
}

body.sinqlo-page .quick-action-strip__icon {
  height: 1rem;
  font-size: 0.85rem;
}

body.sinqlo-page .progress {
  height: 9px;
}

body.sinqlo-page .trend {
  gap: 3px;
  padding: 3px 6px;
  border-radius: 7px;
  font-size: 0.6rem;
}

body.sinqlo-page .search-control {
  min-height: 38px;
}

body.sinqlo-page .filter-btn,
body.sinqlo-page .select-pill {
  min-height: 34px;
  border-radius: 10px;
}

body.sinqlo-page .filter-btn {
  min-height: 38px;
}

body.sinqlo-page .cashflow-chart {
  grid-template-columns: 30px 1fr;
  gap: 11px;
}

body.sinqlo-page .axis,
body.sinqlo-page .bars {
  height: 184px;
}

body.sinqlo-page .bars-wrap {
  min-width: 448px;
}

body.sinqlo-page .grid-lines {
  inset: 0 0 22px;
}

body.sinqlo-page .bars {
  gap: 14px;
  padding-bottom: 22px;
}

body.sinqlo-page .bar-month {
  height: 144px;
}

body.sinqlo-page .income,
body.sinqlo-page .expense {
  width: 27px;
  border-radius: 5px;
}

body.sinqlo-page .month-labels {
  gap: 14px;
  font-size: 0.65rem;
}

body.sinqlo-page .donut {
  width: 154px;
  height: 154px;
}

body.sinqlo-page .donut::after {
  inset: 34px;
}

body.sinqlo-page .percent {
  min-width: 38px;
  padding: 7px 0;
  border-radius: 7px;
  font-size: 0.65rem;
}

body.sinqlo-page .tabs-pill {
  border-radius: 10px;
}

body.sinqlo-page .tabs-pill .btn {
  min-width: 83px;
  border-radius: 10px;
}

body.sinqlo-page .table {
  font-size: 0.8rem;
}

body.sinqlo-page .table thead th {
  font-size: 0.65rem;
}

body.sinqlo-page .invoice-table-card .table {
  min-width: 864px;
}

body.sinqlo-page .invoice-table-card .table thead th {
  padding-block: 14px;
}

body.sinqlo-page .invoice-table-card .table tbody td {
  padding-block: 12px;
}

body.sinqlo-page .invoice-icon {
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
}

body.sinqlo-page .check-box {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

body.sinqlo-page .status {
  padding: 4px 8px;
  font-size: 0.6rem;
}

body.sinqlo-page .status-pill {
  min-width: 61px;
  padding: 6px 10px;
  font-size: 0.7rem;
}

body.sinqlo-page .page-size,
body.sinqlo-page .page-btn {
  min-width: 35px;
  height: 32px;
  border-radius: 8px;
}

body.sinqlo-page .activity-item:not(:last-child)::after {
  left: 15px;
  top: 34px;
  bottom: -14px;
}

body.sinqlo-page .activity-item .avatar {
  width: 32px;
  height: 32px;
  font-size: 0.62rem;
}
 
 
body.sinqlo-page .score-panel {
  background: var(--mint-soft);
}

body.sinqlo-page .score-bar {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 0.45rem;
}

body.sinqlo-page .score-bar span {
  display: block;
  height: 26px;
  border-radius: 4px;
}

body.sinqlo-page .score-bar .score-main {
  background: var(--deep);
}

body.sinqlo-page .score-bar .score-rest {
  background: var(--mint);
}

body.sinqlo-page .ring-chart {
  position: relative;
  width: min(100%, 210px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 28%, transparent 29%), conic-gradient(from 0deg, var(--deep) 0 42%, transparent 42% 100%), radial-gradient(circle, transparent 0 42%, var(--mint-soft) 43% 52%, transparent 53%), conic-gradient(from 160deg, var(--mint) 0 28%, transparent 28% 100%), radial-gradient(circle, transparent 0 58%, #d4bdfe 59% 69%, transparent 70%), conic-gradient(from 150deg, #d4bdfe 0 12%, transparent 12% 100%), radial-gradient(circle, transparent 0 74%, #d4bdfe 75% 86%, transparent 87%)
}

body.sinqlo-page .ring-chart::before,
body.sinqlo-page .ring-chart::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

body.sinqlo-page .ring-chart::before {
  inset: 8%;
  border: 14px solid transparent;
  border-top-color: var(--deep);
  border-left-color: var(--deep);
  transform: rotate(-42deg);
}

body.sinqlo-page .ring-chart::after {
  inset: 26%;
  border: 12px solid transparent;
  border-left-color: var(--mint);
  border-bottom-color: var(--mint);
  transform: rotate(16deg);
}

body.sinqlo-page .line-chart {
  position: relative;
  min-width: 520px;
  height: 210px;
}

body.sinqlo-page .line-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

body.sinqlo-page .line-grid {
  position: absolute;
  inset: 10px 0 24px 38px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
}

body.sinqlo-page .line-grid span {
  border-top: 1px solid var(--line);
}

body.sinqlo-page .line-axis {
  position: absolute;
  inset: 8px auto 24px 0;
  display: grid;
  width: 34px;
  color: var(--muted);
}

body.sinqlo-page .line-days {
  position: absolute;
  inset: auto 0 0 38px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  color: var(--muted);
  text-align: center;
}

body.sinqlo-page .chart-tooltip {
  position: absolute;
  top: 38px;
  left: 42%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

body.sinqlo-page .card-tile {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--mint-soft);
}

body.sinqlo-page .card-tile-brand {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--deep);
  font-weight: 800;
}

body.sinqlo-page .mini-card-logo {
  position: relative;
  width: 34px;
  height: 20px;
}

body.sinqlo-page .mini-card-logo::before,
body.sinqlo-page .mini-card-logo::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint);
}

body.sinqlo-page .mini-card-logo::before {
  left: 0;
}

body.sinqlo-page .mini-card-logo::after {
  right: 0;
  background: rgba(255, 255, 255, 0.75);
}

body.sinqlo-page .saving-mini-row {
  padding-block: 0.85rem;
  border-top: 1px solid var(--line);
}

body.sinqlo-page .activity-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: var(--mint);
}

 

@media (max-width: 991.98px) {
  body.sinqlo-page .v2-metric-grid {
    grid-template-columns: 1fr;
  }
}

/* Bottom-to-center action modal */
body.sinqlo-drawer-open {
  overflow: hidden;
}

body.sinqlo-page .sinqlo-drawer {
  position: fixed;
  inset: 0;
  z-index: 9;
  visibility: hidden;
  pointer-events: none;
}

body.sinqlo-page .sinqlo-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

body.sinqlo-page .sinqlo-drawer-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  background: rgba(32, 43, 42, 0.38);
  opacity: 0;
  transition: opacity 0.28s ease;
}

body.sinqlo-page .sinqlo-drawer.is-open .sinqlo-drawer-backdrop {
  opacity: 1;
}

body.sinqlo-page .sinqlo-drawer-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: min(520px, calc(100% - 2rem));
  max-height: calc(100vh - 3rem);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(39, 55, 51, 0.18);
  opacity: 0;
  transform: translate(-50%, calc(50vh + 100%)) scale(0.96);
  transition: opacity 0.22s ease, transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
}

body.sinqlo-page .sinqlo-drawer.is-open .sinqlo-drawer-panel {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.sinqlo-page .sinqlo-drawer-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 1.55rem 1.65rem 1.7rem;
  overflow-y: auto;
}

body.sinqlo-page .sinqlo-drawer-header {
  display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: 0;
    text-align: left;
    align-items: center;
}

body.sinqlo-page .sinqlo-drawer-heading {
  flex: 1;
  min-width: 0;
}

body.sinqlo-page .sinqlo-drawer-eyebrow {
  margin: 0.25rem 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  opacity: 1;
}

body.sinqlo-page .sinqlo-drawer-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1.2;
}

body.sinqlo-page .sinqlo-drawer-close-btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

body.sinqlo-page .sinqlo-drawer-close-btn:hover {
  color: var(--deep);
  background: var(--mint-soft);
}

body.sinqlo-page .sinqlo-drawer-close-btn:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 2px;
}

body.sinqlo-page .sinqlo-drawer-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.sinqlo-page .sinqlo-drawer-field {
  margin-bottom: 1.05rem;
}

body.sinqlo-page .sinqlo-drawer-label {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.68rem;
  font-weight: 400;
  color: #596373;
}

body.sinqlo-page .sinqlo-drawer-input-row {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 0.5rem;
  padding: 0 0.75rem;
  overflow: hidden;
  border: 1px solid #e7eaf0;
  border-radius: 6px;
  background: #f7f8fb;
}

body.sinqlo-page .sinqlo-drawer-input-row:focus-within {
  border-color: rgba(103, 58, 183, 0.38);
  box-shadow: 0 0 0 2px rgba(103, 58, 183, 0.12);
}

body.sinqlo-page .sinqlo-drawer-affix {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: auto;
  padding: 0;
  background: transparent;
  color: #8b93a0;
  font-weight: 400;
  font-size: 0.82rem;
}

body.sinqlo-page .sinqlo-drawer-input-row .sinqlo-drawer-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.sinqlo-page .sinqlo-drawer-input,
body.sinqlo-page select.sinqlo-drawer-input {
  width: 100%;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid #e7eaf0;
  border-radius: 6px;
  background-color: #f7f8fb;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
}

body.sinqlo-page .sinqlo-drawer-input:focus {
  outline: 0;
  background-color: #f7f8fb;
  box-shadow: none;
}

body.sinqlo-page .sinqlo-drawer-split {
   display: flex;
    gap: 0.5rem;
    align-items: stretch;
    background: #f7f8fb;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    padding: 0.44rem 0.75rem;
}

body.sinqlo-page .sinqlo-drawer-split .sinqlo-drawer-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  border-radius: 0;
      min-height: 30px;
      padding:0;
}

/* Input + accent button as one attached control (P2P UserID / OTP) */
body.sinqlo-page .sinqlo-drawer-append {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e7eaf0;
  border-radius: 6px;
  background: #f7f8fb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.sinqlo-page .sinqlo-drawer-append:focus-within {
  border-color: rgba(103, 58, 183, 0.38);
  box-shadow: 0 0 0 2px rgba(103, 58, 183, 0.12);
}

body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 44px;
}

body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-input:focus {
  border-color: transparent;
  box-shadow: none;
  outline: 0;
}

body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-btn-accent {
  flex-shrink: 0;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 0;
  padding: 0 1.05rem;
  border: 0;
  border-radius: 0;
  border-left: 1px solid #e7eaf0;
  font-size: 0.72rem;
}

body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-btn-accent:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
  z-index: 2;
}

body.sinqlo-page .sinqlo-drawer-btn-secondary {
  flex: 0 0 auto;
    min-height: 30px;
    padding: 0 0.7rem;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: var(--deep);
    font-size: 0.68rem;
    font-weight: 500;
    white-space: nowrap;
}

body.sinqlo-page .sinqlo-drawer-btn-secondary:hover {
  background: #5e35b1;
}

body.sinqlo-page .sinqlo-drawer-btn-secondary:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 2px;
}

body.sinqlo-page .sinqlo-drawer-btn-accent {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 0.75rem;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: var(--deep);
  color: #fff;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

body.sinqlo-page .sinqlo-drawer-btn-accent:hover {
  background: var(--hover-deep);
  color: #fff;
}

body.sinqlo-page .sinqlo-drawer-btn-accent:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 2px;
}

body.sinqlo-page .sinqlo-drawer-input-readonly,
body.sinqlo-page .sinqlo-drawer-input[readonly] {
  background: #f7f8fb;
  color: var(--muted);
  font-weight: 400;
  cursor: default;
}

body.sinqlo-page .sinqlo-drawer-input-readonly:focus,
body.sinqlo-page .sinqlo-drawer-input[readonly]:focus {
  border-color: var(--line);
  box-shadow: none;
}

body.sinqlo-page .sinqlo-drawer-submit {
  width: 100%;
  margin-top: 0.35rem;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--deep);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.sinqlo-page .sinqlo-drawer-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(103, 58, 183, 0.22);
}

body.sinqlo-page .sinqlo-drawer-submit:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
}

body.sinqlo-page .sinqlo-drawer-submit:active {
  transform: translateY(0);
}

@media (max-width: 575.98px) {
  body.sinqlo-page .sinqlo-drawer-panel {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 1rem);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 14px 14px 0 0;
    transform: translateY(100%);
  }

  body.sinqlo-page .sinqlo-drawer.is-open .sinqlo-drawer-panel {
    transform: translateY(0);
  }

  body.sinqlo-page .sinqlo-drawer-inner {
    padding: 1.1rem 1rem 1.25rem;
  }

  body.sinqlo-page .sinqlo-drawer-title {
    font-size: 1.15rem;
  }

  body.sinqlo-page .sinqlo-drawer-split {
    flex-direction: column;
  }

  body.sinqlo-page .sinqlo-drawer-append {
    flex-direction: column;
  }

  body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-input {
    border-bottom: 1px solid #e7eaf0;
    border-radius: 0;
  }

  body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-btn-accent {
    width: 100%;
    border-left: 0;
    border-top: 1px solid #e7eaf0;
    border-radius: 0;
    min-height: 44px;
  }

  body.sinqlo-page .sinqlo-drawer-btn-secondary,
  body.sinqlo-page .sinqlo-drawer-split > .sinqlo-drawer-btn-accent {
    width: 100%;
  }
}

/* Auth page */
body.auth-page {
  min-height: 100vh;
  background: #fff;
}

body.auth-page .auth-shell {
  display: grid;
  min-height: 100vh;
  padding: 0;
}

body.auth-page .auth-card {
  display: grid;
  width: 100%;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.auth-page .auth-form-panel,
body.auth-page .auth-visual-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
}

body.auth-page .auth-form-panel {
  display: flex;
  flex-direction: column;
  border: 0;
  background: #fff;
  padding: 18px 46px;
}

body.auth-page .auth-brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.55rem;
  color: var(--deep);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.auth-page .auth-brand .brand-mark {
  width: 24px;
  height: 24px;
  grid-template-columns: repeat(2, 7px);
  gap: 3px;
}

body.auth-page .auth-brand .brand-mark span {
  width: 7px;
  height: 7px;
}

body.auth-page .auth-form-wrap {
  width: min(520px, 100%);
  margin: auto;
}

body.auth-page .auth-heading {
  margin-bottom: 1.25rem;
  text-align: center;
}

body.auth-page .auth-heading h1 {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0;
}

body.auth-page .auth-heading p {
  width: min(320px, 100%);
  margin: 0 auto;
  color: #8d94a3;
  font-size: 0.78rem;
  line-height: 1.6;
}

body.auth-page .auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 1.55rem;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

body.auth-page .auth-switch-btn {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #707887;
  font-size: 0.76rem;
  font-weight: 400;
}

body.auth-page .auth-switch-btn.active {
  background: #eef1f6;
  color: var(--ink);
}

body.auth-page .auth-form {
  display: none;
}

body.auth-page .auth-form.active {
  display: block;
}

body.auth-page #signup-form.active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

body.auth-page #signup-form .auth-field-wide,
body.auth-page #signup-form .auth-terms-check,
body.auth-page #signup-form .auth-submit {
  grid-column: 1 / -1;
}

body.auth-page .auth-field {
  margin-bottom: 1.05rem;
}

body.auth-page .auth-field label {
  display: block;
  margin-bottom: 0.42rem;
  color: #596373;
  font-size: 0.68rem;
  font-weight: 400;
}

body.auth-page .auth-field label span {
  color: var(--deep);
}

body.auth-page .auth-field-feedback {
  margin: 0.38rem 0 0;
  min-height: 1.1rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #5a6575;
}

body.auth-page .auth-field-feedback:empty {
  display: none;
  min-height: 0;
  margin: 0;
}

body.auth-page .auth-field-feedback--ok {
  color: #1b6f4a;
}

body.auth-page .auth-field-feedback--error {
  color: #b42318;
}

body.auth-page .auth-input-row {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 0.5rem;
  padding: 0 0.75rem;
  border: 1px solid #e7eaf0;
  border-radius: 6px;
  background: #f7f8fb;
  color: #8b93a0;
}

body.auth-page .auth-input-row:focus-within {
  border-color: rgba(103, 58, 183, 0.38);
  box-shadow: 0 0 0 2px rgba(103, 58, 183, 0.12);
}

body.auth-page .auth-input-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 400;
}

body.auth-page .auth-input-row input::placeholder {
  color: #9ca3af;
}

body.auth-page .auth-icon-btn {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #8b93a0;
  font-size: 0.95rem;
}

body.auth-page .auth-inline-btn {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--deep);
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
}

body.auth-page .auth-inline-btn:hover {
  background: #5e35b1;
}

body.auth-page .auth-form-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: -0.2rem 0 1rem;
  color: #747d8b;
  font-size: 0.68rem;
}

body.auth-page .auth-return-link {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.72rem;
}

body.auth-page .auth-return-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--deep);
  text-decoration: none;
  font-weight: 500;
}

body.auth-page .auth-form-meta a,
body.auth-page .auth-footer a,
body.auth-page .auth-terms-check a,
body.auth-page .auth-return-link a {
  color: var(--deep);
  text-decoration: none;
}

body.auth-page .auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body.auth-page .auth-check input {
  width: 13px;
  height: 13px;
  accent-color: var(--deep);
}

body.auth-page .auth-terms-check {
  align-items: flex-start;
  margin: -0.15rem 0 1rem;
  color: #747d8b;
  font-size: 0.68rem;
  line-height: 1.45;
}

body.auth-page .auth-terms-check input {
  margin-top: 0.15rem;
}

body.auth-page .auth-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--deep);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.15s ease, transform 0.15s ease;
}

body.auth-page .auth-submit:hover {
  background: var(--hover-deep);
  transform: translateY(-1px);
}

body.auth-page .auth-submit:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
}

body.auth-page .auth-submit:disabled:hover {
  background: var(--deep);
  transform: none;
}

body.auth-page .auth-submit.auth-submit-outline {
  background: #fff;
  color: var(--deep);
  border: 1px solid rgba(103, 58, 183, 0.38);
  margin-bottom: 0.7rem;
}

body.auth-page .auth-submit.auth-submit-outline:hover {
  background: #f8f6ff;
  transform: translateY(-1px);
}

body.auth-page .auth-submit.auth-submit-outline:disabled {
  opacity: 0.55;
}

body.auth-page .auth-wallet-status {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  background: #f0f4ff;
  border: 1px solid #dfe6ff;
}

body.auth-page .auth-wallet-status.is-hidden,
body.auth-page .auth-wallet-gated.is-hidden {
  display: none;
}

body.auth-page .auth-post-wallet-hr {
  margin: 0.85rem 0 1rem;
  border: 0;
  border-top: 1px solid #eceff3;
  opacity: 1;
}

body.auth-page .auth-wallet-status-label {
  display: block;
  margin-bottom: 0.3rem;
  color: #647089;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.auth-page .auth-wallet-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.65rem;
}

body.auth-page .auth-connected-address {
  flex: 1 1 10rem;
  display: block;
  margin: 0;
  min-width: 0;
  font-size: 0.76rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 500;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.35;
}

body.auth-page .auth-disconnect-wallet {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border: 1px solid #c5cee0;
  border-radius: 5px;
  background: #fff;
  color: #5a6578;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.auth-page .auth-disconnect-wallet:hover:not(:disabled) {
  background: #f5f7fb;
  border-color: #aeb8cc;
  color: #3d4556;
}

body.auth-page .auth-disconnect-wallet:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.auth-page .auth-disconnect-wallet i {
  font-size: 0.85rem;
  line-height: 1;
}

body.auth-page #signup-form.active .auth-wallet-block {
  grid-column: 1 / -1;
}

body.auth-page .auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.35rem 0 1rem;
  color: #8d94a3;
}

body.auth-page .auth-divider span {
  height: 1px;
  flex: 1;
  background: #eceff3;
}

body.auth-page .auth-divider p {
  margin: 0;
  font-size: 0.68rem;
}

body.auth-page .auth-socials {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

body.auth-page .auth-socials button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #f7f8fb;
  color: var(--ink);
  font-size: 1.1rem;
}

body.auth-page .auth-socials button:first-child {
  color: #4285f4;
}

body.auth-page .auth-socials button:nth-child(3) {
  color: #1877f2;
}

body.auth-page .auth-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: #8d94a3;
  font-size: 0.66rem;
}

body.auth-page .auth-visual-panel {
  display: flex;
  min-height: 100vh;
  align-items: flex-end;
  justify-content: center;
  padding: 42px;
  color: #fff;
  background: linear-gradient( 120deg, #8b5cff 0%, #ff4d9d 45%, #ff8a52 100% );
}

body.auth-page .auth-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
}

body.auth-page .auth-preview-card {
  position: absolute;
  width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(23, 16, 42, 0.24);
  padding: 14px;
}

body.auth-page .auth-preview-card-main {
  top: 70px;
  left: 28%;
}

body.auth-page .auth-preview-card-side {
  top: 180px;
  right: 70px;
}

body.auth-page .auth-preview-card-list {
  top: 295px;
  left: 120px;
}

body.auth-page .auth-preview-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #747d8b;
  font-size: 0.62rem;
  font-weight: 600;
}

body.auth-page .auth-preview-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

body.auth-page .auth-mini-chart {
  display: grid;
  height: 56px;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  align-items: end;
  margin-top: 0.7rem;
}

body.auth-page .auth-mini-chart span {
  border-radius: 4px;
  background: var(--deep);
}

body.auth-page .auth-mini-chart span:nth-child(1) {
  height: 42%;
}

body.auth-page .auth-mini-chart span:nth-child(2) {
  height: 72%;
  background: var(--mint);
}

body.auth-page .auth-mini-chart span:nth-child(3) {
  height: 54%;
}

body.auth-page .auth-mini-chart span:nth-child(4) {
  height: 86%;
  background: var(--mint);
}

body.auth-page .auth-mini-chart span:nth-child(5) {
  height: 62%;
}

body.auth-page .auth-donut {
  width: 58px;
  height: 58px;
  margin: 0.2rem 0 0.75rem;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 46%, transparent 47%), conic-gradient(var(--deep) 0 54%, var(--mint) 54% 82%, #e6e9ef 82% 100%);
}

body.auth-page .auth-preview-row,
body.auth-page .auth-list-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: #6b7280;
  font-size: 0.64rem;
}

body.auth-page .auth-preview-row strong {
  font-size: 0.72rem;
}

body.auth-page .auth-list-line {
  justify-content: flex-start;
  margin-top: 0.65rem;
}

body.auth-page .auth-list-line span {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint-soft);
}

body.auth-page .auth-list-line p {
  width: 100%;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: #e7eaf0;
}

body.auth-page .auth-visual-copy {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  margin-bottom: 44px;
  text-align: center;
}

body.auth-page .auth-visual-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 1.35rem;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

body.auth-page .auth-visual-mark .brand-mark span {
  background: #fff;
}

body.auth-page .auth-visual-copy h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

body.auth-page .auth-visual-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.6;
}

body.auth-page .auth-progress-lines {
  position: absolute;
  right: 28px;
  bottom: 20px;
  left: 28px;
  display: grid;
  grid-template-columns: 1.25fr 0.55fr 1.25fr 1.25fr;
  gap: 7px;
}

body.auth-page .auth-progress-lines span {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

body.auth-page .auth-progress-lines span:first-child,
body.auth-page .auth-progress-lines span:nth-child(2) {
  background: #fff;
}

@media (max-width: 991.98px) {
  body.auth-page .auth-card {
    grid-template-columns: 1fr;
  }

  body.auth-page .auth-visual-panel {
    min-height: 520px;
  }

  body.auth-page .auth-preview-card-main {
    left: 12%;
  }
}

@media (max-width: 575.98px) {
  body.auth-page .auth-shell {
    padding: 0;
  }

  body.auth-page .auth-card {
    min-height: auto;
    padding: 0;
    border-radius: 0;
  }

  body.auth-page .auth-form-panel {
    padding: 18px 16px 24px;
  }

  body.auth-page .auth-form-wrap {
    margin: 2.5rem auto;
  }

  body.auth-page #signup-form.active {
    display: block;
  }

  body.auth-page .auth-footer {
    padding-top: 0;
  }

  body.auth-page .auth-visual-panel {
    min-height: 440px;
    padding: 24px;
  }

  body.auth-page .auth-preview-card {
    width: 190px;
  }

  body.auth-page .auth-preview-card-main {
    top: 34px;
    left: 20px;
  }

  body.auth-page .auth-preview-card-side {
    top: 118px;
    right: 18px;
  }

  body.auth-page .auth-preview-card-list {
    display: none;
  }
}
.fdc_deposit-box {
  display: flex;
  gap: 19px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.fdc_deposit-qr img {
  width: 176px;
  border-radius: 14px;
  border: 1px solid #dbe1ea;
  background: #fff;
  padding: 6px;
}

.fdc_deposit-content {
  flex: 1;
  min-width: 224px;
}

.fdc_deposit-title {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 19px;
  color: #182033;
}

.fdc_deposit-address-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f4f5f9;
    border: 1px solid #d9dee8;
    border-radius: 10px;
    padding: 5px 10px;
    margin-bottom: 15px;
}

.fdc_deposit-address {
      flex: 1;
    background: transparent;
    border: 0;
    padding: 0 10px;
    font-size: 10px;
    line-height: 1.5;
    word-break: break-all;
    color: #182033;
}

.fdc_copy-btn {
  border: 0;
    background: var(--deep);
    color: #fff;
    border-radius: 7px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}

.fdc_copy-btn:hover {
  background: var(--hover-deep);
}

.fdc_deposit-info {
  padding-left: 19px;
  margin-bottom: 22px;
}

.fdc_deposit-info li {
  font-size: 12px;
  line-height: 1.8;
  color: #4b5870;
  margin-bottom: 6px;
}

.fdc_deposit-info strong {
  color: #182033;
}

.fdc_deposit-balance-box {
    display: flex;
    gap: 12px;
    background: #eef4ff;
    border: 1px solid #bfd5ff;
    border-radius: 8px;
    padding: 8px;
    align-items: center;
    margin-top: 15px;
}

.fdc_deposit-balance-icon {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: #dce8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17.6px;
  color: #2354e6;
  flex-shrink: 0;
}

.fdc_deposit-balance-text {
  font-size: 12px;
  line-height: 1.5;
  color: #2354e6;
}

.fdc_deposit-balance-text strong {
   
  font-size: 14px;
  margin-top: 3px;
}

.fdc_value-badge {
  color: var(--deep);
}

body.sinqlo-page .wallet-scope-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 0.85rem;
}

body.sinqlo-page .wallet-scope-left .wallet-history-stat-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

body.sinqlo-page .wallet-scope-card {
  min-height: 92px;
}

body.sinqlo-page .wallet-scope-card-wide {
  grid-column: 1 / -1;
}

body.sinqlo-page .wallet-scope-right {
  min-width: 0;
}

body.sinqlo-page .wallet-pie-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  min-height: 100%;
}

body.sinqlo-page .wallet-pie-chart {
  position: relative;
  width: min(172px);
  flex: 0 0 min(172px, 48%);
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--deep-2) 0 63%,
    var(--deep-3) 63% 95%,
    #cfd3d2 95% 100%
  );
}

body.sinqlo-page .wallet-pie-chart::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: inherit;
  background: #fff;
}

body.sinqlo-page .wallet-pie-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  color: var(--ink);
  line-height: 1.15;
  text-align: center;
}

body.sinqlo-page .wallet-pie-center span {
  color: var(--muted);
  font-size: 0.76rem;
}

body.sinqlo-page .wallet-pie-center strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.sinqlo-page .wallet-pie-legend {
  display: grid;
  gap: 0.65rem;
  min-width: max-content;
}

body.sinqlo-page .wallet-pie-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

body.sinqlo-page .wallet-pie-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

body.sinqlo-page .wallet-pie-dot-total,
body.sinqlo-page .wallet-pie-dot-s0{
  background: var(--deep-2);
}

body.sinqlo-page .wallet-pie-dot-deposit,
body.sinqlo-page .wallet-pie-dot-s1{
  background: var(--deep-3);
}

body.sinqlo-page .wallet-pie-dot-income,
body.sinqlo-page .wallet-pie-dot-s2{
  background: #cfd3d2;
}

@media (max-width: 1199.98px) {
  body.sinqlo-page .wallet-scope-layout {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .wallet-pie-card {
    min-height: 180px;
  }
}

@media (max-width: 767.98px) {
  body.sinqlo-page .wallet-scope-left {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .wallet-pie-card {
    flex-direction: column;
  }

  body.sinqlo-page .wallet-pie-chart {
    width: 150px;
    flex-basis: 150px;
  }

  body.sinqlo-page .wallet-pie-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.fdc_explore-btn {
    background: var(--mint);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 50px;
    color: var(--deep);
    text-decoration: none;
}

@media (max-width: 768px) { 
  .fdc_deposit-qr img {
    width: 100%;
    max-width: 190px;
  }

  
  
  .fdc_deposit-title {
    font-size: 19.2px;
  }

}

.mobile-menu-btn {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--deep);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998;
}

@media (max-width: 1199px) {

  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
  }

  .app-sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }

  .main-wrap {
    width: 100%;
  }

}

.page-size-select {
  min-width: 60px;
  height: 38px;
  border: 0;
  border-radius: 18px;
  background: #efe5ff;
  color: #7b3ff2;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237b3ff2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 24px;
}

.page-size-select:focus {
  box-shadow: none;
}

.notification-card {
  border-radius: 24px;
}

.notification-card-icon {
  width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.notification-card-icon.success {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.notification-card-icon.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.notification-card-icon.info {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.notification-card-title {
  
  font-weight: 600;
  color: #182033;
}

.notification-card-text {
  font-size: 12px;
    line-height: 1.7;
    color: #667085;
}

.notification-time {
      font-size: 12px;
    font-weight: 400;
    color: #3b3f47;
}

.notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.notification-badge.success {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.notification-badge.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.notification-badge.neutral {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

.notification-hash {
  font-size: 14px;
  color: #667085;
  word-break: break-all;
}

@media (max-width: 768px) {

  .notification-card {
    border-radius: 18px;
  }
 
}

 .rank-panel span {
    font-size: 10px;
}
.rank-panel span.fs-12 {
  font-size: 12px;
}


.rank-panel .cus-badge{
  display: inline-block;
    background: var(--mint);
    padding: 2px 5px;
    border-radius: 7px;
    font-weight: 600;
}

/* -----------------------------
   Modern Tree View (HTML/CSS/JS)
   ----------------------------- */
.tv-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
}

.tv-tree {
  min-width: max-content;
}

.tv-item {
  position: relative;
}

.tv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  min-height: 48px;
  cursor: pointer;
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease, background 180ms ease;
  outline: none;
}

.tv-row:hover {
  border-color: color-mix(in srgb, var(--mint) 35%, var(--line));
  box-shadow: 0 18px 45px rgba(39, 55, 51, 0.06);
  transform: translateY(-1px);
}

.tv-row:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 25%, transparent);
}

.tv-row.is-selected {
  border-color: var(--mint);
  background: linear-gradient(180deg, color-mix(in srgb, var(--mint-soft) 50%, #fff) 0%, #fff 70%);
}

.tv-toggle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  flex-shrink: 0;
}

.tv-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: #fafafa;
}

.tv-chevron {
  font-size: 18px;
  transition: transform 180ms ease;
  transform: rotate(0deg);
  color: var(--muted);
}

.tv-toggle.is-expanded .tv-chevron {
  transform: rotate(90deg);
  color: var(--deep);
}

.tv-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tv-icon {
  color: var(--deep);
  font-size: 18px;
  flex-shrink: 0;
}

.tv-label-text {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tv-children-wrapper {
  overflow: hidden;
  max-height: 0px;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 300ms ease, opacity 200ms ease, transform 300ms ease;
}

.tv-children-wrapper.is-collapsed {
  pointer-events: none;
}

.tv-children {
  border-left: 2px solid var(--line);
  margin-left: 1rem;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-children > .tv-item {
  position: relative;
}

.tv-children > .tv-item::before {
  content: "";
  position: absolute;
  left: calc(-1rem - 2px);
  top: 23px;
  width: 1rem;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}

@media (max-width: 576px) {
  .tv-row {
    padding: 10px 10px;
    border-radius: 12px;
  }

  .tv-children {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
  }

  .tv-children > .tv-item::before {
    left: calc(-0.75rem - 2px);
  }
}

/* -----------------------------
   Genealogy Tree (tree2 markup)
   ----------------------------- */
.tree2-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ecebfd;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fcfcff 100%);
}

.tree2-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  flex: 1 1 280px;
  border: 1px solid #e7e5fb;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
}

.tree2-search-wrap i {
  color: #7d73bf;
}

.tree2-search-wrap input {
  border: none;
  outline: none;
  width: 100%;
  height: 42px;
  font-size: 14px;
  color: #1d2939;
  background: transparent;
}

.tree2-toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tree2-active-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d9dfec;
  border-radius: 16px;
  background: #f8fafc;
  color: #475467;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 10px;
  line-height: 1;
  cursor: pointer;
}

.tree2-active-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #3b63dd;
}

.tree2-scroll {
  overflow: auto;
  padding: 8px 4px 10px;
}

.tree2-zoom-stage {
  transform-origin: top left;
  transition: transform 160ms ease;
}

.genealogy-tree {
  min-width: max-content;
}

.genealogy-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 26px;
  position: relative;
}

.genealogy-tree > ul {
  padding-left: 0;
}

.genealogy-tree li {
  position: relative;
  margin: 0 0 10px;
}

.genealogy-tree li::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 28px;
  width: 12px;
  border-top: 1px solid #e6e8f3;
}

.genealogy-tree ul ul::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -10px;
  bottom: 24px;
  border-left: 1px solid #e6e8f3;
}

.genealogy-tree > ul > li::before,
.genealogy-tree > ul::before {
  content: none;
}

.tree2-mcard {
   width: 100%;
   min-width: 0;
  border: 1px solid #ecebfd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  padding: 8px 10px;
}

.tree2-mcard:hover {
  transform: translateY(-2px);
  border-color: #d8d4fb;
  box-shadow: 0 14px 32px rgba(76, 54, 148, 0.14);
}

.tree2-mcard.is-leader {
  border-color: #cfc6ff;
  box-shadow: 0 14px 34px rgba(109, 79, 230, 0.18);
}

.tree2-mcard.is-active {
  --tree2-status-bg: #e8fbef;
  --tree2-status-color: #137a3a;
}

.tree2-mcard.is-inactive {
  --tree2-status-bg: #fff1f1;
  --tree2-status-color: #b42318;
}

.tree2-mcard-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}

.tree2-mcard-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient( 120deg, #1a55e3 0%, #5E6EED 45%, #ff0854 100% );
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.tree2-mcard-user {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.tree2-mcard-name {
  font-size: 14px;
  font-weight: 700;
  color: #101828;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree2-mcard-sub {
  font-size: 13px;
  color: #667085;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree2-status-badge {
  background: var(--tree2-status-bg, #f2f4f7);
  color: var(--tree2-status-color, #475467);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  flex: 0 0 auto;
}

.tree2-card-arrow {
  width: 26px;
  height: 26px;
  border: 1px solid #ebe7ff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f8f7ff;
  color: #6245d5;
  transition: transform 180ms ease, background 180ms ease;
}

.tree2-card-arrow i {
  transition: transform 180ms ease;
}

.tree2-card-arrow[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.tree2-branch-open > .tree2-mcard .tree2-card-arrow i {
  transform: rotate(180deg);
}

.tree2-stat-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  overflow: visible;
  flex: 0 0 auto;
}

.tree2-stat {
  border: 1px solid #f0eefe;
  border-radius: 10px;
  padding: 6px 10px;
  background: #fcfbff;
  flex: 0 0 auto;
  min-width: 122px;
}

.tree2-stat span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 600;
}

.tree2-stat strong {
  display: block;
  margin-top: 2px;
  color: #1d2939;
  font-size: 12px;
  font-weight: 700;
}

.tree2-show-detail {
  margin-top: 0;
  background: transparent;
  border: none;
  color: #101828;
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  flex: 0 0 auto;
}

.tree2-mcard-details {
  margin-top: 8px;
  border-top: 1px dashed #ecebfd;
  padding-top: 8px;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tree2-detail-open .tree2-mcard-details {
  display: grid;
}

.tree2-mcard-details div {
  border-radius: 10px;
  background: #fafaff;
  border: 1px solid #efedfd;
  padding: 8px;
}

.tree2-mcard-details span {
  display: block;
  color: #667085;
  font-size: 11px;
}

.tree2-mcard-details strong {
  color: #1d2939;
  font-size: 13px;
}

.genealogy-tree ul:not(.active) {
  display: none;
}

.genealogy-tree > ul,
.genealogy-tree > ul:not(.active) {
  display: block;
}

.tree2-node-hidden {
  display: none !important;
}

@media (max-width: 992px) {
  .tree2-toolbar {
    position: static;
  }
}

@media (max-width: 768px) {
  .tree2-mcard {
     width: 100%;
  }

  .tree2-mcard-top {
    gap: 6px;
  }

  .tree2-stat {
    min-width: 110px;
    padding: 6px 8px;
  }
}


div:where(.swal2-container) {
  z-index: 99999;
}



.tree2-level-0 {
    background: rgba(239, 107, 110,0.10);
}

.tree2-level-1 {
    background: rgba(239, 107, 110,0.09);
}

.tree2-level-2 {
    background: rgba(239, 107, 110,0.08);
}

.tree2-level-3 {
    background: rgba(239, 107, 110,0.07);
}

.tree2-level-4 {
    background: rgba(239, 107, 110,0.06);
}

.tree2-level-5 {
    background: rgba(239, 107, 110,0.05);
}

.tree2-level-6 {
    background: rgba(239, 107, 110,0.04);
}

.tree2-level-7 {
    background: rgba(239, 107, 110,0.03);
}
.tree2-level-8 {
    background: rgba(239, 107, 110,0.02);
}
.tree2-level-9 {
    background: rgba(239, 107, 110,0.01);
}
.tree2-level-10 {
    background: rgba(239, 107, 110,0.005);
}