  .content-area {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .grid-container {
    display: table;
    border-collapse: collapse;
    width: 100%;
    min-width: 800px;
  }

  .grid-cell {
    display: table-cell;
    padding: 12px 14px !important;
    border-bottom: 1px solid #e1e1e1;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    word-wrap: break-word;
    /* ✅ allow text to wrap */
    white-space: normal;
    /* ✅ no long extra space */
  }

  .grid-row {
    display: table-row;
    transition: background 0.2s ease;
  }

  .grid-row:nth-child(even) {
    background: #f9f9f9;
  }

  .grid-row:hover {
    background: #eef2ff;
  }


  /* Header styling */
  .grid-header .grid-cell {
    background: #222d8a;
    color: #fff;
    font-weight: bold;
    font-size: 14px !important;
    border-bottom: 2px solid #1b2170;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  /* Positive/Negative values */
  .positive {
    color: green;
    font-weight: bold;
  }

  .negative {
    color: red;
    font-weight: bold;
  }

  /* Coin link */
  .coin-link {
    color: #1a237e !important;
    text-decoration: none !important;
    border-bottom: 2px dotted rgba(26, 35, 126, 0.28);
    padding-bottom: 2px;
    transition: color 160ms ease, border-color 160ms ease;
    display: inline-block;
    line-height: 1;
  }

  .coin-link:hover,
  .coin-link:focus {
    color: #003a8c !important;
    border-bottom-color: rgba(26, 35, 126, 0.6);
    /* darker dots on hover/focus */
    outline: none;
    text-decoration: none;
    box-shadow: none;
  }

  /* focus-visible for keyboard users */
  .coin-link:focus-visible {
    outline: 2px solid rgba(0, 56, 140, 0.15);
    outline-offset: 3px;
  }

  /* optionally adjust size for small screens */
  @media (max-width: 600px) {
    .coin-link {
      font-size: 14px !important;
    }
  }

  /* Crypto button link */
  .btn-crypto {
    display: inline-block;
    background: #056BC9 !important;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px !important;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
  }

  .btn-crypto:hover {
    background: #056BC9 !important;
  }

  /* 📱 Responsive tweaks */
  @media (max-width: 768px) {
    .grid-cell {
      padding: 2px 5px;
      font-size: 12px !important;
    }

    .btn-crypto {
      padding: 5px 10px;
      font-size: 12px !important;
    }

    .grid-cell img {
      width: 20px !important;
      height: auto;
      display: block;
      margin: 0 auto;
      /* center align */
    }
  }


  @media (max-width: 480px) {
    .content-area {
      border-radius: 0;
      box-shadow: none;
    }

    .grid-cell {
      padding: 2px 5px;
      font-size: 12px !important;
    }

    .btn-crypto {
      padding: 4px 8px;
      font-size: 11px !important;
    }
  }

  /* Tooltip */
  .tooltip {
    position: relative;
    display: inline-block;
  }

  .tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: -70px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  .info-icon {
    background: #EAEAEA !important;
    color: #9a9a9a !important;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 11px !important;
    cursor: pointer;
}



  .table-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 14px;
    padding: 10px 16px;
    background: #f3f4f6;
    /* light gray background */
    border-radius: 10px;
    color: #111827 !important;
    font-size: 14px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 0 auto;
  }

  .update-label {
    font-weight: 600;
    margin-right: 6px;
    color: #374151 !important;
  }

  .update-time {
    font-weight: 400;
    font-style: italic !important;
    letter-spacing: 0.3px;
    color: #4b5563 !important;
  }
.col-chart svg {
    display: block;
    margin: 0 auto;
  }

  .col-chart {
    width: 120px;
  }

  .col-chart svg {
    width: 100%;
    height: auto;
  }

  /* Add this to your existing CSS */
  .chart-cell {
    width: 120px !important;
    text-align: center;
  }

  .crypto-chart {
    max-width: 100px;
    max-height: 40px;
  }



  .grid-header .grid-cell:nth-child(10) {
    text-align: center;
  }

  /* Style the chart container */

  /* matches your width/height attrs */

  .crypto-chart {
    width: 100%;
    height: 100%;
  }

  .grid-cell.chart-cell {
/*     display: flex; */
    align-items: center;
  }

  canvas.crypto-chart {
    display: block;
    width: 100px;
    height: 40px;
  }

.stablecoin-icon {
    background: #9d00ff !important;
    border-radius: 50%;
    color: #ffffff !important;
    padding: 3px 8px;
    font-size: 11px !important;
    cursor: pointer;
}

@media (max-width: 768px) {
.stablecoin-icon {  
    padding: 3px 7px;
 }
}

  /* match PHP width/height */