/* Final red/black skin loaded last. Keep this file focused and predictable. */
:root {
  --rb-bg: #050506;
  --rb-surface: #0b0d10;
  --rb-panel: #11141a;
  --rb-panel-2: #171b22;
  --rb-border: rgba(255, 255, 255, .12);
  --rb-text: #fff7f7;
  --rb-muted: #a8b0bd;
  --rb-red: #ef233c;
  --rb-red-2: #b91c1c;
  --rb-red-3: #7f101c;
  --rb-orange: #f97316;
  --rb-radius: 8px;
  --sidebar-width: 284px;
  --sidebar-collapsed-width: 86px;
}

html,
body.body {
  min-height: 100%;
  background: var(--rb-bg) !important;
  color: var(--rb-text) !important;
}

body.body {
  background:
    radial-gradient(circle at 18% 14%, rgba(239, 35, 60, .18), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(249, 115, 22, .12), transparent 28%),
    linear-gradient(180deg, #08090c 0, #050506 62%) !important;
}

a,
.text-info,
a.text-info,
.pro-eyebrow,
.navbar-brand strong,
.pro-footer a {
  color: var(--rb-red) !important;
}

.pro-logo-mark,
.btn-primary,
.btn-big-primary,
.pro-stat-icon,
.copy-payment-number,
.sidebar-item.active .sidebar-icon,
.sidebar-link:hover .sidebar-icon,
.platform-filter-btn.active,
.platform-btn.is-active {
  background: linear-gradient(135deg, var(--rb-red), var(--rb-red-2)) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 14px 30px rgba(239, 35, 60, .24) !important;
}

.btn-secondary,
.btn-outline-secondary {
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid var(--rb-border) !important;
  color: var(--rb-text) !important;
}

.btn:hover {
  filter: brightness(1.06);
}

.public-navbar,
body.body-internal .navbar.component-navbar,
.sidebar,
.sidebar-inner {
  background: rgba(5, 5, 6, .98) !important;
  border-color: var(--rb-border) !important;
  box-shadow: none !important;
}

.public-navbar {
  min-height: 68px !important;
}

body.body-internal .main-content-wrapper,
html[dir="rtl"] body.body-internal .main-content-wrapper {
  margin-left: var(--sidebar-width) !important;
  margin-right: 0 !important;
  width: calc(100% - var(--sidebar-width)) !important;
  background:
    linear-gradient(180deg, rgba(127, 16, 28, .18) 0, rgba(5, 5, 6, .98) 330px),
    var(--rb-bg) !important;
}

.content,
.public-main {
  background: transparent !important;
}

.pro-card,
.auth-card,
.table-container,
.sidebar-profile,
.pro-stage,
.pro-platform-card,
.pro-feature,
.form-control,
.input-group-text,
select.form-control,
textarea.form-control,
.pro-category-trigger,
.payment-instructions,
.payment-copy-card {
  background: linear-gradient(180deg, rgba(17, 20, 26, .98), rgba(10, 12, 16, .98)) !important;
  border: 1px solid var(--rb-border) !important;
  color: var(--rb-text) !important;
  box-shadow: none !important;
}

.form-control,
select.form-control,
textarea.form-control {
  min-height: 46px !important;
}

.form-control:focus,
.pro-category-trigger:focus {
  border-color: rgba(239, 35, 60, .72) !important;
  box-shadow: 0 0 0 3px rgba(239, 35, 60, .14) !important;
}

label,
.control-label,
.pro-title,
.pro-card-header h2,
.pro-card-header h3,
.pro-section h2,
.pro-contact-strip h2 {
  color: var(--rb-text) !important;
}

.pro-subtitle,
.pro-card-header p,
.pro-section p,
.text-muted,
.sidebar-link,
.pro-footer span,
.pro-footer-nav a {
  color: var(--rb-muted) !important;
}

/* Sidebar */
.sidebar,
.sidebar-inner {
  width: var(--sidebar-width) !important;
  min-width: var(--sidebar-width) !important;
  max-width: var(--sidebar-width) !important;
  transition: width .22s ease, min-width .22s ease, max-width .22s ease !important;
}

.sidebar-inner {
  height: 100vh !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  border-right: 1px solid rgba(239, 35, 60, .24) !important;
}

.pro-sidebar-brand {
  min-height: 78px !important;
  padding: 18px 22px !important;
  border-bottom: 1px solid var(--rb-border) !important;
}

.sidebar-profile {
  margin: 14px 16px !important;
  padding: 14px !important;
  display: grid !important;
  gap: 12px !important;
}

.sidebar-profile-brand {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  text-decoration: none !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

.sidebar-profile-brand strong,
.sidebar-profile-brand small {
  display: block !important;
  line-height: 1.25 !important;
}

.sidebar-profile-brand strong {
  color: var(--rb-text) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.sidebar-profile-brand small {
  color: var(--rb-muted) !important;
  font-size: 11px !important;
}

.sidebar-profile-logo {
  width: 44px !important;
  height: 44px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, var(--rb-red), var(--rb-red-2)) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 24px rgba(239, 35, 60, .25) !important;
}

.sidebar-profile-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.sidebar-user-avatar {
  width: 54px !important;
  height: 54px !important;
  margin: 0 auto 8px !important;
  border-radius: 8px !important;
  font-size: 20px !important;
}

.sidebar-content {
  max-height: calc(100vh - 284px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 6px 14px 22px !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 35, 60, .35) transparent;
}

.sidebar-content::-webkit-scrollbar {
  width: 4px !important;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: rgba(239, 35, 60, .35) !important;
  border-radius: 999px;
}

.sidebar-menu {
  display: grid !important;
  gap: 8px !important;
  padding: 0 !important;
}

.sidebar-link {
  min-height: 52px !important;
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 8px 12px !important;
  border-radius: var(--rb-radius) !important;
  text-decoration: none !important;
}

.sidebar-icon {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: var(--rb-radius);
  background: rgba(255, 255, 255, .06) !important;
  color: var(--rb-muted) !important;
}

.sidebar-text {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.35 !important;
  font-weight: 800;
}

.sidebar-item.active .sidebar-link,
.sidebar-link:hover {
  background: linear-gradient(135deg, rgba(239, 35, 60, .3), rgba(127, 16, 28, .32)) !important;
  color: #fff !important;
}

.sidebar-item.active .sidebar-link {
  box-shadow: inset 3px 0 0 var(--rb-red) !important;
}

html[dir="rtl"] .sidebar-item.active .sidebar-link {
  box-shadow: inset -3px 0 0 var(--rb-red) !important;
}

.sidebar-collapse-toggle {
  background: linear-gradient(135deg, var(--rb-red), var(--rb-red-2)) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  color: #fff !important;
  position: fixed !important;
  left: calc(var(--sidebar-width) - 14px) !important;
  top: 98px !important;
  z-index: 1090 !important;
  width: 28px !important;
  height: 44px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .38) !important;
  cursor: pointer !important;
  transition: left .22s ease, filter .18s ease !important;
}

.sidebar-collapse-toggle:hover {
  filter: brightness(1.08) !important;
}

body.sidebar-collapsed .sidebar-collapse-toggle {
  left: calc(var(--sidebar-collapsed-width) - 14px) !important;
}

body.sidebar-collapsed {
  --sidebar-width: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .sidebar,
body.sidebar-collapsed .sidebar-inner {
  width: var(--sidebar-collapsed-width) !important;
  min-width: var(--sidebar-collapsed-width) !important;
  max-width: var(--sidebar-collapsed-width) !important;
  overflow: visible !important;
}

body.sidebar-collapsed .pro-sidebar-brand span:not(.pro-logo-mark),
body.sidebar-collapsed .sidebar-profile-name,
body.sidebar-collapsed .sidebar-profile-balance,
body.sidebar-collapsed .sidebar-profile-brand span:not(.sidebar-profile-logo),
body.sidebar-collapsed .sidebar-text {
  display: none !important;
}

body.sidebar-collapsed .sidebar-link {
  grid-template-columns: 1fr !important;
  justify-items: center;
  padding-inline: 8px !important;
}

body.sidebar-collapsed .sidebar-content {
  padding-inline: 12px !important;
  overflow-x: visible !important;
}

body.sidebar-collapsed .sidebar-profile {
  margin-inline: 10px !important;
  padding: 10px 6px !important;
  min-height: auto !important;
}

body.sidebar-collapsed .sidebar-profile-brand {
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  padding-bottom: 8px !important;
}

body.sidebar-collapsed .sidebar-user-avatar {
  width: 38px !important;
  height: 38px !important;
  font-size: 15px !important;
}

body.sidebar-collapsed .sidebar-profile-logo {
  width: 38px !important;
  height: 38px !important;
}

/* Landing: see public/css/landing-redesign.css (.landing-v2) */

body.body-public .pro-footer-public {
  margin-top: auto !important;
}

.pro-feature-grid,
.pro-stage-grid,
.pro-platform-card-grid {
  gap: 10px !important;
}

.pro-feature-grid {
  margin-top: 20px !important;
}

.pro-feature,
.pro-stage,
.pro-platform-card {
  padding: 14px !important;
  font-size: 13px !important;
}

.pro-feature strong,
.pro-stage strong,
.pro-platform-card strong {
  font-size: 14px !important;
}

.pro-public-hero .btn-lg {
  min-width: 140px;
  padding: 10px 20px !important;
  font-size: 14px !important;
}

.pro-section-head h2 {
  font-size: clamp(22px, 3vw, 32px) !important;
}

.pro-section-head p {
  font-size: 14px !important;
}

.pro-feature i,
.pro-stage i,
.pro-platform-card i,
.pro-help-list i,
.payment-instructions-head i {
  color: #ff6b6b !important;
  background: rgba(239, 35, 60, .12) !important;
}

.pro-public-sections {
  max-width: 1240px !important;
  padding: 0 20px 80px !important;
}

.pro-section {
  padding: clamp(42px, 7vw, 76px) 0 !important;
}

/* Footer */
.pro-footer {
  width: 100% !important;
  padding: 0 !important;
  margin-top: 56px !important;
  border-top: 1px solid rgba(239, 35, 60, .26) !important;
  background:
    linear-gradient(90deg, rgba(127, 16, 28, .18), rgba(5, 5, 6, .98) 48%),
    var(--rb-bg) !important;
}

.pro-footer-inner {
  width: 100%;
  max-width: 1240px;
  min-height: 108px;
  margin: 0 auto;
  padding: 26px 20px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: 22px;
  align-items: center;
}

.pro-footer-brand,
.pro-footer-links,
.pro-footer-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pro-footer-nav {
  justify-content: center;
  flex-wrap: wrap;
}

.pro-footer-links {
  justify-content: flex-end;
  text-align: end;
}

.pro-footer a {
  text-decoration: none !important;
  font-weight: 900;
}

/* Utility fixes */
.payment-copy-card {
  border-color: rgba(239, 35, 60, .25) !important;
}

.payment-note {
  background: rgba(239, 35, 60, .1) !important;
  border-color: rgba(239, 35, 60, .18) !important;
}

.payment-success-panel {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: var(--rb-radius);
  background: linear-gradient(180deg, rgba(34, 197, 94, .13), rgba(17, 20, 26, .98));
  color: var(--rb-text);
}

.payment-success-panel i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rb-radius);
  color: #fff;
  background: #16a34a;
}

