@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* ================================================
   Bootstrap variable overrides + font
================================================ */
:root {
  --bs-body-font-family:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --bs-body-font-family-medium:
    "gc_north_sansmedium", Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --bs-body-font-family-bold:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --t-body-text: #1f1f1f;
  --t-panel-logo-bg: url("../img/newdesign/logo-symbol-bg.avif");

  --t-panel-bg-color: #1a0e06;
  --t-panel-img: url("../img/newdesign/panel-overlay.avif");
  
  
  /* §0  CSS VARIABLES */

  --dashboard-bg: #f5f3f1;
  --sidebar-bg: #261609;
  --card-bg: #ffffff;
  --card-radius: 24px;
  --card-radius-small: 16px;
  --card-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);

  --orange: #f5662a;
  --blue: #2d6bff;
  --yellow: #dccf72;
  --green: #4cd964;
  --muted: #8a8a8a;

  --sidebar-width: 280px;
  --header-height: 72px;

  --font-reg: "Inter", system-ui, sans-serif;
  --font-med: "Inter", system-ui, sans-serif;
  --font-bold: "Inter", system-ui, sans-serif;

  --espresso: #261609;
  --grey-700: #555555;
  --grey-600: #656565;
  --grey-400: #92979d;
  --grey-300: #b1b1b1;
  --grey-200: #e6e6e6;
  --grey-100: #ebedef;
  --grey-20: #f5f5f1;
  --grey-10: #f9f9f7;    
  --white: #fff;
  --red-50: #ffeced;
  --flatpickr-primary: #cc5526;
}

