/* CSS Variables - Design System */
:root {
  --yellow: #fadc00;
  --primary-color: #fadc00;
  --bg: #f9fafb;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --card-bg: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

/* Global Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--text-main);
  background-color: #F5F5F7;
  background-image: 
      radial-gradient(circle at 50% -10%, rgba(250, 220, 0, 0.15), transparent 40%),
      radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.8), transparent 40%),
      radial-gradient(circle at 0% 90%, rgba(255, 255, 255, 0.6), transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
}

/* Layout Helpers */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Navbar Styles */
.sl-header {
  position: sticky;
  top: 0;
  z-index: 100; /* Ensure header sits above hero content */
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.sl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  width: 100%;
}

.sl-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sl-logo-mark {
  height: 32px;
  width: auto;
}

.sl-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.sl-logo-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sl-logo-tagline {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sl-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.sl-nav-main {
  display: flex;
  gap: 16px;
}

.sl-nav-secondary {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sl-nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sl-nav-link {
  color: var(--text-muted);
}

.sl-nav-link--primary {
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
}

.sl-nav-link-pill {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 500;
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.02);
}

/* Button Styles */
.btn {
  border-radius: 999px;
  border: none;
  padding: 9px 18px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: #111827;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(250, 220, 0, 0.35);
  transition: all 0.2s ease;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: #e6cb00;
  color: #111827;
  box-shadow: 0 15px 35px rgba(250, 220, 0, 0.45);
  transform: translateY(-1px);
  border-color: transparent; /* Override bootstrap */
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.btn-ghost:hover, .btn-ghost:focus, .btn-ghost:active {
  background: rgba(15, 23, 42, 0.03);
  color: var(--text-main);
  border-color: var(--text-muted);
}

.sl-nav-toggle {
  display: none;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.92);
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.sl-nav-toggle-bar,
.sl-nav-toggle-bar::before,
.sl-nav-toggle-bar::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sl-nav-toggle-bar::before {
  transform: translateY(-6px);
}

.sl-nav-toggle-bar::after {
  transform: translateY(6px);
}

.sl-nav-toggle[aria-expanded='true'] .sl-nav-toggle-bar {
  background-color: transparent;
}

.sl-nav-toggle[aria-expanded='true'] .sl-nav-toggle-bar::before {
  transform: translateY(0) rotate(45deg);
}

.sl-nav-toggle[aria-expanded='true'] .sl-nav-toggle-bar::after {
  transform: translateY(0) rotate(-45deg);
}

/* Responsive - Mobile Navigation */
@media (max-width: 960px) {
  .sl-nav-main {
    width: 100%;
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .sl-nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 8px;
    right: 16px;
    z-index: 25;
  }

  .sl-header-inner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 14px;
    padding: 14px 16px 18px;
  }

  .sl-logo {
    width: 100%;
    justify-content: space-between;
  }

  .sl-nav {
    display: none;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
    animation: navReveal 0.25s ease;
  }

  .sl-nav[data-open='true'] {
    display: flex;
  }

  .sl-nav-secondary {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    order: 2;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
  }

  .sl-nav-link-pill {
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
  }

  .sl-nav-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    order: 1;
  }

  .sl-nav-main .sl-nav-link {
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
    border: none;
    text-align: left;
    font-size: 16px;
    display: block; /* Ensure full width click area */
    width: 100%;
  }
  
  .sl-nav-main .sl-nav-link:hover,
  .sl-nav-main .sl-nav-link:focus {
    background: rgba(15, 23, 42, 0.03);
    color: var(--text-main);
  }

  /* Mobile Dropdown Fixes */
  .sl-nav-main .dropdown-menu {
    position: static !important; /* Force static positioning in mobile flow */
    transform: none !important;
    width: 100%;
    margin-top: 4px;
    border: none;
    background: transparent;
    box-shadow: none;
    padding-left: 16px; /* Indent dropdown items */
    display: none; /* Hidden by default */
  }

  .sl-nav-main .dropdown-menu.show {
    display: block; /* Show when toggled */
  }

  .sl-nav-main .dropdown-item {
    padding: 10px 12px;
    font-size: 15px;
    color: var(--text-muted);
    border-radius: 8px;
  }

  .sl-nav-main .dropdown-item:hover,
  .sl-nav-main .dropdown-item:focus {
    background: rgba(15, 23, 42, 0.03);
    color: var(--text-main);
  }

  .sl-nav-actions {
    width: 100%;
    flex-direction: row; /* Keep buttons side-by-side if space permits, or column if preferred */
    gap: 10px;
  }

  .sl-nav-actions .btn {
    flex: 1; /* Equal width buttons */
    padding: 12px 16px;
    font-size: 15px;
    justify-content: center;
  }
}

@keyframes navReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Custom Utilities */
.py-5 { padding-top: 4rem; padding-bottom: 4rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.h-100 { height: 100%; }

.text-muted { color: var(--text-muted) !important; }
.fw-bold { font-weight: 700 !important; }
.display-4 { font-size: 3rem; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--text-muted); }
.text-decoration-none { text-decoration: none !important; }
.btn-link { background: none; border: none; padding: 0; color: var(--primary-color); font-weight: 500; cursor: pointer; }
.btn-link:hover { text-decoration: underline !important; }

/* Spacing Utilities */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
/* py-5 is already defined */

.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
/* mb-1, mb-3, mb-4, mb-5 are already defined */
.mb-2 { margin-bottom: 0.5rem !important; }

.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }

/* Display & Layout */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-grid { display: grid !important; }

/* Border Radius */
.rounded { border-radius: 0.25rem !important; }
.rounded-pill { border-radius: 50rem !important; }
.rounded-3 { border-radius: 0.5rem !important; }

/* Font Weights & Sizes */
.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
/* fw-bold is already defined */
.fs-6 { font-size: 1rem !important; }
.small { font-size: 0.875em; }

/* Grid System */
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; box-sizing: border-box; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 12px; box-sizing: border-box; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; padding: 0 12px; box-sizing: border-box; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 12px; box-sizing: border-box; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; padding: 0 12px; box-sizing: border-box; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; padding: 0 12px; box-sizing: border-box; }
    .text-md-end { text-align: right !important; }
}

@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 12px; box-sizing: border-box; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; padding: 0 12px; box-sizing: border-box; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; padding: 0 12px; box-sizing: border-box; }
}

.g-4 { margin-top: -1.5rem; }
.g-4 > * { margin-top: 1.5rem; }
.g-3 { margin-top: -1rem; }
.g-3 > * { margin-top: 1rem; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 1rem;
    list-style: none;
}
.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: 0.5rem;
    color: var(--text-muted);
    content: "/";
}
.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Progress Bar */
.progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
}
.bg-success { background-color: #10b981 !important; }
.bg-white { background-color: #fff !important; }

/* Additional Utilities */
.rounded-circle { border-radius: 50% !important; }
.img-fluid { max-width: 100%; height: auto; }
.border-0 { border: 0 !important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; }
.list-unstyled { padding-left: 0; list-style: none; }

/* Colors */
.bg-light { background-color: #f8f9fa !important; }
.bg-danger { background-color: #dc3545 !important; }
.bg-warning { background-color: #ffc107 !important; }
.text-dark { color: #212529 !important; }
.text-success { color: #198754 !important; }
.text-danger { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }

/* Badges */
.badge {
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

/* Font Sizes */
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }

/* Card */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}
.card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 24px;
    margin-bottom: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.text-muted-small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Methodology Section (Editorial) */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.methodology-item {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease;
}

.methodology-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.6);
}

.methodology-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #b8860b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Search Bar (Spotlight Style) */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px auto;
}

.search-input {
    width: 100%;
    padding: 16px 24px 16px 50px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: scale(1.01);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Segmented Control (Tabs) */
.segmented-control {
    display: inline-flex;
    background: rgba(118, 118, 128, 0.12);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
}

.segmented-control a {
    padding: 8px 20px;
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.segmented-control a.active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.segmented-control a:hover:not(.active) {
    background: rgba(255,255,255,0.5);
}

/* Crypto List Table (Refined Apple Style) */
.crypto-table {
    width: 100%;
    border-collapse: collapse; /* Standard list behavior */
}

.crypto-table th {
    font-weight: 500;
    color: var(--text-muted);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-subtle);
}

.crypto-row {
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.crypto-row td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,0.04); /* Subtle separator */
    font-size: 15px;
}

.crypto-row:last-child td {
    border-bottom: none;
}

.crypto-row:hover {
    background: rgba(0, 0, 0, 0.025); /* Subtle hover state */
    transform: none;
    box-shadow: none;
}

.crypto-icon {
    width: 32px; /* Smaller, more refined */
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.crypto-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.2;
}

.crypto-ticker {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px; /* Smaller badge */
    border-radius: 6px; /* Softer radius, less "pill" like */
    font-size: 12px;
    font-weight: 500;
}

.status-shariah {
    background: #ecfdf3;
    color: #027a48;
}

.status-non-shariah {
    background: #fef2f2;
    color: #b42318;
}

.status-grey {
    background: #f2f4f7;
    color: #344054;
}

.trend-up {
    color: #027a48;
    font-weight: 500;
}

.trend-down {
    color: #b42318;
    font-weight: 500;
}

/* Subscribe CTA (Blur Effect) */
.subscribe-overlay {
    position: relative;
    overflow: hidden;
}

.subscribe-blur {
    filter: blur(4px);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.subscribe-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #b8860b;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subscribe-lock:hover {
    transform: translate(-50%, -52%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.5);
    border: none;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s;
}

.page-btn.active {
    background: var(--primary-color);
    color: #000;
}

.page-btn:hover:not(.active) {
    background: rgba(255,255,255,0.8);
}

/* Flexbox Utilities */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.align-items-end { align-items: flex-end; }
.flex-wrap { flex-wrap: wrap; }

/* Sizing & Positioning */
.w-100 { width: 100%; }
.position-relative { position: relative; }
.m-0 { margin: 0 !important; }
.mb-1 { margin-bottom: 0.25rem; }
.pb-3 { padding-bottom: 1rem; }
.border-bottom { border-bottom: 1px solid var(--border-subtle); }

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        padding: 16px;
        border-radius: 20px;
    }

    /* Mobile Tabs */
    .segmented-control {
        display: flex;
        width: 100%;
    }
    
    .segmented-control a {
        flex: 1;
        text-align: center;
        padding: 8px 4px;
        font-size: 13px;
        justify-content: center;
    }
    
    .crypto-table thead {
        display: none;
    }
    
    .crypto-table tbody {
        display: block;
    }

    .crypto-row {
        display: grid !important;
        grid-template-columns: 48px 1fr auto;
        grid-template-rows: auto auto;
        gap: 2px 12px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        margin-bottom: 0;
        background: transparent;
        border-radius: 0;
    }
    
    /* Reset TD styles */
    .crypto-row td {
        display: block;
        padding: 0 !important;
        border: none !important;
        margin: 0 !important;
        width: auto !important;
    }

    /* Icon */
    .crypto-row td:nth-child(1) {
        grid-row: 1 / span 2;
        grid-column: 1;
        align-self: center;
        text-align: center;
    }
    
    /* Name */
    .crypto-row td:nth-child(2) {
        grid-row: 1;
        grid-column: 2;
        align-self: end;
    }
    
    /* Price */
    .crypto-row td:nth-child(3) {
        grid-row: 1;
        grid-column: 3;
        text-align: right;
        font-weight: 600;
        align-self: end;
    }
    
    /* Change */
    .crypto-row td:nth-child(4) {
        grid-row: 2;
        grid-column: 3;
        text-align: right;
        font-size: 12px;
        align-self: start;
    }
    
    /* Market Cap - Hide */
    .crypto-row td:nth-child(5) {
        display: none;
    }
    
    /* Status */
    .crypto-row td:nth-child(6) {
        grid-row: 2;
        grid-column: 2;
        align-self: start;
    }
    
    /* Chevron - Hide */
    .crypto-row td:nth-child(7) {
        display: none;
    }
    
    /* Adjustments for inner elements */
    .crypto-name {
        font-size: 15px;
        line-height: 1.2;
    }
    
    .crypto-ticker {
        font-size: 12px;
        display: inline-block;
        margin-left: 4px;
    }
    
    .status-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}

@media (min-width: 768px) {
    .flex-md-row { flex-direction: row !important; }
    .justify-content-md-start { justify-content: flex-start !important; }
    .text-md-start { text-align: left !important; }
    .mb-md-0 { margin-bottom: 0 !important; }
}

/* Dropdown Styles */
.dropdown-menu {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  padding: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  margin-top: 8px;
}

.dropdown-item {
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(15, 23, 42, 0.03);
  color: var(--text-main);
}

.dropdown-divider {
  border-top: 1px solid var(--border-subtle);
  margin: 8px 0;
}

/* Regulatory Banner */
.regulatory-banner {
  background-color: rgba(218, 165, 32, 0.1);
  border-bottom: 1px solid rgba(218, 165, 32, 0.3);
  margin-bottom: 0 !important;
  padding: 0;
}

.regulatory-banner p {
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .regulatory-banner p {
    font-size: 12px;
  }
}

/* Account Migration Banner */
.account-migration-banner {
  background-color: #fff8e1; /* soft amber */
  border-bottom: 1px solid rgba(218, 165, 32, 0.3);
  position: relative;
  padding: 3px 0;
}

.account-migration-banner__content {
  gap: 6px;
  padding: 6px 12px;
  row-gap: 4px;
}

.account-migration-banner p {
  margin-bottom: 0;
  color: #333;
  font-size: 12px;
  line-height: 1.2;
}

.account-migration-banner .btn {
  background-color: #8B6C00;
  border-color: #6f5600;
  color: #fff;
  line-height: 1.1;
  padding: 4px 8px;
  align-self: center;
}

.account-migration-banner .btn:hover {
  background-color: #6f5600;
  border-color: #6f5600;
  color: #fff;
}

.account-migration-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #6f5600;
  background: linear-gradient(180deg, #9b7a0a 0%, #7b5e02 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  align-self: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.account-migration-banner__cta:hover {
  background: linear-gradient(180deg, #a7840b 0%, #8a6a03 100%);
  border-color: #6a5200;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.account-migration-banner__cta:focus-visible {
  outline: 2px solid rgba(139, 108, 0, 0.45);
  outline-offset: 2px;
}

.account-migration-banner .close-banner {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.account-migration-banner .close-banner:hover {
  opacity: 1;
  color: #000;
}

@media (max-width: 768px) {
  .account-migration-banner .close-banner {
    left: 10px;
    font-size: 16px;
  }

  .account-migration-banner__content {
    padding-left: 36px;
    padding-right: 12px;
  }
}