.payment-success-panel strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.payment-success-panel span {
  color: var(--rb-muted);
  line-height: 1.7;
}

.mobile-bottom-nav {
  background: rgba(5, 5, 6, .96) !important;
  border-color: rgba(239, 35, 60, .24) !important;
}

@media (max-width: 1200px) {
  body.body-internal .content {
    padding: 24px 22px 0 !important;
  }

  .pro-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 992px) {
  body.body-internal .main-content-wrapper,
  html[dir="rtl"] body.body-internal .main-content-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0) !important;
  }

  .sidebar-collapse-toggle {
    display: none !important;
  }

  .auth-card.pro-card {
    max-width: none;
    justify-self: stretch;
  }

  .pro-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pro-footer-brand,
  .pro-footer-links,
  .pro-footer-nav {
    justify-content: center;
    text-align: center;
  }
}

/* Sidebar structure refresh */
body.body-internal .wrapper {
  display: flex;
  min-height: 100vh;
}

body.body-internal .sidebar {
  position: fixed !important;
  top: 0;
  left: 0;
  height: 100vh !important;
  z-index: 1040 !important;
  padding: 0 !important;
  background: rgba(5, 5, 6, .98) !important;
}

html[dir="rtl"] body.body-internal .sidebar {
  left: auto;
  right: 0;
}