body {
  background: linear-gradient(90deg, #faf5f0 0%, #d6dadd 100%);
  color: var(--t-body-text);
  font-family: var(--bs-body-font-family);
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.login-page-body {
  background: var(--t-body-text) url("../img/newdesign/login-bg.avif") no-repeat center
    center;
  background-size: cover;
}

.signup-page-body {
  background: var(--t-body-text) url("../img/newdesign/main-bg.avif") no-repeat center
    center;
  background-size: cover;
  position: relative;
}
.signup-page-body:after {
  content: "";
  position: absolute;
  background: var(--t-panel-logo-bg) no-repeat right bottom;
  background-size: contain;
  isolation: isolate;
  pointer-events: none;
  right: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 1030/830;
}

[dir="rtl"] .signup-page-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/newdesign/main-bg.avif") no-repeat center center;
  background-size: cover;
  z-index: -1;
  transform: scaleX(-1);
  pointer-events: none;
  isolation: isolate;
}

strong {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 700;
}

/* ================================================
   DARK THEME  (node 1055-144)
================================================ */
.theme-dark {
  --t-btn: #cc5526;
  --t-text: #ffffff;
  --t-muted: rgba(255, 255, 255, 0.4);
  --t-label: rgba(255, 255, 255, 0.4);
  --t-input-txt: #ececec;
  --t-input-bdr: #cecece;
  --t-input-bg: rgba(255, 255, 255, 0.2);
  --t-logo-op: 0.2;
}
.theme-dark {
  background-color: #261609;
}

/* Page bg: mesh gradient overlay */
.theme-dark .page-bg {
  background: #041715;
  background-image: url("../img/newdesign/panel-overlay.avif");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}


/* Theme green variant */
.theme-green {
  --t-btn: #082c28;
  --t-text: #ffffff;
  --t-muted: rgba(255, 255, 255, 0.4);
  --t-label: rgba(255, 255, 255, 0.4);
  --t-input-txt: #ececec;
  --t-input-bdr: #cecece;
  --t-input-bg: rgba(255, 255, 255, 0.2);
  --t-logo-op: 0.2;
  background: linear-gradient(
    45deg,
    rgba(44, 98, 49, 1) 0%,
    rgba(73, 191, 177, 1) 25%,
    rgba(4, 23, 21, 1) 100%
  );

  --t-panel-bg-color: #041715;
  --t-panel-img: url("../img/newdesign/panel-overlay-green.avif");
   
}

.theme-green-light {
  --t-btn: #017661;
  --t-text: #000000;
  --t-muted: rgba(0, 0, 0, 0.4);
  --t-label: rgba(0, 0, 0, 0.4);
  --t-input-txt: #92979d;
  --t-input-bdr: #cecece;
  --t-input-bg: rgba(255, 255, 255, 0.2);
  --t-logo-op: 0.2;
  /* --t-panel-ov: url("../img/newdesign/panel-overlay.avif"); */
  /* --t-panel-ov: url("../img/newdesign/panel-overlay.avif"); */
   --t-panel-img: url("../img/newdesign/panel-overlay-green.avif");
}

.theme-green .page-bg {
  background: #041715;
  background-image: url("../img/newdesign/panel-overlay.avif");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

/* ── Full-page decorative layer ── */
.page-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-mesh-bg {
  position: absolute;
  left: -271px;
  top: -334px;
  width: 2579px;
  height: 1451px;
  object-fit: cover;
  opacity: 0.9;
}

.page-ellipse-glow {
  position: absolute;
  left: calc(25% + 37px);
  top: -1911px;
  width: 1363px;
  height: 1363px;
}

/* ================================================
   LIGHT THEME  (node 1055-777)
================================================ */
.theme-light {
  --t-btn: #cc5526;

  --t-text: #000000;
  --t-muted: rgba(0, 0, 0, 0.4);
  --t-label: rgba(0, 0, 0, 0.4);
  --t-input-txt: #333333;
  --t-input-bdr: #cecece;
  --t-input-bg: rgba(255, 255, 255, 0.2);
  --t-panel-ov: url("../img/newdesign/panel-overlay.avif");

  --t-logo-op: 0.2;
}
.theme-light {
  background: linear-gradient(90deg, #d6dadd 0%, #faf5f0 100%);
}

/* ================================================
   LAYOUT HELPERS  —  no Bootstrap equivalent
================================================ */
.panel-cards-inner {
  z-index: 10;
  max-width: 540px;
}
.form-inner {
  width: 100%;
  max-width: 680px;
}

/* ================================================
   LEFT PANEL CARD  —  background via pseudo-elements
   (Bootstrap has no CSS mask / background-image util)
================================================ */

.login-panel-card {
  background-color: var(--t-panel-bg-color);
  background-image: var(--t-panel-img);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;  
}

/*.theme-light .login-panel-card::after {
  content: "";
  position: absolute;
  inset: 20% 0 0 0;
  background: var(--t-panel-logo-bg) no-repeat bottom center;
  background-size: cover;
  isolation: isolate;
  pointer-events: none;
}*/

/* Geometric diamond shapes inside the left panel */
.panel-geo-shapes {
  position: absolute;
  left: -63px;
  top: 309px;
  width: 1032px;
  height: 819px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

/* ================================================
   FEATURE CARDS
================================================ */
.feature-card {
  background-color: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  min-height: 105px;
  padding: 0.75rem;
}

/* Icon slot */
.feature-icon {
  flex: 0 0 91px;
  min-width: 91px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem;
  padding-left: 0;
}

/* Card text */
.feature-text {
  font-size: 1.375rem;
  color: #656565;
  line-height: 1.2;
}
.feature-text strong {
  color: var(--t-body-text);
}
[dir="rtl"] .pe-4 {
  padding-right: 1.5rem !important;
  padding-left: 0 !important;
}

/* ================================================
   BRAND ROW   
================================================ */
.brand-row {
  gap: 18px;
  padding: 4.65px 0;
}

.brand-icon {
  height: 32px;
  flex-shrink: 0;
}

/*.brand-name {
  font-size: 1.37rem;
  line-height: normal;
  color: rgba(238, 247, 255, 0.4);
  white-space: nowrap;
}

.theme-light .brand-name {
  color: var(--t-body-text);
  opacity: 0.8;
}
.theme-light .brand-icon {
  filter: brightness(0) invert(0);
  opacity: 0.8;
}*/

/* ================================================
   HEADING 
================================================ */
.login-heading {
  font-size: 1.8rem;
  line-height: 1.15 !important;
  color: var(--t-text);
  margin-bottom: 0.5rem !important;
}

/* ================================================
   SUBTITLE / FORM TEXT COLOURS
================================================ */
.login-subtitle {
  color: var(--t-text);
}
.reg-muted {
  color: var(--t-muted);
}
.reg-link {
  color: var(--t-text) !important;
  text-decoration: none;
}
.reg-link:hover {
  text-decoration: underline;
}

/* ================================================
   FORM
================================================ */
.login-form {
  max-width: 380px;
}
.login-form .form-label {
  color: var(--t-label);
  font-size: clamp(0.875rem, 1.25vh, 0.875rem);
  margin-bottom: 0.375rem;
}

.login-form .form-control {
  height: 44px;
  font-size: 0.875rem;
  color: var(--t-input-txt);
  background-color: var(--t-input-bg);
  border-color: var(--t-input-bdr);
  border-radius: 0.75rem !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.login-form .form-control::placeholder {
  color: #92979d;
  opacity: 1;
}
.theme-dark .login-form .form-control::placeholder {
  color: #cecece;
  opacity: 1;
}
.login-form .form-control:focus {
  background-color: var(--t-input-bg);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--t-input-txt);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 0 0 3px rgba(255, 255, 255, 0.12);
}

/* Sign In button */
.btn-signin,
.btn-primary {
  background-color: #cc5526 !important;
  color: #ffffff !important;
  border: none !important;
  height: 44px;
  font-size: 0.875rem !important;
  border-radius: 0.75rem !important;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}
.btn-signin:hover,
.btn-primary:hover {
  filter: brightness(1.15);
}
.btn-signin:active,
.btn-primary:active {
  transform: scale(0.98);
}
.btn-signin:focus-visible,
.btn-primary:focus-visible {
  outline: 3px solid #cc5526;
  outline-offset: 2px;
}

.form-check-input {
  width: 1.5em;
  height: 1.5em;
  margin-top: 0;
  margin-left: 0;
  flex-shrink: 0;
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.form-check-input:hover {
  border-color: var(--t-text);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.25);
  border-color: var(--blue-accent);
}

.form-check-input:checked {
  background-color: var(--blue-accent);
  border-color: var(--blue-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.2l3.2 3.2L13 4.6' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 65% 65%;
}

/* Radio variant — Bootstrap already sets border-radius:50% via
   .form-check-input[type=radio]; we only theme the colors/size here. */
.form-check-input[type="radio"] {
  border-radius: 50%;
}

.form-check-input[type="radio"]:checked {
  background-color: var(--blue-accent);
  border-color: var(--blue-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3.5' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 55% 55%;
}

.btn-secondary {
  background-color: #6c757d !important;
  color: #ffffff !important;
  border: none !important;
  height: clamp(36px, 4.5vh, 44px);
  font-size: clamp(0.875rem, 1.75vh, 1.125rem) !important;
  border-radius: 0.75rem !important;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.btn-success {
  background-color: #198754 !important;
  color: #ffffff !important;
  border: none !important;
  height: clamp(36px, 4.5vh, 44px);
  font-size: clamp(0.875rem, 1.75vh, 1.125rem) !important;
  border-radius: 0.75rem !important;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.btn-danger {
  background-color: #dc3545 !important;
  color: #ffffff !important;
  border: none !important;
  height: clamp(36px, 4.5vh, 44px);
  font-size: clamp(0.875rem, 1.75vh, 1.125rem) !important;
  border-radius: 0.75rem !important;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.btn-warning {
  background-color: #ffc107 !important;
  color: #ffffff !important;
  border: none !important;
  height: clamp(36px, 4.5vh, 44px);
  font-size: clamp(0.875rem, 1.75vh, 1.125rem) !important;
  border-radius: 0.75rem !important;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.panel-col {
  padding: clamp(1rem, 2.5vw, 3rem);
}

/* ================================================
   RESPONSIVE 
================================================ */
@media (max-width: 991.98px) {
  body,
  .login-page {
    height: auto !important;
    overflow-y: auto !important;
  }

  .form-col {
    min-height: 60vh;
  }
  .login-heading {
    font-size: 1.8rem;
  }
  .signup-page-body:after {
    width: 85%;
  }
}

@media (max-width: 575.98px) {
  .login-heading {
    font-size: 1.5rem;
  }
  .feature-icon {
    flex: 0 0 80px;
    min-width: 80;
    padding: 0.5rem;
  }
  .signup-page-body:after {
    width: 100%;
  }
  .brand-row {
    gap: 0.5rem;
  }
  .brand-name {
    font-size: 1rem;
  }
}

/* ================================================
   REDUCED MOTION
================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================
   LOGIN FULLSCREEN  
================================================ */

/* Page shell */
.lfs-page {
  height: 100%;
  min-height: 100vh;
}

/* Decorative layer — abs positioned, below content */
.lfs-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Background texture / gradient overlay */
.lfs-bg-rect {
  position: absolute;
  left: -6.88%;
  top: 0;
  width: 114.19%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Main content — vertically centred, offset left */
.lfs-content {
  gap: 3.5rem;
  padding-inline: clamp(1.5rem, 6vw, 4rem);
}

/* Brand block: logo row + heading + subtitle */
.lfs-brand-block {
  gap: 12px;
}

.lfs-logo-row {
  gap: 18px;
  padding: 4.65px 0;
}

.lfs-logo-icon {
  width: 25px;
  height: 20px;
  flex-shrink: 0;
}

.lfs-brand-name {
  font-size: 21.954px;
  line-height: normal;
  color: rgba(238, 247, 255, 0.4);
  white-space: nowrap;
}

.lfs-heading {
  font-size: 86px;
  line-height: 1;
  color: #fff;
  width: 695px;
  font-weight: normal;
}

.lfs-subtitle {
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
}

/* Form width — inputs inherit Bootstrap form-control base */
.lfs-form {
  width: 383px;
}

.lfs-form .form-label {
  font-size: 0.875rem;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}

.lfs-form .form-control {
  height: 44px;
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #cecece;
  border-radius: 0.75rem !important;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: #ececec;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

.lfs-form .form-control::placeholder {
  color: #ececec;
  opacity: 1;
}

.lfs-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ececec;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 0 0 3px rgba(255, 255, 255, 0.12);
}

/* Sign In button — orange variant */
.btn-lfs-signin {
  height: 44px;
  background-color: #cc5526;
  color: #fff;
  border: none;
  border-radius: 0.75rem !important;
  font-size: 1.125rem;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.btn-lfs-signin:hover {
  filter: brightness(1.1);
  color: #fff;
}

.btn-lfs-signin:active {
	transform: scale(0.98);
}

.btn-lfs-signin:focus-visible {
  outline: 3px solid #cc5526;
  outline-offset: 2px;
  box-shadow: none;
}

.lfs-register-muted {
  color: rgba(255, 255, 255, 0.4);
}

.lfs-register-link {
  color: #fff;
  text-decoration: none;
}

.lfs-register-link:hover {
  text-decoration: underline;
  color: #fff;
}

@media (max-width: 1199.98px) {
  .lfs-content {
    width: min(675px, calc(100vw - 6rem));
  }

  .lfs-heading {
    font-size: clamp(2.5rem, 6vw, 5.375rem);
    line-height: 1.1;
    width: 100%;
  }

  .lfs-geo {
    left: 50%;
  }
}

@media (max-width: 767.98px) {
  .lfs-page {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  .lfs-content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-inline: 0;
    gap: 36px;
  }

  .lfs-heading {
    font-size: 2.5rem;
    line-height: 1.15;
    width: 100%;
  }

  .lfs-form {
    width: 100%;
  }

  .lfs-geo {
    display: none;
  }
  .lfs-content {
    gap: 2rem;
  }
}

@media (max-width: 575.98px) {
  .lfs-heading,
  .login-heading {
    font-size: 1.5rem;
  }
  .lfs-content {
    gap: 1.5rem;
  }
}

/* ================================================
   SIGN UP   
================================================ */

/* Content block — wider than fullscreen, centred ~34% from left */
.su-content {
  position: absolute;
  left: calc(34.38% - 26px);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 960px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Heading width inside the wider content block */
.su-content .lfs-heading {
  width: 710px;
}

/* 2-column form grid */
.su-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.su-form-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Glass inputs — same look as lfs-form, scoped to signup */
.su-form .form-label {
  font-size: 0.875rem;
  line-height: 20px;
  color: var(--t-label);
  margin-bottom: 0.5rem;
  font-family: var(--bs-body-font-family-medium);
}

.su-form .form-control,
.su-form .form-select,
.form-control {
  height: 44px;
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #cecece;
  border-radius: 0.75rem !important;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--t-input-txt);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

.su-form .form-control::placeholder,
.form-control::placeholder {
  color: #92979d;
  opacity: 1;
}

.su-form .form-control:focus,
.su-form .form-control:active,
.su-form .form-control:focus-visible,
.su-form .form-select:focus,
.su-form .form-select:focus-visible,
.su-form .form-select:active {
  background-color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--t-input-txt);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 0 0 3px rgba(255, 255, 255, 0.12);
}
.form-control:focus,
.form-control:active,
.form-control:focus-visible,
.form-select:focus,
.form-select:focus-visible,
.form-select:active {
  background-color: rgba(255, 255, 255, 0.4);
  border-color: rgba(206, 206, 206, 0.55);
  color: var(--t-input-txt);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 0 0 3px rgba(206, 206, 206, 0.2);
}
.form-select:focus {
  background-color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--t-input-txt);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 0 0 3px rgba(255, 255, 255, 0.12);
}

/* Country select — custom chevron replacing Bootstrap's arrow */
.su-form .form-select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23ececec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
}

.su-form .form-select option {
  background-color: #261609;
  color: #ececec;
}

/* Phone: narrow dial-code prefix + number input */
.su-phone-wrap {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.su-phone-code {
  width: 56px;
  flex-shrink: 0;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #cecece;
  border-radius: 0.75rem;
  padding: 10px 6px;
  font-size: 0.875rem;
  color: #ececec;
  text-align: center;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.su-phone-code::placeholder {
  color: #ececec;
  opacity: 1;
}

.su-phone-code:focus {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 0 0 3px rgba(255, 255, 255, 0.12);
}

/* ── Responsive ── */
@media (max-width: 1199.98px) {
  .su-content {
    left: 3rem;
    transform: translateY(-50%);
    width: min(960px, calc(100vw - 6rem));
  }

  .su-content .lfs-heading {
    width: 100%;
    font-size: clamp(2.5rem, 6vw, 5.375rem);
    line-height: 1.1;
  }

  .lfs-geo {
    left: 50%;
  }
}

@media (max-width: 767.98px) {
  .su-content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    gap: 36px;
  }

  .su-content .lfs-heading {
    font-size: 2.5rem;
    line-height: 1.15;
    width: 100%;
  }

  .su-form-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Flatten columns so fields reorder in a single flow */
  .su-form-col {
    display: contents;
  }

  .su-form-col > div:has(#name) {
    order: 1;
  }
  .su-form-col > div:has(#email) {
    order: 2;
  }
  .su-form-col > div:has(#password) {
    order: 3;
  }
  .su-form-col > div:has(#confirm-password) {
    order: 4;
  }
  .su-form-col > div:has(#country) {
    order: 5;
  }
  .su-form-col > div:has(#phone) {
    order: 6;
  }
}

@media (max-width: 575.98px) {
  .su-content .lfs-heading {
    font-size: 2rem;
  }
}

/* ================================================
   DASHBOARD  
================================================ */



/* 01  LAYOUT */
.main-wrapper {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* 02  SIDEBAR */
.main-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  transition: width 0.25s ease;
}

.main-sidebar::-webkit-scrollbar {
  width: 4px;
}
.main-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.main-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.sidebar-logo {
  padding: 0 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.sidebar-logo .brand-logo {
  gap: 0.75rem;
  text-decoration: none;
}
.sidebar-logo .brand-name {
  color: var(--white);
  font-size: 1rem;
}

/* Sidebar collapse / mobile-close toggle */
.main-sidebar.collapsed .sidebar-logo .brand-logo {
  padding: 0.5rem 0 1rem;
}

.main-sidebar.collapsed .sidebar-menu > li {
  padding-left: 6px;
  padding-right: 6px;
}

.sidebar-toggle {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  border: 0;
  transition: background 0.15s ease;
}
.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}
.sidebar-toggle img {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.25s ease;
}

/* Collapsed (desktop icon-only) state */
.main-sidebar.collapsed {
  width: 84px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.main-sidebar.collapsed .sidebar-toggle img {
  transform: rotate(180deg);
}
.main-sidebar.collapsed .sidebar-logo {
  flex-direction: column;
  gap: 0.85rem;
  padding-left: 0;
  padding-right: 0;
}
.main-sidebar.collapsed .brand-logo {
  gap: 0;
}
.main-sidebar.collapsed .brand-name,
.main-sidebar.collapsed .sidebar-group-label,
.main-sidebar.collapsed .sidebar-search,
.main-sidebar.collapsed .sidebar-item-chevron,
.main-sidebar.collapsed .sidebar-submenu,
.main-sidebar.collapsed .sidebar-has-sub .sidebar-item-chevron,
.main-sidebar.collapsed .sidebar-has-sub.open > .sidebar-submenu {
  display: none;
}
.main-sidebar.collapsed .sidebar-item {
  font-size: 0;
  gap: 0;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}
.main-sidebar.collapsed .sidebar-item .sidebar-item-icon {
  font-size: 0.9375rem;
}

.tippy-box {
  padding: 4px 8px;
  border-radius: 6px;
  background: #000;
}
.tippy-arrow {
  color: #000;
}

.tippy-box[data-animation="shift-away-subtle"][data-state="hidden"] {
  opacity: 0;
}
.tippy-box[data-animation="shift-away-subtle"][data-state="hidden"][data-placement^="top"] {
  transform: translateY(5px);
}
.tippy-box[data-animation="shift-away-subtle"][data-state="hidden"][data-placement^="bottom"] {
  transform: translateY(-5px);
}
.tippy-box[data-animation="shift-away-subtle"][data-state="hidden"][data-placement^="left"] {
  transform: translateX(5px);
}
.tippy-box[data-animation="shift-away-subtle"][data-state="hidden"][data-placement^="right"] {
  transform: translateX(-5px);
}

.sidebar-logo-img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.sidebar-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.75rem;
}

.sidebar-search-icon {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.deposit-search-icon {
  color: #b1b1b1;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.sidebar-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-reg);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.sidebar-search-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.sidebar-group:not(:last-child) {
  padding-bottom: 1.3rem;
  margin-bottom: 1.3rem;
  border-bottom: solid 1px rgba(255, 255, 255, 0.1);
}

.sidebar-group-label {
  display: block;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.6563rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.28);
  padding: 0 0.625rem;
  margin-bottom: 0.375rem;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.625rem;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.875rem;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  cursor: pointer;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
}

.sidebar-item.active {
  color: #ffffff;
}

.sidebar-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.sidebar-item-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.sidebar-item:hover .sidebar-item-icon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}

.sidebar-item.active .sidebar-item-icon {
  background: var(--orange);
  color: #ffffff;
}

.sidebar-item-badge {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  font-size: 0.5625rem;
  font-family: var(--font-bold);
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
}

.sidebar-item-chevron {
  font-size: 0.6875rem;
  opacity: 0.35;
  margin-left: auto;
  display: none;
}

.offcanvas-header .sidebar-logo {
  padding: 0;
}

/* §3  MAIN CONTENT */
.main-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--dashboard-bg);
}
.main-box .ib-page-title {
  font-family: var(--font-reg);
  font-weight: normal;
}
.mr-main-box {
  background: linear-gradient(to right, #faf5f0, #d6dadd);
}

/* §4  TOP HEADER */
.main-header {
  /* position: sticky; */
  top: 0;
  z-index: 100;
  padding: 0.875rem 1.5rem 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.main-header .brand-name {
  color: var(--t-body-text);
  font-size: 1rem;
  line-height: 1.2;
}

.hamburger {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--t-body-text);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #fff;
  padding: 0;
  transition: background 0.15s ease;
}

.hamburger:hover,
.hamburger:active,
.hamburger:focus-visible {
  background: #000 !important;
  color: #fff !important;
}

.welcome {
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.2;
}

.username {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1rem;
  color: var(--t-body-text);
  line-height: 1.2;
}

.currency-wrap {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--dashboard-bg);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 10px;
  padding: 0.3rem 0.5rem;
}

.currency-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.currency-select {
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--t-body-text);
  cursor: pointer;
  padding: 0 1.25rem 0 0;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238A8A8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: #ede9e5;
  color: var(--t-body-text);
}

.notif-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid #fff;
  position: absolute;
  top: 5px;
  right: 5px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.user-name {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}

.user-role {
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.2;
}

/* 5  CARD BASE */
.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 1.375rem 1.5rem;
  box-shadow: var(--card-shadow);
}

.card-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--t-body-text);
  margin: 0;
}

.view-all {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
}

.view-all:hover {
  text-decoration: underline;
  color: var(--orange);
}

.btn-new-account {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.35rem 0.875rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: filter 0.15s ease;
  cursor: pointer;
}

.btn-new-account:hover {
  filter: brightness(1.1);
  color: #fff;
}

/* §6  ACCOUNT SUMMARY */
.acc-tabs {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.acc-tab {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.09);
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.8125rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.acc-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.acc-tab:hover:not(.active) {
  background: rgba(245, 102, 42, 0.08);
  border-color: rgba(245, 102, 42, 0.3);
  color: var(--orange);
}

.donut-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.donut-value {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--t-body-text);
  line-height: 1.2;
}

.donut-label {
  font-size: 0.625rem;
  color: var(--muted);
  white-space: nowrap;
}

.acc-stats {
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
  flex: 1;
  min-width: 120px;
}

.acc-stat-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.acc-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.acc-stat-label {
  font-size: 0.6563rem;
  color: var(--muted);
  line-height: 1.2;
}

.acc-stat-value {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--t-body-text);
  line-height: 1.2;
}

/* Account: mini stat tiles (Open Accounts / Demo Accounts) */
.acc-mini-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: 1rem;
}

.acc-mini-tile {
  background: var(--dashboard-bg);
  border-radius: 16px;
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.acc-mini-tile-label {
  font-size: 0.6563rem;
  color: var(--muted);
  font-family: var(--font-med);
  font-weight: 500;
}

.acc-mini-tile-value {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1.625rem;
  color: var(--t-body-text);
  line-height: 1.1;
}

.acc-mini-tile-badge {
  display: inline-block;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.5625rem;
  padding: 0.1rem 0.4rem;
  border-radius: 20px;
  margin-top: 0.2rem;
  align-self: flex-start;
}

/* Account: volume row */
.acc-volume-row {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

.acc-volume-item {
}

.acc-volume-label {
  font-size: 0.6563rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.acc-volume-value {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1rem;
  color: var(--t-body-text);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Activity section */
.acc-activity-title {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--t-body-text);
  margin: 0 0 0.75rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.activity-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.045);
  position: relative;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3px;
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-line {
  width: 1px;
  flex: 1;
  background: rgba(0, 0, 0, 0.08);
  margin-top: 4px;
}

.activity-item:last-child .activity-line {
  display: none;
}

.activity-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.35;
  flex: 1;
}

.activity-text strong {
  color: var(--t-body-text);
  font-family: var(--font-med);
  font-weight: 500;
  font-weight: normal;
}

.activity-time {
  font-size: 0.625rem;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 2px;
}

/* §7  DEPOSIT & WITHDRAWAL */
.circ-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.circ-chart-wrap {
  position: relative;
  width: 120px;
  height: 120px;
}

.circ-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.circ-value {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--t-body-text);
  line-height: 1.2;
}

.circ-label {
  font-size: 0.5625rem;
  color: var(--muted);
  white-space: nowrap;
}

/* §8  WALLET SUMMARY */
.wallet-card {
  background: linear-gradient(145deg, #3a1e0a 0%, #261609 60%, #1c0e04 100%);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.wallet-label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-med);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.wallet-amount {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1.875rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0;
}

.wallet-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-wallet-deposit {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.55rem 1rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: filter 0.15s ease;
  cursor: pointer;
}

.btn-wallet-deposit:hover {
  filter: brightness(1.1);
  color: #fff;
}

.wallet-row {
  display: flex;
  gap: 0.5rem;
}

.btn-wallet-ghost {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.45rem 0.5rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: background 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-wallet-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* §9  TRADE BEHAVIOR */
.trade-chart-wrap {
  position: relative;
  height: 200px;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* §10  STAT CARDS */
.stat-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 1.125rem 1.25rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.stat-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 102, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.125rem;
  margin-bottom: 0.875rem;
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--t-body-text);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.625rem;
}

.stat-badge {
  display: inline-block;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.6563rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  align-self: flex-start;
}

.badge-positive {
  background: rgba(76, 217, 100, 0.14);
  color: #1f9438;
}

.badge-negative {
  background: rgba(255, 59, 48, 0.12);
  color: #c0392b;
}

/* §11  PROMO BANNER */
.promo-card {
  background: linear-gradient(135deg, #261609 0%, #3d1f09 45%, #4a2810 100%);
  border-radius: var(--card-radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(245, 102, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.promo-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 102, 42, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.promo-title {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.promo-sub {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.48);
  margin: 0;
}

.btn-promo {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.55rem 1.5rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
  transition: filter 0.15s ease;
  cursor: pointer;
}

.btn-promo:hover {
  filter: brightness(1.1);
  color: #fff;
}

/* §12  TABLES */
.table {
  font-size: 0.8125rem;
  margin: 0;
  width: 100%;
}

.table thead th {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.6563rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 0.5rem 0.625rem;
  white-space: nowrap;
  font-weight: normal;
}

.table tbody td {
  padding: 0.6875rem 0.625rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  color: #333;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover td {
  background: rgba(245, 102, 42, 0.03);
}

.txn-name {
  display: block;
  font-family: var(--font-med);
  font-weight: 500;
  color: var(--t-body-text);
  font-size: 0.8125rem;
  line-height: 1.2;
}

.txn-date {
  display: block;
  font-size: 0.625rem;
  color: var(--muted);
}

.txn-method {
  font-size: 0.75rem;
  color: var(--muted);
}

.txn-amount {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
}

.status-badge {
  display: inline-block;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.625rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-approved {
  background: rgba(76, 217, 100, 0.14);
  color: #1f9438;
}

.badge-pending {
  background: rgba(220, 207, 114, 0.22);
  color: #7d7000;
}

.pos-account {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.6875rem;
  color: var(--muted);
}
.pos-symbol {
  font-family: var(--font-med);
  font-weight: 500;
  color: var(--t-body-text);
  font-size: 0.8125rem;
}
.pos-date {
  font-size: 0.6875rem;
  color: var(--muted);
  white-space: nowrap;
}
.pos-pnl-pos {
  color: #1f9438;
  font-family: var(--font-med);
  font-weight: 500;
  white-space: nowrap;
}
.pos-pnl-neg {
  color: #c0392b;
  font-family: var(--font-med);
  font-weight: 500;
  white-space: nowrap;
}

.type-badge {
  display: inline-block;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.625rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.badge-buy {
  background: rgba(76, 217, 100, 0.16);
  color: #1a8c32;
}
.badge-sell {
  background: rgba(255, 59, 48, 0.13);
  color: #c0392b;
}

/* §13  MOBILE OFFCANVAS */
.offcanvas {
  background-color: var(--sidebar-bg) !important;
  width: min(288px, 88vw) !important;
  padding: 0;
}

.offcanvas .offcanvas-body {
  padding: 0 0 2rem;
  overflow-y: auto;
}

/* §14  RESPONSIVE */
@media (max-width: 1199.98px) {
  .main-sidebar {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .main-header {
    padding: 0.75rem 1rem;
  }
  .wallet-amount {
    font-size: 1.5rem;
  }
  .promo-card {
    padding: 1.25rem 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .acc-mini-tiles {
    grid-template-columns: 1fr 1fr;
  }
  .card,
  .stat-card {
    padding: 1rem 1rem;
  }
  .donut-wrap {
    width: 140px;
    height: 140px;
  }
  .trade-chart-wrap {
    height: 170px;
  }
}

@media (max-width: 575.98px) {
  .promo-title {
    font-size: 0.9375rem;
  }
  .username {
    font-size: 0.875rem;
  }
  .acc-mini-tiles {
    grid-template-columns: 1fr 1fr;
  }
  .card {
    border-radius: var(--card-radius-small);
  }
}

/* ================================================
   DASHBOARD EMPTY STATE  
================================================ */

/* §ES-1  ONBOARDING STEPPER */
.es-setup-banner {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f1f1;
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.5rem;
}

.es-setup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.es-setup-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 1.25rem;
  color: #080f1b;
  margin: 0 0 0.25rem;
}

.es-setup-sub {
  font-size: 1rem;
  color: rgba(1, 1, 1, 0.5);
  margin: 0;
}

.btn-submit-kyc {
  background: #656565;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-reg);
  font-size: 0.9375rem;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.btn-submit-kyc:hover,
.btn-submit-kyc:active {
  background: #757575 !important;
  color: #fff !important;
}

/* Stepper row */
.es-stepper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0;
  padding-bottom: 2px;
}

.es-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.es-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.es-step-done .es-step-icon {
  background: #62b37d;
  color: #fff;
}
.es-step-pend .es-step-icon {
  background: #f5f5f1;
  color: #555;
}
.es-step-lock .es-step-icon {
  background: #b1b1b1;
  color: #fff;
}

.es-step-label {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.es-step-done .es-step-label {
  color: var(--t-body-text);
}
.es-step-pend .es-step-label {
  color: var(--t-body-text);
}
.es-step-lock .es-step-label {
  color: #b1b1b1;
}

.es-step-line {
  flex: 1;
  min-width: 40px;
  height: 2px;
  margin: 0 0.75rem;
}

.es-step-line-done {
  background: #62b37d;
}
.es-step-line-gray {
  background: none;
  border-top: 2px dashed #d0d0d0;
}

/* §ES-2  ACCOUNT SUMMARY (empty) — icon-stat layout */
.es-stat-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.es-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #f9f9f7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #92979d;
  font-size: 1.0625rem;
}

.es-stat-num {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--t-body-text);
  line-height: 1.2;
}

.es-stat-label {
  font-size: 0.75rem;
  color: #b1b1b1;
  line-height: 1.2;
}

/* §ES-3  ACCOUNT TILES */
.es-acct-tile {
  border-radius: 16px;
  border: 1px solid #e6e6e6;
  padding: 0.75rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 140px;
}

.es-acct-tile-blue {
  background: #57b2fc;
}
.es-acct-tile-light {
  background: #c8e8ff;
}

.es-acct-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.es-acct-tile-label {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
}

.es-acct-tile-blue .es-acct-tile-label {
  color: #fff;
}
.es-acct-tile-light .es-acct-tile-label {
  color: var(--t-body-text);
}

.es-acct-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  flex-shrink: 0;
}

.es-acct-tile-light .es-acct-tile-icon {
  color: rgba(0, 0, 0, 0.5);
}

.es-acct-num {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 2.875rem;
  line-height: 1.2;
}

.es-acct-tile-blue .es-acct-num {
  color: #fff;
}
.es-acct-tile-light .es-acct-num {
  color: var(--t-body-text);
}

/* §ES-4  VOLUME STAT CARDS */
.es-vol-card {
  background: #fff;
  border: 1px solid #f9f9f7;
  border-radius: 16px;
  padding: 0.75rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100px;
}

.es-vol-dot {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  flex-shrink: 0;
}

.es-vol-label {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--t-body-text);
}

.es-vol-num {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--t-body-text);
  line-height: 1.2;
}

.es-vol-sub {
  font-size: 0.75rem;
  color: #92979d;
  font-family: var(--font-reg);
}

/* §ES-5  PROMO (with background image) */
.es-promo-card {
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.es-promo-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.es-promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.es-promo-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 0.875rem;
}

.es-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dbf0ff;
  border-radius: 28px;
  padding: 0.2rem 0.5rem 0.2rem 0.25rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--t-body-text);
  align-self: flex-start;
}

.es-promo-title {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.es-promo-note {
  font-size: 0.875rem;
  color: #fff;
  margin: 0;
}

.btn-claim {
  background: #656565;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-reg);
  font-size: 0.9375rem;
  align-self: flex-start;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.btn-claim:hover {
  filter: brightness(1.2);
  color: #fff;
}

/* §ES-6  EMPTY STATE (D&W, Trade Behavior) */
.es-empty-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  flex: 1;
}

.es-empty-icon {
  width: 24px;
  height: 24px;
  opacity: 0.5;
}

.es-empty-text {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.875rem;
  color: #b1b1b1;
}

/* Trade behavior ghost bars */
.es-ghost-bars {
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 0 1rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
  margin-bottom: 0.5rem;
  position: relative;
}

.es-ghost-bars::before,
.es-ghost-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.07);
}

.es-ghost-bars::before {
  top: 30%;
}
.es-ghost-bars::after {
  top: 60%;
}

.es-ghost-bar-pair {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  flex: 1;
}

.es-ghost-bar {
  flex: 1;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.07);
  min-width: 6px;
}

.es-ghost-hint {
  font-size: 0.75rem;
  color: rgba(1, 1, 1, 0.3);
  text-align: center;
  font-family: var(--font-reg);
}

/* §ES-7  GHOST TABLE (Open Positions / Transactions) */
.es-ghost-wrap {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 180px;
}

.es-ghost-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0.7;
}

.es-ghost-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 60%,
    rgba(255, 255, 255, 1) 30%,
    rgba(255, 255, 255, 0) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* §ES-8  ASSIGNED MANAGER WIDGET */
.es-manager-widget {
  background: #fff;
  border: 3px solid #ebedef;
  border-radius: 1rem;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
  gap: 0.625rem;
}

.es-manager-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.es-manager-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.es-manager-name {
  font-size: 1rem;
  color: var(--t-body-text);
  font-family: var(--font-reg);
  line-height: 1.2;
  margin-bottom: 0;
}

.es-manager-sub {
  font-size: 0.875rem;
  opacity: 0.4;
  font-family: var(--font-reg);
  line-height: 1.2;
  margin-bottom: 0;
}

.btn-get-touch {
  border: 1px solid #ebedef;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: var(--t-body-text);
  font-size: 0.9375rem;
  font-family: var(--font-reg);
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-get-touch:hover {
  background: #f5f5f5;
}

/* §ES-9  RESPONSIVE */
@media (max-width: 1199.98px) {
  .es-stepper {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .es-step-line {
    display: none;
  }
  .es-promo-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .es-setup-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .es-ghost-bars {
    height: 70px;
  }
}

/* ================================================
   SIDEBAR SUBNAV  
================================================ */

.sidebar-has-sub {
  position: relative;
}

.sidebar-item.has-sub .sidebar-item-chevron {
  margin-left: auto;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  display: flex;
}
.sidebar-has-sub.open > .sidebar-item.has-sub .sidebar-item-chevron {
  transform: rotate(90deg);
}

.sidebar-submenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 0.5rem 8px 6px 44px;
}
.sidebar-has-sub.open > .sidebar-submenu {
  display: flex;
}

.sidebar-sub-item {
  display: block;
  padding: 6px 10px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-radius: 6px;
  transition:
    color 0.15s,
    background 0.15s;
  line-height: 1.2;
}
.sidebar-sub-item:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}
.sidebar-sub-item.active {
  color: #ff661e;
}

/* ================================================
   IB PROGRAMME PAGE
================================================ */

/* Commission summary banner */
.ib-commission-banner {
  background: var(--t-body-text);
  border-radius: 16px;
  padding: 24px 32px 24px 24px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.ib-commission-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.ib-commission-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.ib-stat-label {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #b1b1b1;
  line-height: 1.2;
  margin-bottom: 8px;
}
.ib-stat-label-lg {
  font-size: 14px;
}

.ib-stat-value {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 32px;
  color: #fff;
  line-height: 1.2;
}

.ib-commission-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.btn-ib-withdraw {
  background: #cc5526;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-reg);
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ib-withdraw:hover {
  background: #b84a20;
  color: #fff;
}

.btn-ib-ghost-white {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-reg);
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ib-ghost-white:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ib-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-reg);
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ib-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* IB dashboard responsive grid rows (8/4 split) */
.ib-grid-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.ib-grid-main,
.ib-grid-side {
  min-width: 0;
}

/* Client status donut panels */
.ib-status-card {
  background: var(--card-bg);
  border-radius: 16px;
  border-bottom: 1px solid #f9f9f7;
}
.ib-donut-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  flex: 1 1 0;
  min-width: 140px;
}
.ib-donut-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.ib-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.2;
}
.ib-donut-center-label {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 14px;
  color: var(--t-body-text);
}
.ib-donut-center-pct {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
}

.ib-legend-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Client transactions card */
.ib-txn-card {
  background: var(--card-bg);
  border-radius: 16px;
  border-bottom: 1px solid #f9f9f7;
  padding: 12px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ib-txn-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ib-txn-amount {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 24px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}
.ib-txn-label {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
}

/* Client pipeline */
.ib-pipeline-card {
  background: var(--card-bg);
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 16px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ib-pipeline-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ib-pipeline-item {
  flex: 1 1 calc(50% - 12px);
  min-width: 200px;
}
.ib-pipeline-number {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 46px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.ib-pipeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ib-pipeline-name {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  color: #92979d;
  line-height: 1.2;
}
.ib-pipeline-pct {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
}
.ib-progress-track {
  height: 8px;
  background: #f0f1f1;

  overflow: hidden;
}
.ib-progress-fill {
  height: 100%;
}

/* Top 5 sub IB earnings */
.ib-top5-card {
  background: var(--card-bg);
  border: 1px solid #f0f1f1;
  border-radius: 12px;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.ib-time-tabs {
  display: flex;
}
.ib-time-tab {
  padding: 4px 8px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: #b1b1b1;
  border: none;
  background: transparent;
  border-bottom: 1px solid #ebedef;
  cursor: pointer;
  line-height: 16px;
}
.ib-time-tab.active {
  font-family: var(--font-med);
  font-weight: 500;
  color: var(--t-body-text);
  border-bottom-color: var(--t-body-text);
}

.ib-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ib-leader-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ib-leader-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ib-leader-rank {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #b1b1b1;
  width: 20px;
  text-align: center;
}
.ib-leader-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--t-body-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 13px;
  flex-shrink: 0;
}
.ib-leader-name {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1;
}
.ib-leader-lots {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}
.ib-leader-lots-label {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #b1b1b1;
  line-height: 1.2;
}

/* IB view-all button */
.btn-ib-view-all {
  background: #fff;
  border: 1px solid #ebedef;
  border-radius: 8px;
  padding: 8px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-ib-view-all:hover {
  background: #f5f5f5;
}

/* IB header page title */
.ib-page-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: #080f1b;
  line-height: 1.2;
}

/* IB currency pill */
.ib-currency-pill {
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 7px 12px;
  font-family: var(--font-reg);
  font-size: 16px;
  color: var(--t-body-text);

  line-height: 1.2;
}

@media (max-width: 1199.98px) {
  .ib-grid-row {
    grid-template-columns: 1fr;
  }
  .ib-commission-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ib-commission-stats {
    gap: 24px;
  }
  .ib-commission-actions {
    flex-wrap: wrap;
  }
  .ib-pipeline-item {
    flex: 1 1 100%;
  }
}

/* ================================================
   DEPOSIT REPORT PAGE
================================================ */

.dr-stat-card {
  border-radius: 1rem;
  padding: 12px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 164px;
}
.dr-stat-card-dark {
  background: var(--t-body-text);
}
.dr-stat-card-light {
  background: #fff;
}

.dr-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dr-stat-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
}
.dr-stat-title-light {
  color: #fff;
}
.dr-stat-title-dark {
  color: var(--t-body-text);
}

.dr-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dr-stat-icon img {
  width: 21px;
  height: 21px;
}

.dr-stat-value {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
}
.dr-stat-value-light {
  color: #fff;
}
.dr-stat-value-dark {
  color: var(--t-body-text);
}

/* Table card */
.dr-table-card {
  background: #fff;
  border: 1px solid #f9f9f7;
  border-radius: 16px;
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dr-result-tag {
  background: #f9f9f7;
  border: 1px solid rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  padding: 6px;
  font-family: var(--font-reg);
  font-size: 12px;
  color: #000;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-dr-export {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 8px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-dr-export:hover {
  background: #f5f5f5;
}

/* Search + Filters row */
.dr-search-wrap {
  background: #f9f9f7;
  border: 1px solid #f5f5f1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem;
  flex: 1;
  min-width: 0;
}
.dr-search-wrap img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.dr-search-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-reg);
  font-size: 16px;
  color: rgba(0, 0, 0, 0.8);
  width: 100%;
}
.dr-search-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.btn-dr-filters {
  background: #656565;
  border: 1.2px solid #e6e6e6;
  border-radius: 10px;
  padding: 10px 15px 10px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-reg);
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}
.btn-dr-filters img {
  width: 15px;
  height: 15px;
}
.btn-dr-filters:hover {
  background: #555;
}

/* Filter chips */
.dr-filter-chip {
  background: #f0f1f1;
  border: 1px solid rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.dr-chip-label {
  font-family: var(--font-reg);
  font-size: 10px;
  color: #92979d;
  line-height: 1.2;
}
.dr-chip-value {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.dr-chip-x {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Table scroll wrapper */
.dr-table-wrap {
  overflow-x: auto;
}

/* Table */
.dr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}
.dr-table thead th {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #b1b1b1;
  text-align: left;
  padding: 0 15px 10px 0;
  white-space: nowrap;
  font-weight: normal;
}
.dr-table tbody tr {
  border-top: 1px solid #f9f9f7;
}
.dr-table tbody td {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  padding: 10px 15px 10px 0;
  vertical-align: middle;
  white-space: nowrap;
}

/* Row avatar */
.dr-row-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--t-body-text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 10px;
  flex-shrink: 0;
  letter-spacing: 1.2px;
}

/* Method tag */
.dr-method-tag {
  background: #f5f5f1;
  border: 1px solid #f9f9f7;
  border-radius: 8px;
  padding: 6px;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 12px;
  color: var(--t-body-text);
  display: inline-block;
  line-height: 1.2;
}

/* Proof link */
.dr-proof-link {
  background: #e6e6e6;
  border: 1px solid #f9f9f7;
  border-radius: 8px;
  padding: 6px 10px 6px 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-reg);
  font-size: 12px;
  color: var(--t-body-text);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}
.dr-proof-link img {
  width: 13px;
  height: 13px;
}
.dr-proof-link:hover {
  background: #d5d5d5;
  color: var(--t-body-text);
}

/* Status badges */
.dr-badge {
  border: 1px solid #f9f9f7;
  border-radius: 8px;
  padding: 6px 8px;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 12px;
  display: inline-block;
  white-space: nowrap;
  line-height: 1.2;
}
.dr-badge-approved {
  background: #e4f2e8;
  color: #257d3e;
}
.dr-badge-rejected {
  background: #ffeced;
  color: #a41618;
}
.dr-badge-pending {
  background: #f0f0d8;
  color: #261609;
}
.dr-badge-empty {
    background: #f1f5f9;
    color: #64748b;
}
.dr-badge-client{
    background: #DBEAFE;
    color: #1D4ED8;
}
.dr-badge-ib{
    background: #EDE9FE;
    color: #7C3AED;
}
.dr-badge-request{
    background: #FEF3C7;
    color: #B45309;
}
.dr-badge-yes{
    background: #e4f2e8;
    color: #257d3e;
}
.dr-badge-no{
    background: #ffeced;
	color: #a41618;
}

/* Actions menu button */
.dr-action-btn {
  background: #e6e6e6;
  border: 1px solid #f9f9f7;
  border-radius: 8px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dr-action-btn img {
  width: 13px;
  height: 13px;
  display: block;
}
.dr-action-btn:hover {
  background: #d5d5d5;
}

/* Pagination bar */
.dr-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
}
.dr-page-info {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
}
.dr-page-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dr-page-nav {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.dr-page-nav img {
  width: 24px;
  height: 24px;
  display: block;
}

.dr-page-num {
  border-radius: 8px;
  padding: 6px 9px;
  font-family: var(--font-reg);
  font-size: 12px;
  cursor: pointer;
  line-height: 1.2;
  border: 1px solid #f9f9f7;
  background: transparent;
  color: #92979d;
  text-decoration: none;
}
.dr-page-num.active {
  background: #e6e6e6;
  color: var(--t-body-text);
}
.dr-page-num:not(.active):hover {
  background: #f5f5f5;
}

/* ================================================
   MASTER DETAIL PAGE
================================================ */

/* Profile banner */
.md-banner {
  background: var(--t-body-text);
  border-radius: 16px;
  padding: 36px 32px 36px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
}
.md-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.md-banner-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #656565;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 3px;
  flex-shrink: 0;
}
.md-banner-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.md-banner-namerow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.md-banner-name {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
}
.md-verified-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px 6px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
  white-space: nowrap;
}
.md-banner-since {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #656565;
  line-height: 1.2;
}

/* Banner stats */
.md-banner-stats {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.md-stat-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.md-stat-label {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #b1b1b1;
  line-height: 1.2;
  white-space: nowrap;
}
.md-stat-value {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 32px;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.md-stat-value-red {
  color: #ff6b6a;
}
.md-stat-value-green {
  color: #62b37d;
}

/* Follow button */
.md-follow-btn {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-reg);
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  line-height: 1.2;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: flex-start;
}
.md-follow-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Chart card */
.md-chart-card {
  background: #fff;
  border: 1px solid #f9f9f7;
  border-radius: 16px;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.md-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.md-chart-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: var(--t-body-text);
  line-height: 1.2;
}

/* Time tabs (underline style) */
.md-time-tabs {
  display: flex;
}
.md-time-tab {
  padding: 4px 8px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: #b1b1b1;
  border: none;
  border-bottom: 1px solid #ebedef;
  background: transparent;
  cursor: pointer;
  line-height: 16px;
  white-space: nowrap;
}
.md-time-tab.active {
  font-family: var(--font-med);
  font-weight: 500;
  color: var(--t-body-text);
  border-bottom-color: var(--t-body-text);
}

/* Return chart */
.md-return-chart-wrap {
  position: relative;
  height: 150px;
}

/* Monthly return bars */
.md-monthly-bars-wrap {
  display: flex;
  align-items: flex-end;
  height: 80px;
  gap: 8px;
  padding: 0 4px;
}
.md-monthly-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  height: 100%;
}
.md-monthly-bar {
  width: 12px;
  background: #00a03d;
  border-radius: 3px 3px 0 0;
}
.md-monthly-labels {
  display: flex;
  border-top: 1px solid #ebedef;
}
.md-monthly-label-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px 4px;
}
.md-monthly-label-val {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 13px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}
.md-monthly-label-period {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #92979d;
  line-height: 1.2;
  white-space: nowrap;
}

/* Open Positions card */
.md-positions-card {
  background: #fff;
  border: 1px solid #f9f9f7;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.md-positions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.md-start-btn {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 8px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}
.md-start-btn:hover {
  background: #f5f5f5;
}

/* Positions table */
.md-pos-table-wrap {
  overflow-x: auto;
}
.md-pos-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.md-pos-table thead th {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #b1b1b1;
  text-align: left;
  padding: 0 12px 12px 0;
  white-space: nowrap;
  font-weight: normal;
}
.md-pos-table tbody tr {
  border-top: 1px solid #f9f9f7;
  opacity: 0.8;
}
.md-pos-table tbody td {
  padding: 10px 12px 10px 0;
  vertical-align: middle;
  white-space: nowrap;
}
.md-pos-cell {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
}
.md-pos-cell-med {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 14px;
  color: var(--t-body-text);
}
.md-pos-cell-muted {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
}

.md-type-tag {
  border: 1px solid #f9f9f7;
  border-radius: 8px;
  padding: 5px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}
.md-type-buy {
  background: #e4f2e8;
  color: #124524;
}
.md-type-sell {
  background: #ffeced;
  color: #a41618;
}

/* Right column */
.md-right-col {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Account Info & Trading stats cards */
.md-info-card,
.md-stats-card {
  background: #fff;
  border: 1px solid #f5f5f1;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.md-card-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: var(--t-body-text);
  line-height: 1.2;
}

/* Account info rows */
.md-info-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.md-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.md-info-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #f9f9f7;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.md-info-icon-wrap img {
  width: 23px;
  height: 23px;
  display: block;
}
.md-info-label {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
  flex: 1;
}
.md-info-value {
  font-family: var(--font-reg);
  font-size: 16px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}
.md-info-value-green {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  color: #00a03d;
  line-height: 1.2;
}

/* Trading stats – donut section */
.md-donut-section {
  display: flex;
  align-items: center;
  gap: 32px;
}
.md-donut-wrap {
  position: relative;
  width: 135px;
  height: 135px;
  flex-shrink: 0;
}
.md-donut-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}
.md-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.md-donut-center-val {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.md-donut-center-lbl {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #92979d;
  line-height: 1.2;
}

.md-win-legend {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 103px;
}
.md-win-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.md-win-legend-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.md-win-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.md-win-label {
  font-family: var(--font-reg);
  font-size: 12px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.md-win-count {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1.2;
}

/* Stats grid */
.md-stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.md-stats-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.md-stats-item-val {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 18px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}
.md-stats-item-lbl {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #b1b1b1;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .md-banner {
    flex-direction: column;
  }
  .md-banner-stats {
    gap: 24px;
  }
  .md-right-col {
    width: 100%;
  }
}

/* ================================================
   COMPETITION PAGE
================================================ */

/* Banner */
.cp-banner {
  background: var(--t-body-text);
  border-radius: 16px;
  padding: 36px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-shrink: 0;
}
.cp-banner-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.cp-ended-badge {
  background: #656565;
  border-radius: 8px;
  padding: 6px 8px;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  line-height: 1.2;
  display: inline-flex;
  align-self: flex-start;
  white-space: nowrap;
}
.cp-banner-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 32px;
  color: #fff;
  line-height: 1.2;
}
.cp-banner-sub {
  font-family: var(--font-reg);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.2;
}

/* Banner stats */
.cp-banner-stats {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  flex: 1;
}
.cp-stat-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cp-stat-val {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 32px;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.cp-stat-lbl {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
  white-space: nowrap;
}

/* Your position bar */
.cp-position-bar {
  background: rgba(8, 15, 27, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.cp-rank-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-reg);
  font-size: 18px;
  color: #261609;
  flex-shrink: 0;
}
.cp-pos-body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.cp-pos-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-pos-name {
  font-family: var(--font-reg);
  font-size: 16px;
  color: var(--t-body-text);
  line-height: 1;
}
.cp-pos-sub {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1;
}
.cp-pos-gain-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.cp-pos-gain {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: #257d3e;
  line-height: 1.2;
  white-space: nowrap;
}
.cp-pos-gain-lbl {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}

/* Leaderboard card */
.cp-lb-card {
  background: #fff;
  border: 1px solid #f9f9f7;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Podium */
.cp-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding-bottom: 20px;
}
.cp-podium-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 176px;
  flex-shrink: 0;
}
.cp-podium-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cp-podium-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--t-body-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-reg);
  font-size: 12px;
  flex-shrink: 0;
}
.cp-podium-name {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
.cp-podium-prize {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  line-height: 12px;
  width: 100%;
}
.cp-prize-gold-text {
  color: #de9d00;
}
.cp-prize-silver-text {
  color: #869db2;
}
.cp-prize-bronze-text {
  color: #a9672f;
}
.cp-podium-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  width: 100%;
  font-size: 32px;
}
.cp-bar-gold {
  background: #fff6e1;
  height: 78px;
}
.cp-bar-silver {
  background: #ebedef;
  height: 46px;
}
.cp-bar-bronze {
  background: #f8ecdf;
  height: 37px;
}

/* Leaderboard table */
.cp-lb-table-wrap {
  overflow-x: auto;
}
.cp-lb-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
.cp-lb-table thead th {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #b1b1b1;
  text-align: left;
  padding: 0 8px 12px 0;
  white-space: nowrap;
  font-weight: normal;
  line-height: 16px;
}
.cp-lb-table thead th:last-child {
  width: 12rem;
  text-align: right;
}
.cp-lb-table tbody tr {
  border-top: 1px solid #f9f9f7;
}
.cp-lb-table tbody td {
  padding: 10px 8px 10px 0;
  vertical-align: middle;
}
.cp-lb-table tbody td:last-child {
  text-align: right;
}
.cp-trader-cell {
  display: flex;
  gap: 6px;
  align-items: center;
}
.cp-trader-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--t-body-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 10px;
  flex-shrink: 0;
  letter-spacing: 1.2px;
}
.cp-trader-name {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  white-space: nowrap;
  line-height: 1;
}
.cp-lb-cell {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  white-space: nowrap;
}
.cp-lb-rank-num {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #b1b1b1;
  white-space: pre;
  line-height: 1.2;
}
.cp-prize-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border-radius: 8px;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
  line-height: 12px;
}
.cp-prize-tag-gold {
  background: #fff6e1;
  color: #de9d00;
}
.cp-prize-tag-silver {
  background: #ebedef;
  color: #869db2;
}
.cp-prize-tag-bronze {
  background: #f8ecdf;
  color: #a9672f;
}
.cp-no-prize {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #b1b1b1;
  white-space: nowrap;
}
.cp-view-btn {
  background: transparent;
  border: 1px solid #f5f5f1;
  border-radius: 8px;
  padding: 8px;
  font-family: var(--font-reg);
  font-size: 12px;
  color: var(--t-body-text);
  cursor: pointer;
  line-height: 16px;
  white-space: nowrap;
}
.cp-view-btn:hover {
  background: #f5f5f5;
}