body.body-internal .sidebar-inner {
  display: flex !important;
  flex-direction: column !important;
  height: 100vh !important;
  border-radius: 0 !important;
  border-right: 1px solid rgba(239, 35, 60, .24) !important;
  overflow: hidden !important;
}

html[dir="rtl"] body.body-internal .sidebar-inner {
  border-right: 0 !important;
  border-left: 1px solid rgba(239, 35, 60, .24) !important;
}

.pro-sidebar-brand {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  text-decoration: none !important;
  color: var(--rb-text) !important;
}

.pro-sidebar-brand-text strong,
.pro-sidebar-brand-text small {
  display: block !important;
  line-height: 1.25 !important;
}

.pro-sidebar-brand-text small {
  color: var(--rb-muted) !important;
  font-size: 11px !important;
}

.sidebar-profile {
  margin: 0 14px 12px !important;
  padding: 14px !important;
  text-align: center !important;
  border-radius: var(--rb-radius) !important;
}

.sidebar-profile-user {
  display: block !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
}

.sidebar-profile-balance {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 8px 12px !important;
  border-radius: var(--rb-radius) !important;
  background: rgba(239, 35, 60, .12) !important;
  border: 1px solid rgba(239, 35, 60, .22) !important;
  text-decoration: none !important;
  color: var(--rb-text) !important;
}