/* Right column */
.cp-right-col {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Prize structure card */
.cp-prize-card {
  background: #fff;
  border: 1px solid #f0f1f1;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cp-prize-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cp-winners-badge {
  background: #f9f9f7;
  border: 1px solid rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  padding: 6px;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 12px;
  color: #000;
  line-height: 1.2;
}
.cp-prize-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 6px;
  border-radius: 8px;
}
.cp-prize-row-gold {
  background: #fff6e1;
}
.cp-prize-row-silver {
  background: #eff1f5;
}
.cp-prize-row-bronze {
  background: #f8ecdf;
}
.cp-prize-row-left {
  display: flex;
  gap: 4px;
  align-items: center;
}
.cp-prize-emoji {
  font-size: 32px;
  line-height: 16px;
  width: 32px;
  flex-shrink: 0;
}
.cp-prize-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cp-prize-place {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
}
.cp-prize-cash {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #92979d;
  line-height: 1.2;
}
.cp-prize-amount {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Competition rules card */
.cp-rules-card {
  background: #fff;
  border: 1px solid #f5f5f1;
  border-radius: 12px;
  padding: 16px 24px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.cp-rules-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-rule-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cp-rule-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #f9f9f7;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-rule-icon img {
  width: 23px;
  height: 23px;
  display: block;
}
.cp-rule-label {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  flex: 1;
  line-height: 1.2;
}
.cp-rule-value {
  font-family: var(--font-reg);
  font-size: 16px;
  color: var(--t-body-text);
  white-space: nowrap;
  line-height: 1.2;
}

/* Medal (ribbon + metallic disc) — replaces emoji */
.cp-medal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 26px;
  flex-shrink: 0;
  line-height: 1;
}
.cp-medal-ribbon {
  position: relative;
  width: 22px;
  height: 14px;
}
.cp-medal-ribbon::before,
.cp-medal-ribbon::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 7px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    #e23b3b 0 34%,
    #f4f4f4 34% 66%,
    #2d6bff 66% 100%
  );
}
.cp-medal-ribbon::before {
  left: 3px;
  transform: rotate(20deg);
}
.cp-medal-ribbon::after {
  right: 3px;
  transform: rotate(-20deg);
}
.cp-medal-disc {
  position: relative;
  z-index: 1;
  margin-top: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.cp-medal-gold .cp-medal-disc {
  background: radial-gradient(circle at 32% 28%, #ffd76b, #e0a012);
}
.cp-medal-silver .cp-medal-disc {
  background: radial-gradient(circle at 32% 28%, #eef2f6, #a9b4c0);
}
.cp-medal-bronze .cp-medal-disc {
  background: radial-gradient(circle at 32% 28%, #e6a877, #b06a30);
}
/* Larger medal for podium bars */
.cp-medal-lg {
  width: 40px;
}
.cp-medal-lg .cp-medal-ribbon {
  width: 32px;
  height: 18px;
}
.cp-medal-lg .cp-medal-ribbon::before,
.cp-medal-lg .cp-medal-ribbon::after {
  width: 10px;
  height: 26px;
}
.cp-medal-lg .cp-medal-ribbon::before {
  left: 4px;
}
.cp-medal-lg .cp-medal-ribbon::after {
  right: 4px;
}
.cp-medal-lg .cp-medal-disc {
  margin-top: -7px;
  width: 32px;
  height: 32px;
  font-size: 15px;
  border-width: 2px;
}

@media (max-width: 1199.98px) {
  .cp-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cp-banner-stats {
    gap: 24px;
  }
  .cp-right-col {
    width: 100%;
  }
  .cp-podium-col {
    width: 120px;
  }
  .cp-podium-bar {
    font-size: 24px;
  }
}

/* ================================================
   MANAGEMENT REPORT PAGE
================================================ */
/* Filter bar */
.mr-filter-bar {
  background: rgba(8, 15, 27, 0.1);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.mr-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.mr-filter-tag {
  background: #f0f1f1;
  border: 1px solid rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  padding: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.mr-filter-key {
  font-family: var(--font-reg);
  font-size: 10px;
  color: #92979d;
  line-height: 1.2;
  white-space: nowrap;
}
.mr-filter-val {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}
.mr-filter-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.mr-filter-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.mr-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("../img/newdesign/icons/arrow-down-icon.svg") no-repeat
    right center;
  background-size: 12px;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1.2;
  padding: 0 20px 0 0;
}
.mr-filter-select option {
  font-family: var(--font-reg);
  color: var(--t-body-text);
}

/* Choices.js — match filter-tag pill style */
.mr-filter-tag .choices {
  margin: 0;
}
.mr-filter-tag .choices,
.mr-filter-tag .choices__inner {
  background: transparent;
  border: none;
  border-radius: 0;
  min-height: auto;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: 13px;
}
.mr-filter-tag .choices__inner {
  padding-right: 20px;
}
.mr-filter-tag .choices__list--single {
  padding: 0;
}
.mr-filter-tag .choices__list--single .choices__item {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.mr-filter-tag .choices.is-focused .choices__inner,
.mr-filter-tag .choices.is-open .choices__inner {
  border: none;
  box-shadow: none;
}
.mr-filter-tag .choices[data-type*="select-one"]::after {
  border-color: #92979d transparent transparent;
  right: 4px;
}
.mr-filter-tag .choices[data-type*="select-one"].is-open::after {
  border-color: transparent transparent #92979d;
}
.mr-filter-tag .choices__list--dropdown,
.mr-filter-tag .choices__list[aria-expanded] {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  margin-top: 6px;
  min-width: 180px;
  z-index: 200;
}
.mr-filter-tag .choices__list--dropdown .choices__item {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  padding: 8px 12px;
}
.mr-filter-tag
  .choices__list--dropdown
  .choices__item--selectable.is-highlighted {
  background: rgba(245, 102, 42, 0.1);
  color: var(--orange);
}
.mr-daterange {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.mr-date-trigger {
  cursor: pointer;
}
.mr-cal-popup {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 200;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  padding: 8px;
}
.mr-cal-popup[hidden] {
  display: none;
}
.mr-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mr-btn-reset {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 8px;
  width: 70px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  text-align: center;
  cursor: pointer;
  line-height: 1.2;
}
.mr-btn-reset:hover {
  background: #f5f5f5;
}
.mr-btn-apply {
  background: #656565;
  border: none;
  border-radius: 8px;
  padding: 8px;
  width: 70px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  line-height: 1.2;
}
.mr-btn-apply:hover {
  background: #4d4d4d;
}
.management-content {
  gap: 12px;
}
/* Stat cards row */
.mr-stat-cards {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}
.mr-stat-card {
  flex: 1 1 200px;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 12px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.mr-stat-card-dark {
  background: var(--t-body-text);
}
.mr-stat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mr-stat-card-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.mr-stat-card-dark .mr-stat-card-title {
  color: #fff;
}
.mr-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mr-stat-icon img {
  width: 21px;
  height: 21px;
  display: block;
}
.mr-stat-icon-grey {
  background: #656565;
}
.mr-stat-icon-green {
  background: #e4f2e8;
}
.mr-stat-icon-cream {
  background: #f5f5f1;
}
.mr-stat-num {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 46px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}
.mr-stat-card-dark .mr-stat-num {
  color: #fff;
}
.mr-stat-sub {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #92979d;
  line-height: 1.2;
}
/* Panel card */
.mr-panel {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mr-panel-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.mr-metric-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.mr-metric {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mr-metric-val {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 32px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}
.mr-metric-lbl {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  color: #92979d;
  line-height: 1.2;
}
/* Two-col equal row */
.mr-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}
.mr-row > * {
  flex: 1 1 320px;
  min-width: 0;
}
/* Pie / deposit by country */
.mr-pie-card {
  background: #fff;
  border: 1px solid #f9f9f7;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mr-tag-pill {
  background: #f9f9f7;
  border: 1px solid rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  padding: 6px;
  font-family: var(--font-reg);
  font-size: 12px;
  color: #000;
  line-height: 1.2;
  white-space: nowrap;
}
.mr-pie-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}
.mr-pie-wrap {
  position: relative;
  width: 135px;
  height: 135px;
  flex-shrink: 0;
}
.mr-pie-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}
.mr-pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mr-pie-center-val {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.mr-pie-center-pct {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
}
.mr-pie-legend {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mr-pie-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mr-pie-legend-left {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mr-pie-dot {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.mr-pie-dot-uae {
  background: #ff661e;
}
.mr-pie-legend-name {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.mr-pie-legend-amt {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  color: var(--t-body-text);
  line-height: 1.2;
  white-space: nowrap;
}
/* Mini leaderboard table card */
.mr-mini-card {
  background: #fff;
  border: 1px solid #f0f1f1;
  border-radius: 12px;
  padding: 12px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.mr-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mr-mini-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: var(--t-body-text);
  line-height: 1.2;
}
.mr-mini-tabs {
  display: flex;
}
.mr-mini-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mr-mini-table {
  width: 100%;
  border-collapse: collapse;
}
.mr-mini-table thead th {
  font-family: var(--font-reg);
  font-size: 12px;
  color: #b1b1b1;
  text-align: left;
  font-weight: normal;
  padding-bottom: 12px;
  white-space: nowrap;
}
.mr-mini-table thead th.mr-num-col {
  text-align: right;
}
.mr-mini-rank {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #b1b1b1;
  width: 20px;
}
.mr-mini-trader {
  display: flex;
  gap: 6px;
  align-items: center;
}
.mr-mini-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--t-body-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.7px;
  flex-shrink: 0;
}
.mr-mini-name {
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  line-height: 1;
  white-space: nowrap;
}
.mr-mini-table td {
  padding: 6px 0;
}
.mr-mini-table td.mr-num-col {
  text-align: right;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  color: var(--t-body-text);
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .mr-stat-num {
    font-size: 36px;
  }
  .mr-metric-val {
    font-size: 24px;
  }
  .user-dropdown {
    margin-left: auto;
  }
  .cp-pos-gain-wrap {
    align-items: flex-start;
  }
  .cp-position-bar {
    align-items: start;
  }
  .cp-podium {
    flex-direction: column;
    align-items: center;
  }
  .cp-podium .cp-podium-col:nth-child(1) {
    order: 2;
  }
  .cp-podium .cp-podium-col:nth-child(2) {
    order: 1;
  }
  .cp-podium .cp-podium-col:nth-child(3) {
    order: 3;
  }
  .cp-banner {
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .dr-pagination-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  .feature-text {
    font-size: 1rem;
  }
}

/* ============================================================
   §15  DASHBOARD REDESIGN  (screenshot match)
   ============================================================ */

/* Outline pill button (New Account / View All / Mark all read / Start Trading) */
.btn-pill-outline {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 0.45rem 1rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--t-body-text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.btn-pill-outline:hover {
  background: #f5f3f1;
  border-color: rgba(0, 0, 0, 0.22);
  color: var(--t-body-text);
}

/* Account-number tabs */
.acc-num-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 1.1rem 0 1.4rem;
}
.acc-num-tab {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 22px;
  padding: 0.4rem 0.95rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.acc-num-tab:hover:not(.active) {
  border-color: rgba(0, 0, 0, 0.22);
  color: var(--t-body-text);
}
.acc-num-tab.active {
  background: var(--t-body-text);
  border-color: var(--t-body-text);
  color: #fff;
}

/* Account Summary stats (icon + value/label) */
.summary-stats {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  flex: 1;
  min-width: 120px;
}
.summary-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.summary-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f9f9f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a9a9a;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.summary-stat-value {
  font-family: var(--font-medium);
  font-size: 0.95rem;
  color: var(--t-body-text);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}
.summary-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.2;
}

/* Open / Demo account tiles */
.account-tile {
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--card-shadow);
}
.account-tile-blue {
  background: #4aa0ef;
  color: #fff;
}
.account-tile-light {
  background: #cfe6fa;
  color: #1f3a52;
}
.account-tile-label {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.95rem;
  width: 75%;
}
.account-tile-value {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  margin-top: auto;
}
.account-tile-icon {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.account-tile-blue .account-tile-icon {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.account-tile-light .account-tile-icon {
  background: rgba(31, 58, 82, 0.12);
  color: #1f3a52;
}

/* Open / Total volume cards */
.volume-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.volume-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.volume-marker {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}
.volume-card-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--t-body-text);
}
.volume-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.volume-amount {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--t-body-text);
}
.volume-amount small {
  font-family: var(--font-reg);
  font-size: 0.7rem;
  color: var(--muted);
  margin-left: 0.3rem;
}
.volume-badge {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  color: #fff;
  white-space: nowrap;
}
.volume-badge-blue {
  background: var(--blue);
}
.volume-badge-orange {
  background: var(--orange);
}

/* Activity (simple dot list) */
.activity-desc {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 0.15rem;
  line-height: 1.35;
}
.activity-list .activity-item > .activity-dot {
  margin-top: 5px;
}

/* Deposit & Withdrawal — center pill + caption */
.circ-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--t-body-text);
  padding: 0.28rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
}
.circ-pill-blue {
  background: #eaf1ff;
}
.circ-pill-yellow {
  background: #f6f3df;
}
.circ-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.circ-caption {
  font-size: 0.8rem;
  color: var(--muted);
}
.circ-caption b {
  color: var(--t-body-text);
  font-family: var(--font-med);
  font-weight: 500;
  font-weight: normal;
}

/* Wallet Summary (redesigned) */
.wallet-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.wallet-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 1.25rem;
  color: #fff;
  font-weight: normal;
}
.wallet-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.2rem;
}
.wallet-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.wallet-balance-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.wallet-balance {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1;
}
.wallet-balance-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.wallet-btn-row {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.5rem;
}
.wallet-btn {
  flex: 1;
  border-radius: 12px;
  padding: 0.6rem 0.5rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition:
    filter 0.15s ease,
    background 0.15s ease;
}
.wallet-btn-deposit {
  background: var(--orange);
  color: #fff;
}
.wallet-btn-deposit:hover {
  filter: brightness(1.1);
  color: #fff;
}
.wallet-btn-dark {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.wallet-btn-dark:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.wallet-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.wallet-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Limited-offer promo card */
.promo-offer {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  background: var(--t-body-text) url("../img/newdesign/card-bg.avif") no-repeat center
    center;
  background-size: cover;
  padding: 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}
.promo-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #dbf0ff;

  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  align-self: flex-start;
}
.promo-offer-title {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.15;
  margin-top: 0.9rem;
}
.promo-offer-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.4rem;
}
.btn-promo-dark {
  align-self: flex-start;
  margin-top: auto;
  background: #656565;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.55rem 1.4rem;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-promo-dark:hover {
  background: #555555;
  color: #fff;
}

/* ── IB Dashboard: inline-style replacements ── */
.ib-user-avatar {
  background: #1f1f1f;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 18px;
  flex-shrink: 0;
}
.ib-user-name {
  font-family: var(--font-reg);
  font-size: 16px;
  color: #1f1f1f;
  line-height: 1.2;
}
.ib-user-role {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
}

/* User dropdown */
.user-dropdown {
  position: relative;
}
.user-dropdown-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.user-dropdown-caret {
  color: #92979d;
  font-size: 14px;
  transition: transform 0.2s ease;
}
.user-dropdown.open .user-dropdown-caret {
  transform: rotate(180deg);
}
.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: var(--card-radius-small);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  z-index: 1050;
}
.user-dropdown.open .user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-menu-item {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--font-reg);
  font-size: 15px;
  color: #1f1f1f;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.user-menu-item:hover,
.user-menu-item:focus {
  background: #f5f3f1;
  color: #1f1f1f;
}
.user-menu-item.active {
  color: var(--orange);
  background: rgba(245, 102, 42, 0.08);
}
.ib-card-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: #1f1f1f;
}
.ib-card-title-dark {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: #080f1b;
}
.ib-legend-label {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
}
.ib-legend-count {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 16px;
  color: #1f1f1f;
}
.ib-legend-dot-complete {
  background: #ff661e;
}
.ib-legend-dot-pending {
  background: #ebedef;
}
.ib-donut-legend {
  max-width: 172px;
}
.ib-donut-center-label-sm {
  font-size: 12px;
}
.ib-donut-center-label-xs {
  font-size: 11px;
}
.ib-fill-kyc {
  width: 68%;
  background: #57b2fc;
}
.ib-fill-live {
  width: 43%;
  background: #00a03d;
}
.ib-fill-ftd {
  width: 57%;
  background: #ff6b6a;
}
.ib-fill-subib {
  width: 18%;
  background: #ff661e;
}

/* ── Dashboard: inline-style replacements ── */
.volume-marker-blue {
  background: var(--blue);
}
.volume-marker-orange {
  background: var(--orange);
}
.activity-dot-blue {
  background: var(--blue);
}
.activity-dot-orange {
  background: var(--orange);
}
.activity-dot-dark {
  background: #1f1f1f;
}
.circ-pill-dot-blue {
  background: var(--blue);
}
.circ-pill-dot-yellow {
  background: var(--yellow);
}
.txn-amount-up {
  color: var(--orange);
}

/* ── Empty-state dashboard: inline-style replacements ── */
.es-vol-dot-blue {
  background: #61b8ff;
}
.es-vol-dot-orange {
  background: #ee5914;
}
.es-card-min {
  min-height: 260px;
}
.card-title-sm {
  font-size: 1.125rem;
}
.es-ghost-bar-h15 {
  height: 15%;
}
.es-ghost-bar-h20 {
  height: 20%;
}
.es-ghost-bar-h22 {
  height: 22%;
}
.es-ghost-bar-h24 {
  height: 24%;
}
.es-ghost-bar-h28 {
  height: 28%;
}
.es-ghost-bar-h35 {
  height: 35%;
}
.es-ghost-bar-h38 {
  height: 38%;
}
.es-ghost-bar-h42 {
  height: 42%;
}
.es-ghost-bar-h48 {
  height: 48%;
}
.es-ghost-bar-h55 {
  height: 55%;
}
.es-ghost-bar-h65 {
  height: 65%;
}
.es-ghost-bar-h72 {
  height: 72%;
}
.es-ghost-bar-h82 {
  height: 82%;
}

/* ── Deposit report: inline-style replacements ── */
.dr-stat-icon-gray {
  background: #656565;
}
.dr-stat-icon-green {
  background: #e4f2e8;
}
.dr-stat-icon-blue {
  background: #dbf0ff;
}
.dr-stat-icon-red {
  background: #ffeced;
}
.dr-table-title {
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 20px;
  color: #1f1f1f;
  line-height: 1.2;
}
.dr-cell-med {
  font-family: var(--font-med);
  font-weight: 500;
}
.dr-cell-reg {
  font-family: var(--font-reg);
  color: #1f1f1f;
}
.dr-cell-date {
  color: #92979d;
}
.dr-col-num {
  width: 60px;
}
.dr-col-user {
  min-width: 160px;
}
.dr-col-email {
  min-width: 180px;
}
.dr-col-phone {
  min-width: 130px;
}
.dr-col-country {
  min-width: 160px;
}
.dr-col-note {
  min-width: 160px;
}
.dr-col-comment {
  min-width: 160px;
}
.dr-col-mt5 {
  min-width: 120px;
}
.dr-col-amount {
  min-width: 80px;
}
.dr-col-method {
  min-width: 90px;
}
.dr-col-proof {
  min-width: 100px;
}
.dr-col-status {
  min-width: 100px;
}
.dr-col-date {
  min-width: 160px;
}
.dr-col-reviewer {
  min-width: 110px;
}
.dr-col-common {
  min-width: 100px;
}
.dr-col-action {
  width: 40px;
}

/* ── Master detail: inline-style replacements ── */
.md-main-bg {
  background: linear-gradient(to right, #faf5f0, #d6dadd);
}
.md-left-col {
  min-width: 0;
}
.md-chart-card-pb {
  padding-bottom: 16px;
}
.md-monthly-bar-h2 {
  height: 2px;
}
.md-monthly-bar-h62 {
  height: 62px;
}
.md-win-dot-green {
  background: #00a03d;
}
.md-win-dot-loss {
  background: #e6e6e6;
  border: 1px solid #ccc;
}
.md-win-dot-blue {
  background: #3673e8;
}

/* ── Competition: inline-style replacements ── */
.cp-col-rank {
  width: 90px;
}
.cp-col-trader {
  width: 220px;
}
.cp-col-balance {
  width: 140px;
}
.cp-col-pnl {
  width: 140px;
}
.cp-col-prize {
  width: 130px;
}

/* ================================================
   DIRECTION TOGGLE BUTTON  (floating, all pages)
================================================ */
.dir-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--orange, #f5662a);
  color: #fff;
  font-family: var(--bs-body-font-family, sans-serif);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}
.dir-toggle:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.dir-toggle:focus-visible {
  outline: 3px solid rgba(245, 102, 42, 0.4);
  outline-offset: 2px;
}
[dir="rtl"] .dir-toggle {
  right: auto;
  left: 20px;
}

/* ================================================
   RTL OVERRIDES  —  active only when <html dir="rtl">
   Base stylesheet stays LTR. Bootstrap's own RTL build
   (bootstrap.rtl.min.css) flips all Bootstrap utilities /
   components; the rules below flip the CUSTOM components
   that rely on physical (left/right) properties.
================================================ */

/* ── Marketing pages: mirror decorative + absolute blocks ── */
[dir="rtl"] .signup-page-body:after {
  right: auto;
  left: 0;
  background-position: left bottom;
}
[dir="rtl"] .su-content {
  left: auto;
  right: calc(34.38% - 26px);
  transform: translate(50%, -50%);
}
@media (max-width: 1199.98px) {
  [dir="rtl"] .su-content {
    right: 3rem;
    left: auto;
    transform: translateY(-50%);
  }
}
@media (max-width: 767.98px) {
  [dir="rtl"] .su-content {
    right: auto;
  }
}

/* ── Sidebar: end-pinned badge / chevron ── */
[dir="rtl"] .sidebar-item-badge,
[dir="rtl"] .sidebar-item-chevron,
[dir="rtl"] .sidebar-item.has-sub .sidebar-item-chevron {
  margin-left: 0;
  margin-right: auto;
}
/* Submenu indent moves to the right */
[dir="rtl"] .sidebar-submenu {
  padding-left: 8px;
  padding-right: 44px;
}
/* Expandable subnav chevron flips */
[dir="rtl"]
  .sidebar-has-sub.open
  > .sidebar-item.has-sub
  .sidebar-item-chevron {
  transform: rotate(-90deg);
}

/* ── Header ── */
[dir="rtl"] .notif-dot {
  right: auto;
  left: 5px;
}
[dir="rtl"] .currency-select {
  padding: 0 0 0 1.25rem;
  background-position: left 0 center;
}

/* ── User dropdown menu (align to inline-end) ── */
[dir="rtl"] .user-menu {
  right: auto;
  left: 0;
}
@media (max-width: 575.98px) {
  [dir="rtl"] .user-dropdown {
    margin-left: 0;
    margin-right: auto;
  }
}

/* ── Dashboard widgets ── */
[dir="rtl"] .account-tile-icon {
  right: auto;
  left: 1.1rem;
}
[dir="rtl"] .volume-amount small {
  margin-left: 0;
  margin-right: 0.3rem;
}

/* ── Data tables: header/cell alignment + column gap ── */
[dir="rtl"] .dr-table thead th,
[dir="rtl"] .md-pos-table thead th,
[dir="rtl"] .cp-lb-table thead th,
[dir="rtl"] .mr-mini-table thead th {
  text-align: right;
}
[dir="rtl"] .dr-table thead th {
  padding: 0 0 10px 15px;
}
[dir="rtl"] .dr-table tbody td {
  padding: 10px 0 10px 15px;
}
[dir="rtl"] .md-pos-table thead th {
  padding: 0 0 12px 12px;
}
[dir="rtl"] .md-pos-table tbody td {
  padding: 10px 0 10px 12px;
}
[dir="rtl"] .cp-lb-table thead th {
  padding: 0 0 12px 8px;
}
[dir="rtl"] .cp-lb-table tbody td {
  padding: 10px 0 10px 8px;
}
/* Numeric / last columns swap to the opposite edge */
[dir="rtl"] .cp-lb-table thead th:last-child,
[dir="rtl"] .cp-lb-table tbody td:last-child,
[dir="rtl"] .mr-mini-table thead th.mr-num-col,
[dir="rtl"] .mr-mini-table td.mr-num-col {
  text-align: left;
}

/* ── Custom select chevrons (background-image can't be logical) ── */
[dir="rtl"] .su-form .form-select {
  padding-right: 14px;
  padding-left: 36px;
  background-position: left 12px center;
}
[dir="rtl"] .mr-filter-select {
  padding: 0 0 0 20px;
  background-position: left center;
}

/* ── Management report: Choices.js + calendar popup ── */
[dir="rtl"] .mr-filter-tag .choices__inner {
  padding-right: 0;
  padding-left: 20px;
}
[dir="rtl"] .mr-filter-tag .choices[data-type*="select-one"]::after {
  right: auto;
  left: 4px;
}
[dir="rtl"] .mr-cal-popup {
  left: auto;
  right: 0;
}

/* ================================================
   BOOTSTRAP FORM CLASSES ON BESPOKE FIELDS
   Search boxes / phone prefix / inline filter selects now
   carry .form-control / .form-select for consistency + RTL.
   These resets keep their original borderless look while
   inheriting Bootstrap's base behaviour (sizing, RTL, a11y).
================================================ */
.sidebar-search-input.form-control,
.dr-search-input.form-control {
  height: auto;
  min-height: 0;
  padding: 0;
  line-height: 1.4;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--t-body-text);
  font-size: 0.875rem;
}
.sidebar-search-input.form-control:focus,
.dr-search-input.form-control:focus {
  background: transparent;
  box-shadow: none;
}
/* Phone prefix keeps its own compact box; only guard focus bg */
.su-phone-code.form-control:focus {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 0 0 3px rgba(255, 255, 255, 0.12);
}
/* Inline filter select stays borderless / auto-width */
.mr-filter-select.form-select {
  width: auto;
  box-shadow: none;
}
.mr-filter-select.form-select:focus {
  box-shadow: none;
}

[dir="rtl"] [type="email"],
[dir="rtl"] [type="number"],
[dir="rtl"] [type="tel"],
[dir="rtl"] [type="url"] {
  direction: rtl;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #60544b inset !important;
  -webkit-text-fill-color: #ececec !important;
  caret-color: #ececec !important;
}




/* ================================================
   ADMIN LOGIN  (node 1055-237)
================================================ */
.login-body {
  min-height: 100vh;
  background: var(--espresso) url("../img/newdesign/login-mesh.jpg") no-repeat center
    center;
  background-size: cover;
  padding: clamp(1rem, 2.5vw, 2.5rem);
}

.login-box {
  position: relative;
  min-height: calc(100vh - 5rem);
  overflow: hidden;
  border-radius: clamp(1rem, 2vw, 2rem);
  background: #1a1006 url("../img/newdesign/loin-box-bg.avif") no-repeat center center;
  background-size: cover;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 5vw, 5rem);
}

.login-brand-icon {
  height: 26px;
  width: auto;
}

.login-brand-name {
  letter-spacing: 0.04em;
  color: rgba(238, 247, 255, 0.4);
  font-size: 1.5rem;
}

/* Glass info pill */
.login-pill {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  color: var(--grey-400);
  white-space: nowrap;
}

.login-pill img {
  width: 20px;
  height: 20px;
}

.login-main {
  min-height: calc(100vh - 16rem);
  max-width: 700px;
}

.login-top-bar {
  width: 100%;
}

.login-brand-block {
  max-width: 420px;
}
.login-brand-block p {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
}

.login-intro {
  max-width: 675px;
}

.login-intro p {
  font-size: clamp(1rem, 2vw, 1.125rem);
}


/* Quick actions */
.quick-btn {
  border: none;
  border-radius: 8px;
  background: var(--grey-20);
  color: var(--t-body-text);
  padding: 0.625rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.quick-btn:hover {
  filter: brightness(0.97);
}
.quick-primary {
  background: var(--t-btn);
  color: var(--t-text);
}

 

.hamburger {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--t-body-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger:hover, .hamburger:active, .hamburger:focus-visible {
  background: #000 !important;
  color: #fff !important;
}

/* IB header page title */
.ib-page-title {
  font-family: var(--font-med);
  font-weight: 400;
  font-size: 20px;
  color: #080f1b;
  line-height: 1.2;
}

/* IB currency pill */
.ib-currency-pill {
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 7px 12px;
  font-family: var(--font-reg);
  font-size: 16px;
  color: var(--t-body-text);

  line-height: 1.2;
}

.ib-user-name {
  font-family: var(--font-reg);
  font-size: 16px;
  color: #1f1f1f;
  line-height: 1.2;
}
.ib-user-role {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
}

/* ── IB Dashboard: inline-style replacements ── */
.ib-user-avatar {
  background: #1f1f1f;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-med);
  font-weight: 500;
  font-size: 18px;
  flex-shrink: 0;
}
.ib-user-name {
  font-family: var(--font-reg);
  font-size: 16px;
  color: #1f1f1f;
  line-height: 1.2;
}
.ib-user-role {
  font-family: var(--font-reg);
  font-size: 14px;
  color: #92979d;
  line-height: 1.2;
}

.user-dropdown {
  position: relative;
}
.user-dropdown-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.user-dropdown-caret {
  color: #92979d;
  font-size: 14px;
  transition: transform 0.2s ease;
}
.user-dropdown.open .user-dropdown-caret {
  transform: rotate(180deg);
}
.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: var(--card-radius-small);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1050;
}
.user-dropdown.open .user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-menu-item {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--font-reg);
  font-size: 15px;
  color: #1f1f1f;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.user-menu-item:hover,
.user-menu-item:focus {
  background: #f5f3f1;
  color: #1f1f1f;
}
.user-menu-item.active {
  color: var(--orange);
  background: rgba(245, 102, 42, 0.08);
}

@media (max-width: 575.98px) {
   .user-dropdown {
    margin-left: auto;
  }
}

/* Alert banners */
.alert {
  background: rgba(8, 15, 27, 0.1);
  border-radius: 16px;
  padding: 0.5rem;
}
.alert-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--grey-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-body-text);
}
.alert-strong {
  font-weight: 500;
  color: var(--t-body-text-13);
}
.alert-muted {
  color: var(--grey-400);
  font-size: 0.875rem;
}
.btn-ghost {
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--t-body-text);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover {
  background: var(--grey-10);
}
.btn-grey {
  border: none;
  background: var(--grey-600);
  color: var(--white);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}
.btn-grey:hover {
  background: var(--grey-700);
}

/* Stat cards */
.stat {
  background: var(--t-text);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 0.75rem 1.5rem 1.5rem;
  gap: 1.5rem;
  min-height: 164px;
}
.stat-dark {
  background: var(--t-body-text);
}
.stat-title {
  font-weight: 500;
  font-size: 1rem;
  color: var(--t-body-text);
}
.stat-dark .stat-title {
  color: var(--t-text);
}
.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.icon-grey {
  background: var(--grey-600);
  color: var(--t-text);
}
.icon-green {
  background: var(--green-50);
  color: #1f8a4c;
}
.icon-cream {
  background: var(--grey-20);
  color: var(--t-body-text);
}
.stat-num {
  font-weight: 500;
  font-size: 2.875rem;
  line-height: 1.1;
  color: var(--t-body-text);
}
.stat-dark .stat-num {
  color: var(--t-text);
}
.stat-sub {
  font-size: 0.75rem;
  color: var(--grey-400);
  margin-top: 0.25rem;
}

/* Card */
.card {
  background: var(--white);
  border: 1px solid var(--grey-10);
  border-radius: 16px;
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--t-body-text);
}
.tag {
  background: var(--grey-10);
  border: 1px solid rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  padding: 0.375rem;
  font-size: 0.75rem;
  color: #000;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.25rem;
}
.tab {
  border: none;
  background: none;
  border-bottom: 1px solid var(--grey-100);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: var(--grey-300);
  cursor: pointer;
}
.tab.active {
  color: var(--t-body-text);
  font-weight: 500;
  border-bottom-color: var(--t-body-text);
}

/* Chart */
.chart-wrap {
  height: 196px;
  position: relative;
}
.legend-item {
  font-size: 0.75rem;
  color: var(--t-body-text);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-dep {
  background: var(--orange);
}
.dot-wd {
  background: #3673e8;
}
.dot-ib {
  background: #e4db8d;
}

/* Financial summary table */
.fin-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--t-body-text);
  padding: 0.25rem 0;
}
.fin-head {
  color: var(--grey-300);
  font-size: 0.75rem;
}

/* Client breakdown */
.break-num {
  font-weight: 500;
  font-size: 2rem;
  color: var(--t-body-text);
}
.break-lbl {
  font-weight: 500;
  font-size: 1rem;
  color: var(--grey-400);
}
.text-orange {
  color: var(--orange) !important;
}

/* Quick actions */
.quick-btn {
  border: none;
  border-radius: 8px;
  background: var(--grey-20);
  color: var(--t-body-text);
  padding: 0.625rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.quick-btn:hover {
  filter: brightness(0.97);
}
.quick-primary {
  background: var(--orange);
  color: var(--card-bg);
}

/* Pending actions */
.pend-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--grey-10);
  color: var(--t-body-text);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.pend-icon-red {
  background: var(--red-50);
  color: #d12b3a;
}
.pend-title {
  font-size: 0.875rem;
  color: var(--t-body-text);
}
.pend-sub {
  font-size: 0.75rem;
  color: var(--grey-400);
}
.pend-num {
  font-size: 1.25rem;
  color: var(--t-body-text);
}
.pend-arrow {
  color: var(--grey-300);
  font-size: 1rem;
}
 


/* ================================================
   RTL OVERRIDES  —  flip physical props not covered
   by bootstrap.rtl.css (logical utils flip on their own)
================================================ */
[dir="rtl"] .feature-icon {
  padding-left: 0.875rem;
  padding-right: 0;
}

[dir="rtl"] [type=email], [dir="rtl"] [type=number], [dir="rtl"] [type=tel], [dir="rtl"] [type=url] {
    direction: rtl;
}
/*********new css*********/
.form-control.is-invalid, .was-validated .form-control:invalid {
    background: unset !important;
}
.select2-container--default .select2-selection--single {
    height: 44px;
    border: 1px solid #ced4da;
    border-radius: 0.75rem !important;
    background-color: rgba(255, 255, 255, 0.2);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    padding-left: 15px;
    color: #333;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 10px;
}
.select2-dropdown {
    border-radius: 8px;
    border: 1px solid #ced4da;
}
.select2-search__field {
    border-radius: 6px !important;
    padding: 8px !important;
}
.select2-results__option--highlighted {
    background: #cc5526 !important;
    color: #fff !important;
}
.select2-results__option--selected {
    background: #e9ecef;
    color: #333;
}
.su-form .select2-container--default.select2-container--focus .select2-selection--single,
.su-form .select2-container--default.select2-container--open .select2-selection--single,
.su-form .select2-container--default .select2-selection--single:focus {
    border-color: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 0 0 3px rgba(255, 255, 255, 0.12) !important;
    outline: none !important;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
    border-color: rgba(206, 206, 206, 0.55) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 0 0 3px rgba(206, 206, 206, 0.2) !important;
    outline: none !important;
}
.circle-loader {
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(255,255,255,.25);
    border-top: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
    border-radius: 50%;
    display: inline-block;
    animation: circleSpin 1s linear infinite;
}
@keyframes circleSpin {
    100% {
        transform: rotate(360deg);
    }
}
.iti {
    width: 100%;
}
.iti__search-input {
    padding-top: 10px;
    padding-bottom: 10px;
}
.iti__selected-dial-code {
    color: var(--t-input-txt) !important;
}
.required {
    color: #dc3545;
}
html[dir="rtl"] .iti {
    direction: ltr;
}

html[dir="rtl"] .iti input {
    direction: ltr;
    text-align: left;
}
.password-toggle {
    position: absolute;
    top: 37px;
    right: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
	line-height: 27px;
}
.password-toggle:hover {
    color: #000;
}
.text-primary {
    color: #cc5526 !important;
}
.bg-primary {
    background: #cc5526 !important;
}
.custom-error-msg {
    font-size: 0.875em;
    margin-top: 0.25rem;
}
.googleauthsetup {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 12px;
}
.googleauthqr img {
    width: 120px;
}
.auth2fa-text {
    color: rgba(255, 255, 255, 0.5) !important;
}
.googleauthsecret .manualkey {
    color: rgba(255, 255, 255, 0.4);
}
.authinstructions {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 12px;
    padding: 15px;
    font-size: 11px;
}
#copySuccess {
    font-size: 12px;
}
#copySecret {
    background: var(--orange-600) !important;
}
.googleauthqr {
    text-align: center;
    margin-bottom: 15px;
}
.sidebar-logo .brand-icon {
    height: 24px;
}
.sidebar-logo .brand-collapse-icon {
    width: 24px;
}
#dashMain .brand-icon {
    height: 24px !important;
}
.main-sidebar.collapsed .sidebar-logo .brand-icon {
    display: none !important;
}
.main-sidebar.collapsed .sidebar-logo .brand-collapse-icon {
    display: block !important;
}
#userMenu li {
    margin-bottom: 10px;
}
#userMenu li:last-child {
	margin-bottom: 0px;
}
#userMenu li a {
    font-size: 14px;
    border: 1px solid #f2f2f2;
    padding: 8px 10px;
}
#userMenu li a i {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 7px;
}
/***** filter ******/
.filter-wrap {
    background: rgba(8, 15, 27, 0.1);
    border-radius: 16px;
    padding: 16px;
}
.filter-wrap .form-group select {
    border-radius: 8px;
    padding: .250rem 1.5rem .250rem .750rem;
    background-color: #f0f1f1;
    color: #333 !important;
	height: 34px;
	font-size: 14px;
	min-width: 100px;
}
.filter-wrap .form-group input {
    border-radius: 8px !important;
    padding: .250rem 0.750rem .250rem .750rem;
    background-color: #f0f1f1;
    color: #333 !important;
    height: 34px;
	font-size: 14px;
	min-width: 100px;
}
.filter-wrap .form-group .form-label {
    margin-bottom: 5px;
	font-size: 14px;
}
.filter-reset-btn {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 8px;
  width: 40px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: var(--t-body-text);
  text-align: center;
  cursor: pointer;
  line-height: 1.2;
  text-decoration: none;
}
.filter-reset-btn:hover {
  background: #f5f5f5;
}
.filter-submit-btn {
  background: #656565;
  border: none;
  border-radius: 8px;
  padding: 8px;
  width: 65px;
  font-family: var(--font-reg);
  font-size: 14px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  line-height: 1.2;
}
.filter-submit-btn:hover {
  background: #4d4d4d;
}
.filter-main .select2-container--default .select2-selection--single {
    height: 34px !important;
    background: #f0f1f1;
    border-color: #cecece;
	border-radius: 8px !important;
}
.filter-main .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
}
.filter-main .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
    top: 0 !important;
}
/*****notofications******/
.notification-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f5f7fb;
    color: #344054;
    font-size: 19px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.notification-btn:hover,