.sidebar-profile-balance .amount {
  color: #fff !important;
  font-weight: 800 !important;
}

.sidebar-content {
  flex: 1 1 auto !important;
  max-height: none !important;
  overflow-y: auto !important;
  padding: 0 12px 18px !important;
}

body.sidebar-collapsed .pro-sidebar-brand-text,
body.sidebar-collapsed .sidebar-profile-name,
body.sidebar-collapsed .sidebar-profile-balance .amount,
body.sidebar-collapsed .sidebar-text {
  display: none !important;
}

html[dir="rtl"] .sidebar-collapse-toggle {
  left: auto !important;
  right: calc(var(--sidebar-width) - 14px) !important;
}

html[dir="rtl"] body.sidebar-collapsed .sidebar-collapse-toggle {
  right: calc(var(--sidebar-collapsed-width) - 14px) !important;
}

html[dir="rtl"] .sidebar-collapse-toggle i {
  transform: rotate(180deg);
}

/* Public landing */
.body-public .public-navbar {
  background: rgba(5, 5, 6, .96) !important;
  border-bottom: 1px solid rgba(239, 35, 60, .22) !important;
  padding: 12px 0 !important;
}

.body-public .public-main {
  background: transparent !important;
}

@media (max-width: 992px) {
  body.body-internal .sidebar {
    transform: translateX(-100%);
  }

  html[dir="rtl"] body.body-internal .sidebar {
    transform: translateX(100%);
  }

  body.body-internal .sidebar.show {
    transform: translateX(0) !important;
  }
}

@media (max-width: 640px) {
  .pro-feature-grid,
  .pro-stage-grid,
  .pro-platform-card-grid,
  .pro-stats {
    grid-template-columns: 1fr !important;
  }

  .pro-footer-inner {
    padding: 24px 14px 94px;
  }
}

/* Brand logo */
.pro-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  flex: 0 0 auto;
  box-shadow: 0 8px 22px rgba(239, 35, 60, .18);
}

.pro-brand-logo--profile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.pro-brand-logo--nav {
  width: 38px;
  height: 38px;
}

.pro-brand-logo--footer {
  width: 48px;
  height: 48px;
}

.sidebar-profile-brandmark {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.sidebar-profile-name {
  font-weight: 800;
  color: #fff;
  font-size: 15px;
}

body.sidebar-collapsed .sidebar-profile-brandmark {
  margin-bottom: 6px;
}

body.sidebar-collapsed .pro-brand-logo--profile {
  width: 44px;
  height: 44px;
}

.public-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: #fff !important;
  font-weight: 800;
}

/* Full-height landing — see body.body-public rules at top of landing section */

/* Quick search dropdown */
.neworder-page #new-order-search {
  position: relative !important;
  z-index: 30;
}

.neworder-page #new-order-search .form-group,
.neworder-page .pro-card form > .form-group:first-child {
  position: relative;
  z-index: 25;
  overflow: visible !important;
}

#unique-dropdown {
  z-index: 120 !important;
  background: rgba(11, 13, 16, .98) !important;
  border-color: rgba(239, 35, 60, .28) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55) !important;
}

#unique-dropdown .quick-search-item {
  color: var(--rb-text) !important;
}

#unique-dropdown .quick-search-item:hover {
  background: rgba(239, 35, 60, .12) !important;
}

#unique-dropdown .quick-search-id {
  color: #ff6b6b !important;
}

#unique-dropdown .quick-search-empty {
  color: var(--rb-muted);
  padding: 12px;
  text-align: center;
}

/* Payment rate preview */
.payment-rate-preview {
  margin-top: 14px;
}

.payment-rate-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--rb-radius);
  border: 1px solid rgba(239, 35, 60, .24);
  background: linear-gradient(180deg, rgba(239, 35, 60, .08), rgba(11, 13, 16, .98));
}

.payment-rate-card strong {
  color: #fff;
  font-size: 14px;
}

.payment-rate-card span {
  color: var(--rb-muted);
  font-size: 13px;
}