.notification-btn:focus {
    background: #eef2ff;
    color: #cc5526;
}
.notification-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 20px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
}
.notification-dropdown {
    width: 390px;
    padding: 0;
    margin-top: 12px !important;
    overflow: hidden;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(16, 24, 40, 0.14);
}
.notification-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #eaecf0;
}
.notification-header h6 {
    margin: 0 0 3px;
    color: #101828;
    font-size: 16px;
    font-weight: 600;
}
.notification-header span {
    color: #667085;
    font-size: 12px;
}
.mark-all-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #cc5526;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.mark-all-btn:hover {
    color: #ff661e;
}
.notification-list {
    max-height: 420px;
    overflow-y: auto;
}
.notification-form {
    margin: 0;
}
.notification-item {
    position: relative;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 0;
    border-bottom: 1px solid #f2f4f7;
    background: #f9fafb;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}
.notification-item:hover {
    background: #f9fafb;
}
.notification-item.unread {
    background: #f8faff;
}
.notification-item.unread:hover {
    background: #f1f5ff;
}
.notification-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
}
.notification-icon.success {
    background: #ecfdf3;
    color: #16a34a;
}
.notification-icon.danger {
    background: #fef2f2;
    color: #dc2626;
}
.notification-icon.warning {
    background: #fffaeb;
    color: #d97706;
}
.notification-icon.info {
    background: #eff8ff;
    color: #2563eb;
}
.notification-icon.secondary {
    background: #f2f4f7;
    color: #667085;
}
.notification-content {
    min-width: 0;
    flex: 1;
    display: block;
    padding-right: 12px;
}
.notification-title {
    display: block;
    color: #344054;
    font-size: 13px;
    line-height: 1.5;
}
.notification-title strong {
    color: #101828;
    font-weight: 600;
}
.notification-message {
    display: -webkit-box;
    margin-top: 2px;
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.notification-time {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #98a2b3;
    font-size: 11px;
}
.unread-dot {
    position: absolute;
    top: 21px;
    right: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cc5526;
}
.notification-footer {
    padding: 14px 20px;
    text-align: center;
    background: #fff;
}
.notification-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #cc5526;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.notification-footer a:hover {
    color: #ff661e;
}
.notification-empty {
    padding: 45px 20px;
    text-align: center;
}
.notification-empty-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f2f4f7;
    color: #98a2b3;
    font-size: 22px;
}
.notification-empty h6 {
    margin: 0 0 5px;
    color: #101828;
    font-size: 14px;
    font-weight: 600;
}
.notification-empty p {
    margin: 0;
    color: #667085;
    font-size: 12px;
}
.notification-list::-webkit-scrollbar {
    width: 5px;
}
.notification-list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #d0d5dd;
}
@media (max-width: 480px) {
    .notification-dropdown {
        width: 340px;
        max-width: calc(100vw - 24px);
    }
}	
.notification-row{
    display:flex;
    align-items:center;
    gap:15px;
    padding:20px;
    text-decoration:none;
    color:#111827;
    border-bottom:1px solid #f1f5f9;
    transition:.2s;
}
.notification-row:hover{
    background:#f8fafc;
}
.notification-row.unread{
    background:#f5f9ff;
}
.notification-icon{
    width:50px;
    height:50px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}
.notification-icon.success{
    background:#ecfdf3;
    color:#16a34a;
}
.notification-icon.danger{
    background:#fef2f2;
    color:#dc2626;
}
.notification-icon.warning{
    background:#fffaeb;
    color:#d97706;
}
.notification-icon.info{
    background:#eff8ff;
    color:#2563eb;
}
.notification-row h6{
    font-size:15px;
}
.notification-row p{
    font-size:14px;
}
.notification-form {
    text-decoration: none !important;
}
.notification-list-wrap .notification-form .notification-item {
    margin-bottom: 10px;
    border-bottom: unset;
    border-radius: 10px;
}
.notification-list-wrap .notification-form:last-child .notification-item{
    margin-bottom: 0;
}
/******** flatpicker*******/
.flatpickr-calendar .flatpickr-months,
.flatpickr-calendar .flatpickr-month {
    background: var(--flatpickr-primary) !important;
}
.flatpickr-calendar .flatpickr-weekdays,
.flatpickr-calendar span.flatpickr-weekday {
    background: var(--flatpickr-primary) !important;
    color: #ffffff !important;
}
.flatpickr-calendar .flatpickr-current-month,
.flatpickr-calendar .flatpickr-current-month input.cur-year,
.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    color: #ffffff !important;
}
.flatpickr-calendar
.flatpickr-current-month
.flatpickr-monthDropdown-months
.flatpickr-monthDropdown-month {
    background: #ffffff !important;
    color: #333333 !important;
}
.flatpickr-calendar .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-next-month {
    color: #ffffff !important;
    fill: #ffffff !important;
}
.flatpickr-calendar .flatpickr-prev-month svg,
.flatpickr-calendar .flatpickr-next-month svg {
    fill: #ffffff !important;
}
.flatpickr-calendar .flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.selected:hover,
.flatpickr-calendar .flatpickr-day.selected:focus,
.flatpickr-calendar .flatpickr-day.startRange,
.flatpickr-calendar .flatpickr-day.endRange,
.flatpickr-calendar .flatpickr-day.startRange:hover,
.flatpickr-calendar .flatpickr-day.endRange:hover {
    background: var(--flatpickr-primary) !important;
    border-color: var(--flatpickr-primary) !important;
    color: #ffffff !important;
}
.flatpickr-calendar .flatpickr-day.inRange {
    background: rgba(204, 85, 38, 0.15) !important;
    border-color: transparent !important;
    box-shadow:
        -5px 0 0 rgba(204, 85, 38, 0.15),
        5px 0 0 rgba(204, 85, 38, 0.15) !important;
}
.flatpickr-calendar .flatpickr-day.today {
    border-color: var(--flatpickr-primary) !important;
}
.flatpickr-calendar .flatpickr-day.today:hover,
.flatpickr-calendar .flatpickr-day.today:focus {
    background: var(--flatpickr-primary) !important;
    border-color: var(--flatpickr-primary) !important;
    color: #ffffff !important;
}
.flatpickr-calendar .flatpickr-day:hover,
.flatpickr-calendar .flatpickr-day:focus {
    background: rgba(204, 85, 38, 0.12) !important;
    border-color: rgba(204, 85, 38, 0.12) !important;
}
.flatpickr-calendar.arrowTop::before {
    border-bottom-color: #e6e6e6 !important;
}
.flatpickr-calendar.arrowTop::after {
    border-bottom-color: var(--flatpickr-primary) !important;
}
.flatpickr-calendar .flatpickr-monthDropdown-months,
.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: var(--flatpickr-primary) !important;
    color: #fff !important;
    border: none !important;
}
.flatpickr-calendar .flatpickr-monthDropdown-month {
    background: #fff !important;
    color: #333 !important;
}
.flatpickr-calendar.arrowBottom:after{
	border-top-color: var(--flatpickr-primary) !important;
}
/****no data ****/
.data-empty-col {
    padding: 0 !important;
    text-align: left;
}

.data-empty-content {
    width: 100%;
    padding: 45px 20px;
    text-align: center;
    box-sizing: border-box;
}

.data-empty-icon-img {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #98a2b3;
    font-size: 22px;
}
.data-empty-content h6 {
    margin: 0 0 5px;
    color: #101828;
    font-size: 14px;
    font-weight: 600;
}
.data-empty-content p {
    margin: 0;
    color: #667085;
    font-size: 12px;
}
/**sticky*/
.data-empty-col {
    position: relative;
}
.data-empty-content {
    position: sticky;
    left: 0;
    width: calc(100vw - 350px);
    max-width: calc(100vw - 350px);
}
/***/
@media (max-width: 767px) {
    .data-empty-row {
        display: table-row !important;
    }

    .data-empty-col {
        display: table-cell !important;
        position: relative;
        height: 250px;
    }

    .data-empty-content {
        position: sticky;
        left: 0;
        width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
        padding: 35px 15px;
        margin: 0;
        text-align: center;
        box-sizing: border-box;
    }

    .data-empty-content h6,
    .data-empty-content p {
        white-space: normal;
        text-align: center;
    }

    .data-empty-content p {
        margin-bottom: 0;
    }

    .data-empty-col::before {
        display: none !important;
        content: none !important;
    }
}
/****no data ****/
.page-title-wrap {
    margin-bottom: 1.5rem !important;
}
.page-heading {
    font-size: 24px;
}
.page-description {
    color: #6c757d;
    margin-bottom: 0;
}
.custom-card {
	border: 0;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(31, 45, 61, 0.07);
	overflow: hidden;
	padding: 0 !important;
	gap: 0 !important;
}
.custom-card .card-header {
	padding: 22px 25px;
	background: #ffffff;
	border-bottom: 1px solid #edf0f5;
}
.custom-card .card-body {
	padding: 25px;
}
.custom-card-icon {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 23px;
	background: rgba(204, 85, 38, 0.1);
	color: #cc5526;
}
.custom-card-note {
	border-radius: 12px;
	background: #f8f9fa;
	padding: 18px;
}
.custom-card-note ul {
	padding-left: 18px;
	margin-bottom: 0;
}
.custom-card-note li {
	color: #6c757d;
	font-size: 14px;
	margin-bottom: 6px;
}
.custom-card-note li:last-child {
	margin-bottom: 0;
}
.custom-card-subtitle {
    flex: 1;
}
/****document upload ****/
.document-status {
	font-size: 13px;
	padding: 6px 11px;
	border-radius: 30px;
}
.table-col-btn {
    border: 1px solid #f9f9f7;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 12px;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.2;
    color: #1f1f1f;
    text-decoration: none;
    background: #e5e5e5;
}
.upload-box {
	position: relative;
	min-height: 190px;
	padding: 25px;
	border: 2px dashed #cbd3dc;
	border-radius: 12px;
	background: #fafbfc;
	text-align: center;
	cursor: pointer;
	transition: 0.25s ease;
	overflow: hidden;
}
.upload-box:hover,
.upload-box.dragover {
	border-color: #cc5526;
	background: rgba(13, 110, 253, 0.04);
}
.upload-box.has-file {
	border-style: solid;
	border-color: #198754;
	background: rgba(25, 135, 84, 0.03);
}
.upload-box input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
.upload-icon {
	width: 55px;
	height: 55px;
	margin: 0 auto 15px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(204, 85, 38, 0.1);
	color: #cc5526;
	font-size: 25px;
}
.upload-title {
	font-weight: 600;
	margin-bottom: 6px;
}
.upload-help {
	color: #6c757d;
	font-size: 11px;
	margin-bottom: 0;
}
.file-preview {
	display: none;
}
.file-preview img {
	width: 100%;
	height: 125px;
	object-fit: contain;
	border-radius: 8px;
	margin-bottom: 10px;
	background: #f1f3f5;
}
.file-name {
	max-width: 100%;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.remove-file {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 5;
	display: none;
	border-radius: 50% !important;
    align-items: center;
    width: 30px;
    height: 30px;
}
.submit-section {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(31, 45, 61, 0.1);
    backdrop-filter: blur(10px);
}
/****document upload ****/
/****modal ****/
.modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}
.modal-header {
    padding: 18px 22px;
    background: #fff;
    border-bottom: 1px solid #eeeeee;
}
.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin: 0;
    flex: 1;
}
.modal-header .btn-close {
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background-color: #f1f3f5;
    background-size: 11px;
    opacity: 1;
    transition: all 0.2s ease;
}
.modal-header .btn-close:hover {
    background-color: #e2e6ea;
    transform: rotate(90deg);
}
.modal-body {
    padding: 20px;
    background: #f5f6f8;
}
.modal-body img {
    display: block;
    max-width: 100%;
    max-height: 72vh;
    width: auto;
    height: auto;
    margin: auto;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.modal-body iframe,
.modal-body embed,
.modal-body object {
    display: block;
    width: 100%;
    height: 72vh;
    border: 0;
    border-radius: 10px;
    background: #fff;
}
.modal-backdrop.show {
    opacity: 0.7;
}
.modal.fade .modal-dialog {
    transform: scale(0.95) translateY(15px);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}
.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}
@media (max-width: 767px) {
	.modal-dialog {
        margin: 12px;
    }
	.modal-content {
        border-radius: 14px;
    }
	.modal-header {
        padding: 15px 16px;
    }
	.modal-body {
        padding: 10px;
    }
	.modal-body img {
        max-height: 75vh;
    }
	.modal-body iframe,
    .modal-body embed,
    .modal-body object {
        height: 75vh;
    }
}
/****modal ****/
html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    min-height: 100vh;
}

/* Main layout */
.main-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    height: auto !important;
    overflow: visible !important;
}

/* Desktop sidebar */
.main-sidebar {
    flex-shrink: 0;
    min-height: 100vh;
    height: auto !important;
    align-self: stretch;
}

/* Right side */
.main-box {
    flex: 1;
    min-width: 0;
    width: 100%;
    min-height: 100vh;
    height: auto !important;

    overflow: visible !important;

    display: flex;
    flex-direction: column;

    background-color: var(--dashboard-bg);
}

/* Make content area fill remaining space */
.main-content {
    flex: 1;
    width: 100%;
    min-width: 0;
	}

/* Prevent horizontal page overflow */
.main-box > *,
.main-content,
.content-wrapper,
.container,
.container-fluid {
    max-width: 100%;
    min-width: 0;
}

/* =========================================
   MOBILE / TABLET
========================================= */

@media (max-width: 991.98px) {

    html,
    body {
        width: 100%;
        min-height: 100%;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .main-wrapper {
        display: block;
        width: 100%;
        min-height: 100vh;
        height: auto !important;
        overflow: visible !important;
    }

    .main-box {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;

        min-height: 100vh;
        height: auto !important;

        overflow: visible !important;
    }

    .main-content {
        width: 100%;
        min-width: 0;
    }
}
.letter-space-1{
	letter-spacing: 1px;
}
.letter-space-2{
	letter-spacing: 2px;
}
.letter-space-3{
	letter-spacing: 3px;
}
.letter-space-4{
	letter-spacing: 4px;
}
.letter-space-5{
	letter-spacing: 5px;
}
/******profile*****/
.app-card {
	background: #ffffff;
	border: 1px solid #e8eaed;
	border-radius: 18px;
	box-shadow: 0 4px 18px rgba(0,0,0,.025);
}
.profile-card {
	padding: 26px 19px 18px;
}	
.profile-avatar {
	width: 76px;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	background: #261609;
	color: #fff;
	border-radius: 20px;
	font-size: 24px;
	font-weight: 700;
}
.profile-name {
	text-align: center;
	font-size: 18px;
	font-weight: 650;
}
.profile-email {
	margin-top: 3px;
	color: #92979d;
	text-align: center;
	font-size: 12px;
	word-break: break-word;
}
.client-badge {
	display: table;
	margin: 12px auto 22px;
	padding: 6px 11px;
	background: #f1f3f5;
	color: #60656b;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 600;
}	
.settings-nav {
	padding-top: 15px;
	border-top: 1px solid #e8eaed;
}
.settings-nav .nav-link {
	width: 100%;
	display: flex;
	align-items: center;
	padding: 11px 12px;
	margin-bottom: 5px;
	border: 0;
	border-radius: 11px;
	background: transparent;
	color: #646970;
	text-align: left;
	font-size: 13px;
	font-weight: 500;
	transition: .2s;
}
.settings-nav .nav-link {
    background: #f7f8fa;
    color: #25282c;
}
.settings-nav .nav-link:hover {
	background: #f7f8fa;
	color: #25282c;
}
.settings-nav .nav-link.active {
	background: #261609;
	color: #fff;
}
.nav-icon {
	width: 34px;
	height: 34px;
	min-width: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	background: #f2f3f5;
	border-radius: 9px;
	font-size: 16px;
}
.settings-nav .nav-link.active .nav-icon {
	background: rgba(255,255,255,.12);
}
.nav-arrow {
	margin-left: auto;
	font-size: 11px;
	opacity: .6;
}
.manager-card {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 17px;
	padding: 15px 16px;
}
.manager-icon {
	width: 42px;
	height: 42px;
	min-width: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	font-size: 18px;
}
.ib-manager-icon {
	background: #eef2ff;
	color: #5264d9;
}
.sales-manager-icon {
	background: #eaf7f0;
	color: #198754;
}
.manager-content {
	flex: 1;
	min-width: 0;
}
.manager-type {
	margin-bottom: 2px;
	color: #969ba1;
	font-size: 10px;
	font-weight: 500;
}
.manager-name {
	color: #292c30;
	font-size: 12px;
	font-weight: 650;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.manager-verified {
	color: #198754;
	font-size: 14px;
}
.content-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 25px 29px 21px;
	border-bottom: 1px solid #e8eaed;
}
.content-title {
	display: flex;
	align-items: center;
	gap: 13px;
}
.content-title-icon {
	width: 46px;
	height: 46px;
	min-width: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2f3f5;
	border-radius: 12px;
	font-size: 20px;
}
.content-title h4 {
	margin: 0 0 3px;
	font-size: 18px;
	font-weight: 650;
}
.content-title p {
	margin: 0;
	color: #92979d;
	font-size: 12px;
}
.content-body {
	padding: 29px;
}
.verified-label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 10px;
	background: #eaf7f0;
	color: #157347;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 600;
}
.profile-info-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid #e8eaed;
}
.profile-big-avatar {
	width: 66px;
	height: 66px;
	min-width: 66px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #261609;
	color: #fff;
	border-radius: 17px;
	font-size: 21px;
	font-weight: 700;
}
.profile-info-name {
	margin: 0 0 3px;
	font-size: 17px;
	font-weight: 650;
}
.profile-info-email {
	color: #92979d;
	font-size: 12px;
}
.account-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 7px;
	padding: 5px 9px;
	background: #edf8f1;
	color: #157347;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 600;
}
.status-dot {
	width: 6px;
	height: 6px;
	background: #198754;
	border-radius: 50%;
}
.info-section {
	border: 1px solid #e8eaed;
	border-radius: 14px;
	overflow: hidden;
}
.info-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 19px;
	background: #fafbfc;
	border-bottom: 1px solid #e8eaed;
}
.info-section-header h6 {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 650;
}
.info-section-header p {
	margin: 0;
	color: #92979d;
	font-size: 10px;
}
.info-section-header > i {
	color: #a1a5aa;
	font-size: 17px;
}
.info-item {
	min-height: 83px;
	display: flex;
	align-items: center;
	padding: 17px 19px;
	border-bottom: 1px solid #f0f1f3;
}
.info-icon {
	width: 39px;
	height: 39px;
	min-width: 39px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
	background: #f5f6f8;
	color: #666b72;
	border-radius: 10px;
	font-size: 16px;
}
.info-label {
	margin-bottom: 3px;
	color: #969ba1;
	font-size: 10px;
}
.info-value {
	color: #292c30;
	font-size: 12px;
	font-weight: 600;
}
.mini-verified {
	margin-left: 4px;
	color: #198754;
}
.kyc-status-wrap {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.kyc-approved {
	color: #16a34a;
}
.kyc-not-uploaded {
    color: #6c757d;
}
.kyc-review {
    color: #f59e0b;
}
.kyc-rejected {
    color: #dc2626;
}
.profile-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 23px;
	padding: 15px 17px;
	background: #f7f8fa;
	border: 1px solid #e8eaed;
	border-radius: 12px;
}
.notice-icon {
	width: 34px;
	height: 34px;
	min-width: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 9px;
}
.notice-title {
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: 650;
}
.notice-text {
	color: #92979d;
	font-size: 10px;
	line-height: 1.6;
}
.custom-input {
	min-height: 48px;
	padding: 10px 13px;
	border: 1px solid #dfe2e6;
	border-radius: 10px;
	font-size: 13px;
}
.custom-input:focus {
	border-color: #969ba1;
	box-shadow: 0 0 0 3px rgba(23,25,28,.05);
}
.btn-main {
	min-height: 44px;
	padding: 10px 19px;
	background: #261609;
	color: #fff;
	border: 0;
	border-radius: 9px;
	font-size: 12px;
	font-weight: 600;
}
.btn-main:hover {
	background: #292c31;
	color: #fff;
}
.password-container {
	max-width: 650px;
}
.password-field {
	position: relative;
}
.password-field input {
	padding-right: 45px;
}
.show-password {
	position: absolute;
	right: 14px;
	top: 11px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #82878d;
	font-size: 17px;
}
.password-rules {
	margin-top: 20px;
	padding: 15px 17px;
	background: #f7f8fa;
	border: 1px solid #e8eaed;
	border-radius: 12px;
}
.password-rules h6 {
	margin-bottom: 11px;
	font-size: 11px;
	font-weight: 650;
}
.password-rule {
	margin-bottom: 6px;
	color: #767b82;
	font-size: 10px;
}
.password-rule:last-child {
	margin-bottom: 0;
}
.password-rule i {
	margin-right: 6px;
}
.form-footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 23px;
	padding-top: 21px;
	border-top: 1px solid #e8eaed;
}
.twofa-disabled-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	background: #fff4e5;
	color: #a45b00;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 600;
}
.twofa-disabled-badge span {
	width: 6px;
	height: 6px;
	background: #f0a128;
	border-radius: 50%;
}
.twofa-enabled-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #eaf8f0;
    color: #16834b;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
}
.twofa-enabled-badge span {
    width: 6px;
    height: 6px;
    background: #22a861;
    border-radius: 50%;
}
.setup-hint {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	padding: 15px 17px;
	background: #f7f8fa;
	border: 1px solid #e8eaed;
	border-radius: 12px;
}
.setup-hint-icon {
	width: 35px;
	height: 35px;
	min-width: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 9px;
	font-size: 15px;
}
.setup-hint-title {
	margin-bottom: 3px;
	color: #303338;
	font-size: 12px;
	font-weight: 650;
}
.setup-hint-text {
	max-width: 650px;
	color: #92979d;
	font-size: 10px;
	line-height: 1.6;
}
.twofa-setup {
	padding: 25px;
	border: 1px solid #e8eaed;
	border-radius: 14px;
}
.qr-section {
	padding-right: 25px;
	text-align: center;
	border-right: 1px solid #e8eaed;
}
.step-label {
	display: inline-flex;
	margin-bottom: 8px;
	padding: 4px 9px;
	background: #f1f3f5;
	color: #747980;
	border-radius: 20px;
	font-size: 9px;
	font-weight: 650;
}
.qr-section h6 {
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 650;
}
.qr-section > p {
	margin-bottom: 15px;
	color: #92979d;
	font-size: 10px;
}
/* QR */

.qr-box {
	width: 140px;
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	padding: 10px;
	background: #fff;
	border: 1px solid #e3e5e8;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0,0,0,.04);
}
.qr-box img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
/* SECRET */

.manual-key-title {
	margin-bottom: 8px;
	color: #92979d;
	font-size: 10px;
}
.secret-key-box {
	max-width: 240px;
	display: flex;
	align-items: center;
	margin: auto;
	background: #f7f8fa;
	border: 1px dashed #d9dce0;
	border-radius: 9px;
	overflow: hidden;
}
.secret-key-box code {
	flex: 1;
	padding: 10px;
	color: #33373c;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .7px;
}
.copy-secret {
	width: 40px;
	height: 40px;
	border: 0;
	border-left: 1px solid #e3e5e8;
	background: transparent;
	color: #73787f;
}
.copy-secret:hover {
	background: #eceef1;
}
.secret-hint {
	margin-top: 6px;
	color: #92979d;
	font-size: 9px;
}
.verify-section {
	padding-left: 15px;
}
.verify-section h5 {
	margin-bottom: 6px;
	font-size: 16px;
	font-weight: 650;
}
.verify-description {
	max-width: 480px;
	margin-bottom: 25px;
	color: #92979d;
	font-size: 11px;
	line-height: 1.6;
}
.verification-input {
	position: relative;
}
.verification-input > i {
	position: absolute;
    left: 15px;
    top: 13px;
    color: #90959b;
}
.verification-input input {
	width: 100%;
	padding: 10px 15px 10px 43px;
	border: 1px solid #dfe2e6;
	letter-spacing: 4px;
}
.code-hint {
	max-width: 400px;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-top: 7px;
	color: #92979d;
	font-size: 9px;
	line-height: 1.5;
}
.security-note {
	max-width: 470px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 27px;
	padding-top: 18px;
	border-top: 1px solid #e8eaed;
	color: #92979d;
	text-align: left;
}
.security-note > i {
	margin-top: 2px;
	color: #6e7379;
}
.security-note strong {
	display: block;
	margin-bottom: 2px;
	color: #51555a;
	font-size: 10px;
}
.security-note span {
	display: block;
	font-size: 9px;
	line-height: 1.5;
}
@media (min-width: 768px) {
	.info-section .row > div:nth-child(odd) .info-item {
		border-right: 1px solid #f0f1f3;
	}
	.info-section .row > div:nth-last-child(-n+2) .info-item {
		border-bottom: 0;
	}
}

@media (max-width: 991px) {
	.settings-nav {
		display: flex;
		flex-wrap: nowrap;
		gap: 5px;
		overflow-x: auto;
	}
	.settings-nav .nav-link {
		width: auto;
		min-width: max-content;
	}
	.nav-arrow {
		display: none;
	}
	.security-summary {
		display: none;
	}
}

@media (max-width: 767px) {
	.info-item {
		border-bottom: 1px solid #f0f1f3 !important;
	}
	.info-section .row > div:last-child .info-item {
		border-bottom: 0 !important;
	}
	.twofa-setup {
		padding: 20px;
	}
	.qr-section {
		padding-right: 0;
		padding-bottom: 25px;
		border-right: 0;
		border-bottom: 1px solid #e8eaed;
	}
	.verify-section {
		padding-top: 10px;
		padding-left: 0;
	}
	.verification-input {
		max-width: 100%;
	}
	.enable-twofa-btn {
		width: 100%;
	}
}