.payment-rate-result {
  color: #86efac !important;
  font-weight: 800 !important;
}

/* Footer polish */
.pro-footer-brand img + div {
  min-width: 0;
}

.pro-footer-brand strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.pro-footer-brand span {
  color: var(--rb-muted);
  font-size: 12px;
}

.pro-footer-public {
  margin-top: auto !important;
}

.pro-footer-nav a {
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}

.pro-footer-nav a:hover {
  background: rgba(239, 35, 60, .12);
  color: #fff !important;
}

.pro-footer-links a {
  color: #86efac !important;
}

/* Add funds: rate box + conversion + success popup */
.payment-rate-card-box {
  margin-top: 10px;
}

.payment-rate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #fca5a5;
  background: rgba(239, 35, 60, .12);
  border: 1px solid rgba(239, 35, 60, .2);
  white-space: nowrap;
}

.payment-conversion-panel {
  margin-top: 16px;
}

.payment-conversion-result {
  padding: 16px;
  border-radius: var(--rb-radius);
  border: 1px solid rgba(239, 35, 60, .22);
  background: linear-gradient(180deg, rgba(239, 35, 60, .08), rgba(11, 13, 16, .98));
}

.payment-conversion-result.is-ready {
  border-color: rgba(34, 197, 94, .35);
  background: linear-gradient(180deg, rgba(34, 197, 94, .1), rgba(11, 13, 16, .98));
}

.payment-conversion-result__head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.payment-conversion-result__head i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ef233c, #b91c1c);
  font-size: 20px;
}

.payment-conversion-result__head span {
  display: block;
  color: var(--rb-muted);
  font-size: 12px;
  margin-bottom: 2px;
}

.payment-conversion-result__head strong {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}

.payment-conversion-result__calc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .28);
  font-weight: 800;
  font-size: 14px;
}

.payment-conversion-result__calc .text-success {
  color: #86efac !important;
}

.payment-conversion-result__note {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #86efac;
}

.payment-conversion-result__note.muted {
  color: var(--rb-muted);
}

.payment-conversion-result__note i {
  margin-inline-end: 6px;
}

body.addfunds-overlay-open {
  overflow: hidden;
}

.addfunds-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
}

.addfunds-success-modal {
  width: min(420px, 100%);
  padding: 28px 24px 22px;
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, .35);
  background: linear-gradient(180deg, rgba(17, 20, 26, .98), rgba(5, 5, 6, .98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  text-align: center;
}

.addfunds-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 12px 30px rgba(34, 197, 94, .35);
}

.addfunds-success-modal h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}

.addfunds-success-modal p {
  color: var(--rb-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.addfunds-success-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  text-align: start;
}

.addfunds-success-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
}

.addfunds-success-row span {
  color: var(--rb-muted);
}

.addfunds-success-row strong {
  color: #fff;
}

/* Navbar dropdowns (balance + account) */
body.body-internal .navbar.component-navbar {
  overflow: visible !important;
  z-index: 1030 !important;
}

body.body-internal .component-navbar .navbar-item.dropdown {
  position: relative !important;
  z-index: 1040;
}

body.body-internal .component-navbar .navbar-dropdown-toggle {
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  width: auto;
}

body.body-internal .component-navbar .balance-display.navbar-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.body-internal .component-navbar .user-dropdown .navbar-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.body-internal .component-navbar .dropdown.is-open .dropdown-menu,
body.body-internal .component-navbar .dropdown-menu.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.body-internal .component-navbar .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  inset-inline-end: 0 !important;
  inset-inline-start: auto !important;
  min-width: 200px;
  margin: 0 !important;
  padding: 8px 0 !important;
  border-radius: var(--rb-radius) !important;
  border: 1px solid rgba(239, 35, 60, .22) !important;
  background: rgba(11, 13, 16, .98) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45) !important;
  z-index: 1055 !important;
}

body.body-internal .component-navbar .dropdown-item,
body.body-internal .component-navbar .currencies-item,
body.body-internal .component-navbar .balance-dropdown__link {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px !important;
  color: var(--rb-text) !important;
  text-decoration: none !important;
  font-weight: 700;
}

body.body-internal .component-navbar .dropdown-item:hover,
body.body-internal .component-navbar .currencies-item:hover,
body.body-internal .component-navbar .balance-dropdown__link:hover {
  background: rgba(239, 35, 60, .12) !important;
  color: #fff !important;
}

body.body-internal .component-navbar .balance-dropdown__item {
  list-style: none;
  margin: 0;
  padding: 0;
}