@media (max-width: 576px) {
	.settings-page {
		padding: 20px 12px 40px;
	}
	.page-header h2 {
		font-size: 23px;
	}
	.content-header {
		padding: 19px;
	}
	.content-body {
		padding: 19px;
	}
	.twofa-hero {
		flex-direction: column;
		align-items: flex-start;
	}
	.content-title-icon {
		width: 42px;
		height: 42px;
		min-width: 42px;
	}
	.profile-info-header {
		align-items: flex-start;
	}
	.form-footer {
		display: block;
	}
	.form-footer .btn-main {
		width: 100%;
	}
	.twofa-disabled-badge {
		display: none;
	}
    .login-switch {
        width: 44px;
        min-width: 44px;
        height: 24px;
    }
    .switch-slider::before {
        width: 18px;
        height: 18px;
    }
    .login-switch input:checked + .switch-slider::before {
        transform: translateX(20px);
    }
}
.twofa-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px;
	background: #f5fbf7;
	border: 1px solid #dceee4;
	border-radius: 14px;
	margin-bottom: 27px;
}
.twofa-left {
	display: flex;
	align-items: center;
	gap: 14px;
}
.twofa-icon {
	width: 53px;
	height: 53px;
	min-width: 53px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #dff4e8;
	color: #198754;
	border-radius: 14px;
	font-size: 24px;
}
.twofa-title {
	margin-bottom: 3px;
	font-size: 14px;
	font-weight: 650;
}
.twofa-description {
	color: #92979d;
	font-size: 11px;
}
.enabled-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 10px;
	background: #dff4e8;
	color: #157347;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 650;
}
.security-title {
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 650;
}
.security-row {
	display: flex;
	align-items: center;
	padding: 15px 4px;
	border-bottom: 1px solid #e8eaed;
}
.security-row:last-child {
	border-bottom: 0;
}
.security-row-icon {
	width: 41px;
	height: 41px;
	min-width: 41px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
	background: #f7f8fa;
	border-radius: 10px;
	font-size: 17px;
}
.security-row-name {
	font-size: 12px;
	font-weight: 600;
}
.security-row-desc {
	margin-top: 2px;
	color: #92979d;
	font-size: 10px;
}
.security-check {
	margin-left: auto;
	color: #198754;
	font-size: 17px;
}
.security-check-failed {
    margin-left: auto;
    color: #dc2626;
    font-size: 17px;
}
.login-protection-area {
	margin-top: 27px;
	padding: 17px 19px;
	border-radius: 12px;
}
.login-protection-area h6 {
	margin: 0 0 3px;
	font-size: 12px;
	font-weight: 650;
}
.login-protection-area p {
	margin: 0;
	color: #92979d;
	font-size: 10px;
}
.danger-protection {
    border: 1px solid #ecb0b5;
}
.success-protection {
    border: 1px solid #a6f1ce;
}
.btn-disable {
	padding: 8px 13px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 600;
}
.btn-enable {
	padding: 8px 13px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 600;
}
.login-protection-content {
    flex: 1;
    min-width: 0;
}
.login-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 25px;
    min-width: 46px;
    margin-left: 10px;
}
.login-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #cbd5e1;
    border-radius: 30px;
    transition: 0.25s ease;
}
.switch-slider::before {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: 0.25s ease;
}
.login-switch input:checked + .switch-slider {
    background: #198754;
}
.login-switch input:checked + .switch-slider::before {
    transform: translateX(21px);
}
.email-otp-input {
    position: relative;
    width: 100%;
}
.otp-left-icon {
    position: absolute;
    left: 15px;
    top: 13px;
    color: #90959b;
}
.send-otp-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 0.75rem !important;
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.send-otp-btn:hover {
    background: #1e293b;
}
.send-otp-btn:disabled {
    background: #e2e8f0;
    color: #64748b;
    cursor: not-allowed;
}
.email-otp-message {
    margin-top: 0.25em;
    font-size: 10.7px;
}
.email-otp-message.success {
    color: #15803d;
}
.email-otp-message.error {
    color: #dc2626;
}
.twofa-modal .modal-content {
	border: 0;
	border-radius: 20px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
}
.twofa-modal .modal-body {
	padding: 30px;
	background: #fff;
}
.twofa-modal .twofa-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 15px;
	font-size: 28px;
}
.twofa-modal .twofa-icon.enable {
	background: rgba(25, 135, 84, 0.12);
	color: #198754;
}
.twofa-modal .twofa-icon.disable {
	background: rgba(220, 53, 69, 0.12);
	color: #dc3545;
}
.twofa-modal .modal-title-custom {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 7px;
}
.twofa-modal .modal-description {
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 0;
}
.twofa-modal .modal-action-btn {
	min-height: 46px;
	border-radius: 10px;
	font-weight: 600;
}
/******profile*****/
.client-id-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2563eb;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    background: #eff6ff;
    transition: all .2s ease;
    font-size: 13px;
}
.client-id-link:hover {
    background: #dbeafe;
    color: #1d4ed8;
    text-decoration: none;
}
.action-group{
    display:flex;
    align-items:center;
    gap:7px;
}
.action-btn{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    font-size:14px;
    text-decoration:none;
    border:1px solid transparent;
    transition:all .2s ease;
}
.action-view{
    background:#eff6ff;
    color:#2563eb;
    border-color:#dbeafe;
}
.action-view:hover{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
}
.action-edit{
    background:#fff7ed;
    color:#ea580c;
    border-color:#ffedd5;
}
.action-edit:hover{
    background:#ea580c;
    color:#fff;
    border-color:#ea580c;
}
.action-delete{
    background:#fef2f2;
    color:#dc2626;
    border-color:#fee2e2;
}
.action-delete:hover{
    background:#dc2626;
    color:#fff;
    border-color:#dc2626;
}
.action-restore{
    background:#f0fdf4;
    color:#16a34a;
    border-color:#dcfce7;
}
.action-restore:hover{
    background:#16a34a;
    color:#fff;
    border-color:#16a34a;
}
.action-btn i{
    line-height:1;
}
@media (min-width: 768px) {
	.width-pc-100 {
		width: 100px;
	}
	.width-pc-150 {
		width: 150px;
	}
	.width-pc-200 {
		width: 200px;
	}
	.width-pc-250 {
		width: 250px;
	}
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 44px;
    font-size: 1.5em;
    font-weight: 500;
    color: #888;
    margin-right: 30px;
}
/***kyc pending***/
.action-btn{
	width:38px;
	height:38px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:9px;
	text-decoration:none;
	transition:.2s ease;
}
.action-view{
	background:#eff6ff;
	color:#2563eb;
	border:1px solid #dbeafe;
}
.action-view:hover{
	background:#2563eb;
	border-color:#2563eb;
	color:#fff;
}
.custom-card-footer{
	padding:15px 22px;
	border-top:1px solid #eef0f4;
	background:#fff;
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:15px;
}
#kycReviewModal .modal-dialog{
	max-width:1320px;
}
#kycReviewModal .modal-content{
	border:0;
	border-radius:18px;
	box-shadow:0 25px 70px rgba(15,23,42,.20);
}
#kycReviewModal .modal-title{
	margin:0;
	font-size:18px;
	font-weight:700;
	color:#111827;
}
.client-summary{
	margin-bottom:22px;
	padding:18px;
	background:#fff;
	border:1px solid #e5e7eb;
	border-radius:14px;
}
.summary-label{
	margin-bottom:5px;
	color:#9ca3af;
	font-size:11px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.04em;
}
.summary-value{
	color:#111827;
	font-size:14px;
	font-weight:600;
}
.document-card{
	height:100%;
	background:#fff;
	border:1px solid #e5e7eb;
	border-radius:14px;
	overflow:hidden;
	box-shadow:0 2px 7px rgba(15,23,42,.02);
}
.document-header{
	min-height:68px;
	padding:14px 16px;
	border-bottom:1px solid #edf0f4;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
}
.document-title{
	margin-bottom:2px;
	color:#111827;
	font-size:14px;
	font-weight:700;
}
.document-subtitle{
	color:#9ca3af;
	font-size:11px;
}
.status-badge{
	display:inline-flex;
	align-items:center;
	padding:5px 9px;
	border-radius:20px;
	font-size:11px;
	font-weight:700;
	white-space:nowrap;
}
.status-pending{
	background:#fff7ed;
	color:#d97706;
	border:1px solid #fed7aa;
}
.status-approved{
	background:#f0fdf4;
	color:#16a34a;
	border:1px solid #bbf7d0;
}
.status-rejected{
	background:#fef2f2;
	color:#dc2626;
	border:1px solid #fecaca;
}
.document-preview{
	position:relative;
	height:250px;
	padding:15px;
	background:#f8fafc;
	border-bottom:1px solid #edf0f4;
	display:flex;
	align-items:center;
	justify-content:center;
}
.document-preview img{
	width:100%;
	height:100%;
	display:block;
	object-fit:contain;
	border-radius:8px;
}
.pdf-preview{
	text-align:center;
}
.pdf-preview i{
	display:block;
	margin-bottom:8px;
	color:#dc2626;
	font-size:64px;
}
.pdf-name{
	color:#111827;
	font-size:13px;
	font-weight:600;
}
.pdf-type{
	margin-top:3px;
	color:#9ca3af;
	font-size:11px;
}
.document-body{
	padding:16px;
}
.info-box{
	margin-bottom:16px;
	padding:12px 14px;
	background:#f8fafc;
	border:1px solid #edf0f4;
	border-radius:10px;
}
.info-row{
	margin-bottom:10px;
}
.info-row:last-child{
	margin-bottom:0;
}
.info-label{
	display:block;
	margin-bottom:2px;
	color:#9ca3af;
	font-size:11px;
}
.info-value{
	display:block;
	color:#111827;
	font-size:13px;
	font-weight:600;
	word-break:break-word;
}
.view-document{
	width:100%;
	border-radius:9px;
	font-size:12px;
	font-weight:600;
	text-align: center;
}
.review-label{
	display:block;
	margin-bottom:7px;
	color:#374151;
	font-size:12px;
	font-weight:700;
}
.required{
	margin-left:2px;
	color:#dc2626;
}
.status-options{
	display:flex;
	gap:10px;
	margin-bottom:17px;
}
.kyc-status-option{
	flex:1;
	margin:0;
	cursor:pointer;
}
.kyc-status-option input{
	position:absolute;
	opacity:0;
	pointer-events:none;
}
.kyc-status-option span{
	width:100%;
	min-height:42px;
	padding:8px 12px;
	background:#fff;
	border:1px solid #e5e7eb;
	border-radius:9px;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:7px;
	font-size:13px;
	font-weight:600;
	transition:
		background .2s ease,
		border-color .2s ease,
		color .2s ease,
		box-shadow .2s ease,
		transform .1s ease;
}
.kyc-status-option span:active{
	transform:scale(.98);
}
.approve-option span{
	color:#16a34a;
}
.reject-option span{
	color:#dc2626;
}
.approve-option input:checked + span{
	background:#f0fdf4;
	color:#15803d;
	border-color:#16a34a;
	box-shadow:0 0 0 3px rgba(22,163,74,.08);
}
.reject-option input:checked + span{
	background:#fef2f2;
	color:#b91c1c;
	border-color:#dc2626;
	box-shadow:0 0 0 3px rgba(220,38,38,.08);
}
.approve-option input:focus-visible + span,
.reject-option input:focus-visible + span{
	outline:2px solid #2563eb;
	outline-offset:2px;
}
.document-comment{
	min-height:95px;
	resize:vertical;
	border-radius:9px;
	border-color:#e2e8f0;
	font-size:13px;
	box-shadow:none;
}
.document-comment:focus{
	border-color:#93c5fd;
	box-shadow:0 0 0 3px rgba(37,99,235,.08);
}
.comment-hint{
	display:block;
	margin-top:6px;
	color:#9ca3af;
	font-size:11px;
}
#kycReviewModal .modal-footer .btn{
	min-width:125px;
	min-height:40px;
	border-radius:9px;
	font-size:13px;
	font-weight:600;
}
.btn-cancel{
	background:#f8fafc;
	color:#475569;
	border:1px solid #e2e8f0;
}
.btn-cancel:hover{
	background:#f1f5f9;
	color:#334155;
	border-color:#cbd5e1;
}
.submit-review{
	background:#2563eb;
	color:#fff;
	border:1px solid #2563eb;
}
.submit-review:hover{
	background:#1d4ed8;
	border-color:#1d4ed8;
	color:#fff;
}
#kycReviewModal .modal-body::-webkit-scrollbar{
	width:7px;
}
#kycReviewModal .modal-body::-webkit-scrollbar-track{
	background:transparent;
}
#kycReviewModal .modal-body::-webkit-scrollbar-thumb{
	background:#cbd5e1;
	border-radius:20px;
}
#kycReviewModal .modal-body::-webkit-scrollbar-thumb:hover{
	background:#94a3b8;
}
@media(max-width:991px){
	#kycReviewModal .modal-dialog{
		max-width:calc(100% - 30px);
		margin-left:auto;
		margin-right:auto;
	}
	.document-preview{
		height:300px;
	}
}
@media(max-width:767px){
	.custom-card-header{
		flex-direction:column;
		align-items:stretch;
	}
	.filter-group{
		flex-direction:column;
	}
	.filter-group .form-control,
	.filter-group .form-select{
		width:100% !important;
	}
	.custom-card-footer{
		flex-direction:column;
		align-items:flex-start;
	}
	#kycReviewModal .modal-dialog{
		max-width:none;
		margin:10px;
	}
	.status-options{
		flex-direction:column;
	}
	#kycReviewModal .modal-footer .btn{
		width:100%;
		margin:0;
	}
}
.phoneinline {
    display: flex;
    width: 100%;
}
#phonecode {
    flex-basis: 0;
    flex-grow: 1;
    padding: 0 5px;
    width: 55px;
    margin-right: 10px;
}
/*****method****/
.methods-container {
	padding: 26px;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 18px;
	box-shadow: 0 4px 18px rgba(0,0,0,.025);
}
.methods-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 23px;
}
.heading-icon {
	width: 43px;
	height: 43px;
	min-width: 43px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2f3f5;
	border-radius: 11px;
	font-size: 18px;
}
.methods-heading h5 {
	margin: 0 0 3px;
	font-size: 15px;
	font-weight: 650;
}
.methods-heading p {
	margin: 0;
	color: #858a91;
	font-size: 10px;
}
.method-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}
.method-box {
	position: relative;
	min-height: 165px;
	height: 100%;
	padding: 20px;
	background: #ffffff;
	border: 1px solid #e8eaed;
	border-radius: 14px;
	cursor: pointer;
	transition:
		transform .2s ease,
		border-color .2s ease,
		box-shadow .2s ease;
}
.method-box:hover {
	transform: translateY(-3px);
	border-color: #c7cbd0;
	box-shadow: 0 9px 25px rgba(0,0,0,.055);
}
.method-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 18px;
}
.method-icon {
	width: 47px;
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	font-size: 20px;
}
.method-arrow {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f6f7f8;
	color: #8b9096;
	border-radius: 50%;
	font-size: 11px;
	transition: .2s;
}
.method-box:hover .method-arrow {
	background: #cc5526;
	color: #fff;
	transform: translateX(2px);
}
.method-name {
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 600;
}
.method-description {
	padding-right: 20px;
	color: #858a91;
	font-size: 12px;
	line-height: 1.55;
}
.bank-icon {
	background: #eaf7f0;
}
.local-icon {
	background: #fff4e5;
}
.crypto-icon {
	background: #f4efff;
}
.skrill-icon {
	background: #ffe6ff;
}
.paypal-icon {
	background: #d6f3ff;
}
.neteller-icon {
	background: #d6f5d6;
}
.stic-icon {
	background: #fbece6;
}
.upi-icon {
	background: #fff0f4;
}
.method-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 11px;
	padding: 4px 7px;
	background: #edf8f1;
	color: #157347;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 650;
}
.secure-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 22px;
	color: #969ba1;
	font-size: 12px;
}
.secure-footer i {
	color: #198754;
}
@media(max-width: 576px) {
	.page-header h2 {
		font-size: 23px;
	}
	.methods-container {
		padding: 18px;
	}
	.method-box {
		min-height: 145px;
	}
}
/*****transaction form****/
.transaction-card{
    background:#fff;
    border:1px solid #e8eaed;
    border-radius:18px;
    box-shadow:0 4px 18px rgba(0,0,0,.025);
    overflow:hidden
}
 .transaction-card-header{
    padding:22px 26px;
    border-bottom:1px solid #e8eaed;
    display:flex;
    align-items:center;
    gap:13px
}
 .transaction-header-icon{
    width:46px;
    height:46px;
    flex:none;
    background:#f2f3f5;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px
}
 .transaction-card-header h5{
    font-size:17px;
    font-weight:650;
    margin:0 0 4px
}
 .transaction-card-header p{
    color:#858a91;
    font-size:11px;
    margin:0
}
 .transaction-card-body{
    padding:26px
}
 .transaction-step-title{
    display:flex;
    align-items:center;
    font-size:12px;
    font-weight:650;
    margin-bottom:19px
}
 .transaction-step-number{
    width:24px;
    height:24px;
    border-radius:50%;
    background:#17191c;
    color:#fff;
    font-size:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:9px
}
 .transaction-hint{
    font-size:10px;
    color:#92979e;
    margin-top:7px
}
 .transaction-amount{
    position:relative
}
 .transaction-amount input{
    padding-left:34px;
    padding-right:53px;
    font-size:16px;
    font-weight:650
}
 .transaction-amount-currency,.transaction-amount-code{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    pointer-events:none;
    font-size:12px;
    font-weight:650
}
 .transaction-amount-currency{
    left:15px;
    color:#30343a
}
.transaction-amount-code{
    right:15px;
    color:#858a91;
    font-size:10px
}
 .transaction-quick-amounts{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
    margin-top:10px
}
 .transaction-quick-amount{
    border:1px solid #e8eaed;
    background:#f7f8fa;
    color:#555a60;
    border-radius:8px;
    padding:7px 12px;
    font-weight:650;
    font-size:10px;
    cursor:pointer
}
 .transaction-quick-amount:hover,.transaction-quick-amount.active{
    background:#17191c;
    border-color:#17191c;
    color:#fff
}
 .transaction-divider{
    height:1px;
    background:#e8eaed;
    margin:28px 0
}
 .transaction-file-upload{
    background:#fafbfc;
    border:1.5px dashed #cbd0d6;
    border-radius:14px;
    transition:.2s;
    overflow:hidden
}
 .transaction-file-upload.dragover{
    border-color:#17191c;
    background:#f1f3f5
}
 .transaction-file-input{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    overflow:hidden
}
 .transaction-upload-placeholder{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start;
    text-align:left;
    gap:10px;
    padding:15px 12px;
    cursor:pointer;
    min-height:90px
}
 .transaction-upload-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:10px;
    background:#eef0f3;
    color:#373b40;
    font-size:17px;
    margin-bottom:0
}
 .transaction-upload-placeholder h6{
    font-size:12px;
    font-weight:650;
    margin:0
}
 .transaction-upload-placeholder p{
    font-size:10px;
    color:#858a91;
    margin:0
}
 .transaction-browse-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-left:auto;
    border:1px solid #dfe2e6;
    border-radius:9px;
    background:#fff;
    color:#34373b;
    font-size:11px;
    font-weight:650;
    padding:9px 16px
}
 .transaction-upload-placeholder small{
    display:block;
    color:#92979e;
    font-size:10px;
    margin-top:0
}
 .transaction-upload-preview{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px;
    background:#fff
}
 .transaction-upload-preview img{
    width:48px;
    height:48px;
    border:1px solid #e8eaed;
    border-radius:10px;
    object-fit:cover;
    flex:none
}
 .transaction-upload-file-info{
    flex:1;
    min-width:0;
    font-size:12px
}
.transaction-upload-file-info small{
    color:#858a91
}
 .transaction-remove-file{
    border:0;
    border-radius:9px;
    background:#fff0f0;
    color:#d33d3d;
    width:34px;
    height:34px;
    flex:none
}
 .transaction-bank-card{
    border:1px solid #e8eaed;
    border-radius:15px;
    background:#fff;
    overflow:hidden
}
 .transaction-bank-header{
    padding:16px;
    display:flex;
    align-items:center;
    gap:12px;
    border-bottom:1px solid #edf0f2
}
 .transaction-bank-icon{
    width:45px;
    height:45px;
    flex:none;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef2f6;
    border-radius:11px;
    font-size:20px
}
 .transaction-bank-header h6{
    margin:0 0 4px;
    font-size:13px;
    font-weight:650
}
.transaction-bank-header p{
    margin:0;
    font-size:10px;
    color:#858a91
}
 .transaction-bank-badge{
    display:none;
    border-radius:20px;
    background:#eaf7f0;
    color:#198754;
    padding:5px 10px;
    font-size:9px;
    font-weight:650;
    white-space:nowrap
}
 .transaction-bank-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    padding:4px 18px
}
 .transaction-bank-row{
    min-width:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:12px 0;
    border-bottom:1px solid #f0f1f3
}
 .transaction-bank-row:last-child{
    border-bottom:0
}
 .transaction-bank-data{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:5px
}
 .transaction-bank-data span{
    font-size:10px;
    color:#858a91
}
.transaction-bank-data strong{
    font-size:12px;
    font-weight:650;
    overflow-wrap:anywhere
}
 .transaction-copy-btn{
    width:33px;
    height:33px;
    border:1px solid #e8eaed;
    border-radius:8px;
    background:#f7f8fa;
    color:#666d75;
    flex:none
}
 .transaction-copy-btn:hover{
    color:#fff;
    background:#17191c
}
 .transaction-copy-btn.copied{
    background:#eaf7f0;
    border-color:#ccebd8;
    color:#198754
}
 .transaction-copy-btn.copy-failed{
    background:#fff0f0;
    border-color:#f5cccc;
    color:#d33d3d
}
 .transaction-bank-footer{
    background:#f7f8fa;
    border-radius:10px;
    padding:13px;
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin:0 14px 14px;
    color:#777d84;
    font-size:10px;
    line-height:1.6
}
 .transaction-bank-footer i{
    font-size:14px;
    flex:none
}
 .transaction-secure-note{
    margin-top:16px;
    display:flex;
    align-items:center;
    gap:10px;
    color:#90959b;
    font-size:10px;
    line-height:1.6
}
.transaction-secure-note i{
    color:#198754;
    font-size:14px
}
 @media(max-width:767px){
    .transaction-bank-grid{
        grid-template-columns:1fr
    }
    .transaction-card-header,.transaction-card-body{
        padding:19px
    }
    .transaction-header h2{
        font-size:23px
    }
}
 @media(max-width:420px){
    .transaction-bank-header{
        flex-wrap:wrap
    }
    .transaction-bank-badge{
        margin-left:57px
    }
}
/* Two-column deposit layout */
 .transaction-left-panel,.transaction-right-panel{
    min-width:0
}
 .transaction-side-card{
    position:sticky;
    top:20px
}
 .transaction-upload-copy{
    display:flex;
    flex-direction:column;
    gap:3px;
    flex:1;
    min-width:120px
}
 .transaction-upload-placeholder .transaction-upload-copy h6{
    margin:0
}
 .transaction-upload-placeholder .transaction-upload-copy p{
    margin:0
}
 .transaction-upload-placeholder small{
    width:100%;
    padding-left:46px
}
 @media(max-width:991px){
    .transaction-side-card{
        position:static
    }
}
 @media(max-width:576px){
    .transaction-upload-placeholder{
        gap:8px
    }
    .transaction-browse-btn{
        margin-left:0
    }
    .transaction-upload-placeholder small{
        padding-left:0
    }
}
.dr-stat-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #f5662a;
    text-decoration: none;
    transition: all 0.2s ease;
}
.dr-stat-view:hover {
    color: #cc5526;
    gap: 10px;
}
.dr-stat-view-light {
    color: #ffffff;
}
.dr-stat-view-light:hover {
    color: #e2e8f0;
}
/****my network***/
 .ib-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 15px;
     margin-bottom: 24px;
     flex-wrap: wrap;
}
 .ib-header h2 {
     font-size: 25px;
     font-weight: 750;
     margin: 0 0 7px;
     letter-spacing: -.6px;
}
 .ib-header p {
     color: #8691a5;
     margin: 0;
}
 .ib-btn {
     display: inline-flex;
     gap: 8px;
     justify-content: center;
     align-items: center;
     border: 1px solid #e8ecf3;
     padding: 11px 16px;
     background: white;
     color: #506079;
     border-radius: 10px;
     cursor: pointer;
     font-size: 12px;
     font-weight: 650;
}
 .ib-btn-primary {
     background: #f5662a;
     border-color: #f5662a;
     color: white;
}
/* Overview */
 .overview-grid {
     display: grid;
     grid-template-columns: repeat(4, minmax(0,1fr));
     gap: 14px;
     margin-bottom: 22px;
}
 .overview-card {
     background: white;
     border: 1px solid #e8ecf3;
     border-radius: 15px;
     padding: 20px;
}
 .overview-card.primary {
     background: #261609;
     color: white;
     border-color: #261609;
}
 .overview-top {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 19px;
}
 .overview-label {
     color: #78869f;
     font-size: 12px;
     font-weight: 600;
}
 .primary .overview-label {
     color: #c5cde0;
}
 .overview-icon {
     display: grid;
     place-items: center;
     width: 40px;
     height: 40px;
     border-radius: 11px;
     background: #eef1ff;
     color: #f5662a;
     font-size: 19px;
}
 .overview-icon.green {
     background: #e7f8ef;
     color: #14a477;
}
 .overview-icon.orange {
     background: #fff2e5;
     color: #e79236;
}
 .overview-icon.purple {
     background: #f2eaff;
     color: #9467dc;
}
 .primary .overview-icon {
     background: #56311b;
     color: white;
}
 .overview-value {
     font-size: 29px;
     font-weight: 760;
     letter-spacing: -1px;
}
 .overview-sub {
     font-size: 11px;
     color: #96a0b2;
     margin-top: 7px;
}
 .primary .overview-sub {
     color: #c5cde0;
}
/* Main panel */
 .ib-panel {
     background: #fff;
     border: 1px solid #e8ecf3;
     border-radius: 16px;
     overflow: hidden;
}
 .panel-heading {
     padding: 22px 24px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 12px;
}
 .panel-heading h3 {
     font-size: 17px;
     font-weight: 750;
     margin: 0 0 6px;
}
 .panel-heading p {
     margin: 0;
     color: #8691a5;
     font-size: 12px;
}
 .level-nav {
     display: flex;
     gap: 5px;
     overflow-x: auto;
     padding: 0 24px;
     border-bottom: 1px solid #e8ecf3;
     scrollbar-width: thin;
}
 .level-tab {
     border: 0;
     border-bottom: 2px solid transparent;
     background: none;
     padding: 15px 18px;
     white-space: nowrap;
     font-weight: 650;
     color: #8190a7;
     cursor: pointer;
     font-size: 12px;
}
 .level-tab.active {
     border-bottom-color: #f5662a;
     color: #f5662a;
}
 .level-tab span {
     background: #f0f2f7;
     padding: 3px 7px;
     border-radius: 6px;
     font-size: 10px;
     margin-left: 5px;
}
 .level-tab.active span {
     background: #eef0ff;
}
/* Level summary */
 .level-summary {
     display: grid;
     grid-template-columns: repeat(4, minmax(0,1fr));
     gap: 12px;
     padding: 20px 24px;
     background: #fcfdff;
     border-bottom: 1px solid #e8ecf3;
}
 .level-summary-item {
     border: 1px solid #e8ecf3;
     border-radius: 11px;
     background: white;
     padding: 15px;
}
 .level-summary-label {
     color: #8691a5;
     font-size: 11px;
     margin-bottom: 8px;
}
 .level-summary-value {
     font-size: 20px;
     font-weight: 750;
}
/* Toolbar */
 .table-toolbar {
     padding: 20px 24px;
     display: flex;
     gap: 10px;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
}
 .toolbar-left {
     display: flex;
     gap: 9px;
     align-items: center;
     flex-wrap: wrap;
}
 .ib-search {
     position: relative;
}
 .ib-search i {
     position: absolute;
     left: 13px;
     top: 50%;
     transform: translateY(-50%);
     color: #95a0af;
}
 .ib-search input {
     height: 40px;
     width: 260px;
     padding: 0 12px 0 36px;
     outline: none;
     border: 1px solid #e8ecf3;
     border-radius: 9px;
     font: inherit;
}
 .ib-select {
     height: 40px;
     padding: 0 13px;
     border: 1px solid #e8ecf3;
     border-radius: 9px;
     background: white;
     color: #52617b;
     font: inherit;
     cursor: pointer;
}
 .ib-search input:focus, .ib-select:focus {
     outline: none;
     border-color: #f5662a;
}
/* Table */
 .ib-table-wrap {
     width: 100%;
     overflow-x: auto;
}
 .ib-table {
     width: 100%;
     border-collapse: collapse;
     white-space: nowrap;
     text-align: left;
}
 .ib-table thead {
     background: #f8faff;
}
 .ib-table th {
     padding: 15px 20px;
     font-size: 11px;
     font-weight: 700;
     color: #77849c;
}
 .ib-table td {
     padding: 15px 20px;
     border-top: 1px solid #f0f2f6;
     vertical-align: middle;
     font-size: 12px;
}
 .ib-table tbody tr:hover {
     background: #fafbff;
}
 .member {
     display: flex;
     gap: 10px;
     align-items: center;
}
 .member-avatar {
     width: 38px;
     height: 38px;
     border-radius: 10px;
     background: #fff0e8;
     color: #c84b17;
     display: grid;
     place-items: center;
     font-weight: 750;
     flex-shrink: 0;
}
 .member-name {
     font-weight: 700;
     color: #25344e;
}
 .member-email {
     color: #919bad;
     font-size: 11px;
     margin-top: 5px;
}
 .type-pill, .status-pill {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     padding: 6px 10px;
     border-radius: 7px;
     font-size: 10px;
     font-weight: 700;
}
 .type-pill.ib {
     background: #eef0ff;
     color: #5265d5;
}
 .type-pill.client {
     background: #eaf8f0;
     color: #16986c;
}
 .status-pill.active {
     background: #e8f8ef;
     color: #11945e;
}
 .status-pill.inactive {
     background: #f3f4f7;
     color: #8993a5;
}
 .status-pill::before {
     content: "";
     width: 6px;
     height: 6px;
     background: currentColor;
     border-radius: 50%;
}
 .numeric {
     font-weight: 700;
     font-variant-numeric: tabular-nums;
}
 .action-dtls-btn {
     background: #f0f3ff;
     color: #4960da;
     border: 0;
     padding: 8px 11px;
     border-radius: 7px;
     font-size: 11px;
     font-weight: 700;
     cursor: pointer;
}
 .action-dtls-btn:hover {
     background: #e4e9ff;
}
/* Pagination */
 .table-footer {
     border-top: 1px solid #e8ecf3;
     padding: 17px 24px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     flex-wrap: wrap;
}
 .table-info {
     color: #8691a5;
     font-size: 12px;
}
 .pagination-controls {
     display: flex;
     align-items: center;
     gap: 5px;
}
 .page-btn {
     min-width: 33px;
     height: 33px;
     padding: 0 8px;
     border: 1px solid #e8ecf3;
     border-radius: 8px;
     background: white;
     cursor: pointer;
     color: #74819b;
     font-weight: 650;
}
 .page-btn.active {
     background: #f5662a;
     color: white;
     border-color: #f5662a;
}
 .page-btn:disabled {
     opacity: .35;
     cursor: not-allowed;
}
 .empty-row {
     text-align: center;
     padding: 50px !important;
     color: #8691a5;
}
/* Detail modal */
 .ib-modal {
     position: fixed;
     inset: 0;
     display: none;
     align-items: center;
     justify-content: center;
     padding: 16px;
     background: rgba(15,25,45,.55);
     z-index: 1000;
}
 .ib-modal.open {
     display: flex;
}
 .modal-card {
     width: 100%;
     max-width: 440px;
     border-radius: 17px;
     background: white;
     padding: 25px;
     box-shadow: 0 25px 70px rgba(0,0,0,.15);
}
 .modal-top {
     display: flex;
     justify-content: space-between;
     align-items: center;
}
 .modal-top h3 {
     margin: 0;
     font-size: 18px;
}
 .modal-close {
     background: none;
     border: 0;
     cursor: pointer;
     font-size: 22px;
}
 .modal-detail {
     display: flex;
     justify-content: space-between;
     gap: 15px;
     padding: 13px 0;
     border-bottom: 1px solid #e8ecf3;
}
 .modal-detail span {
     color: #8691a5;
}
 .modal-detail strong {
     overflow-wrap: anywhere;
     text-align: right;
}
 @media(max-width:1000px) {
     .overview-grid, .level-summary {
         grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
 @media(max-width:600px) {
     .ib-header h2 {
         font-size: 22px;
    }
     .overview-grid {
         gap: 9px;
    }
     .overview-card {
         padding: 15px;
    }
     .overview-value {
         font-size: 24px;
    }
     .panel-heading, .table-toolbar {
         padding: 17px;
    }
     .level-nav {
         padding: 0 12px;
    }
     .level-summary {
         padding: 12px;
         gap: 8px;
    }
     .level-summary-item {
         padding: 12px;
    }
     .level-summary-value {
         font-size: 17px;
    }
     .ib-search, .ib-search input {
         width: 100%;
    }
     .toolbar-left {
         width: 100%;
    }
     .ib-table {
         min-width: 1050px;
    }
     .table-footer {
         padding: 15px;
    }
}
