html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  transition: opacity 0.3s ease;
}

body.trial-banner-active {
  padding-top: 36px; 
}


.container {
  flex: 1;
  padding: 1rem;
  text-align: left;
}

:root {
  --bg-primary: #000000;
  --bg-secondary: #111111;
  --accent-turquoise: #52d38e;
  --accent-magenta: #FF6F91;
  --accent-gold: #F1C40F;
  --text-primary: #f8f8f8;
  --text-secondary: #999999;
  --border-color: #333333;
  --hover-bg: #1a1a1a;
  --header-footer-text: #ffffff;
  --social-icon-size: 15px;
  --positive-change: #86efab; 
  --negative-change: #fca5a5; 
  --neutral-change: var(--text-secondary);
  --link-color: #63b3ed;
  --link-hover-color: #90cdf4;
}

*, *::before, *::after {
  box-sizing: border-box;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--text-secondary);
  border-top: 4px solid var(--accent-turquoise);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

header {
  width: 100%;
  padding: 1rem 2rem;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  position: relative; 
  z-index: 1001; 
}

#globalTrialBanner {
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 10000; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  width: 100%;
  position: relative; 
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  max-height: 50px;
  display: block;
}

.page-title-inline {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  font-weight: 500;
}

/* CORRECTED CENTERING LOGIC */
.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-nav {
  display: flex;
  gap: 1.5rem;
}

.header-nav a {
  color: var(--accent-turquoise);
  text-decoration: none;
  font-weight: normal;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--accent-magenta);
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
}

.wallet-cta-container {
  box-shadow: 0 0 8px rgba(81, 211, 143, 0.25);
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(81, 211, 143, 0.3);
  background: rgba(81, 211, 143, 0.1);
}

.wallet-cta-container:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(81, 211, 143, 0.4);
}

.connect-wallet {
  background: transparent;
  color: var(--text-primary);
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.connect-wallet:hover {
  color: #fff;
}

footer {
  width: 100%;
  padding: 20px 15px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--header-footer-text);
  margin-top: auto;
}

.footer-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 1rem;
}

.footer-left,
.footer-center,
.footer-right {
  text-align: left;
  flex-shrink: 0;
}
.footer-center { text-align: center; flex-grow: 1;}
.footer-right { text-align: right; }

.footer-right a {
  text-decoration: none;
  color: var(--header-footer-text);
  margin-left: 1rem;
  transition: color 0.2s ease;
}
.footer-right a:hover {
  color: var(--accent-turquoise);
}

footer a {
  color: var(--accent-turquoise);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  text-decoration: none;
  color: var(--accent-magenta);
}

.icon {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  margin-left: 0.8rem;
  vertical-align: middle;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.icon:hover {
  opacity: 1;
}

p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.description {
  text-align: left;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.table-wrapper {
  width: 100%;
  margin-top: 0;
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: transparent;
  position: relative;
}

#smartmoneyTable {
  table-layout: auto; 
  width: 100%; 
}

thead th {
  background-color: rgba(17, 17, 17, 0.8);
  color: #aaa;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  user-select: none;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  text-align: left;
  position: relative; 
  overflow: visible; 
}

thead th.col-lastbuy, thead th.col-age, thead th.col-actions { text-align: center; }
thead th.col-price, thead th.col-mcap, thead th.col-volume, thead th.col-1h, thead th.smart-money-header { text-align: right; }
thead th.col-token, thead th.col-social { text-align: left; }

thead th.col-lastbuy { width: 8%; }
thead th.col-token { width: 25%; min-width: 200px; } 
thead th.col-age { width: 6%; }
thead th.col-price { width: 10%; }
thead th.col-mcap { width: 9%; }
thead th.col-volume { width: 9%; }
thead th.col-1h { width: 7%; }
thead th.smart-money-header { width: 7%; } 
thead th.col-social { width: 8%; }
thead th.col-actions { width: 11%; }

tbody td {
  padding: 0.75rem 1rem;
  text-align: left; 
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  background-color: transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.9rem;
  vertical-align: middle; 
}

td.col-lastbuy, td.col-age, td.col-actions, td.col-smartmoney {
    text-align: center;
    white-space: nowrap;
}
td.col-price, td.col-mcap, td.col-volume, td.col-1h {
    text-align: right;
    white-space: nowrap;
}
td.col-social {
    text-align: left;
    white-space: nowrap;
}

td.col-token {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

tbody tr {
    transition: background-color 0.2s ease;
}
tbody tr:hover {
  background-color: var(--hover-bg);
}

.positive-change { color: var(--positive-change); } 
.negative-change { color: var(--negative-change); } 
.neutral-change { color: var(--neutral-change); } 

.token-info-clickable {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: filter 0.2s ease;
}
.token-info-clickable:hover {
   filter: brightness(1.2);
}
.token-info-clickable strong {
  color: #df3079; 
  font-weight: bold;
}
.token-info-clickable { 
  color: var(--text-primary);
}

td.col-actions a {
  color: var(--link-color) !important; 
  text-decoration: none;
  transition: color 0.2s ease;
}
td.col-actions a:visited {
    color: var(--link-color); 
    text-decoration: none;
}
td.col-actions a:hover {
  color: var(--link-hover-color); 
  text-decoration: none;
}

.sort-indicator {
  margin-left: 5px;
  font-size: 0.8rem;
  color: var(--accent-turquoise);
  opacity: 0.5;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.gmgn-logo {
  max-height: 20px;
  vertical-align: middle;
}

.live-indicator {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #000;
  background-color: #86efab;
  border-radius: 4px;
  margin-bottom: 1rem;
  cursor: pointer;
  animation: shakeConstant 0.3s ease infinite;
}

@keyframes shakeConstant {
  0%   { transform: translateX(0); background-color: #86efab; }
  33%  { transform: translateX(-3px); background-color: #fde047; }
  66%  { transform: translateX(3px); background-color: #fca5a5; }
  100% { transform: translateX(0); background-color: #86efab; }
}

.live-indicator.paused {
  animation-play-state: paused;
  background-color: var(--text-secondary);
  color: var(--bg-secondary);
}

.alert-box {
  position: fixed;
  bottom: 1rem;    
  left: 1rem;      
  background-color: rgba(17, 17, 17, 0.9);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  z-index: 99999;
  border: 1px solid var(--border-color);
}

.alert-box.show {
  opacity: 1;
  pointer-events: auto;
}

.info-icon {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent-turquoise);
  margin-left: 5px;
  cursor: help;
  vertical-align: middle;
  position: relative;
  text-transform: none;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%; 
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-secondary);
  color: #eee;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: normal;
  width: max-content;
  max-width: 300px; 
  white-space: normal; 
  word-wrap: break-word;
  line-height: 1.4;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1001; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  pointer-events: none;
}

.info-icon:hover::after {
  opacity: 1;
  visibility: visible;
}

.resizer {
  width: 5px;
  cursor: col-resize;
  user-select: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background-color: transparent;
  z-index: 10; 
}

.fade-out {
  animation: fadeOut 0.3s forwards;
}
@keyframes fadeOut {
  to { opacity: 0; }
}

a.faq-link:link,
a.faq-link:visited,
a.faq-link:hover,
a.faq-link:active {
  color: var(--accent-turquoise) !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}
a.faq-link:hover {
    color: var(--accent-magenta) !important;
}

td.price-cell {
    cursor: pointer;
    transition: background-color 0.2s ease;
}
td.price-cell:hover {
    background-color: rgba(255, 255, 255, 0.05); 
}

.modal { 
  display: none; 
  position: fixed; 
  z-index: 10000; 
  left: 0; top: 0; 
  width: 100%; height: 100%; 
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.7); 
  backdrop-filter: blur(5px); 
  align-items: center; 
  justify-content: center; 
}
.modal.show { 
  display: flex; 
}
.modal-content { 
  position: relative; 
  background-color: var(--bg-secondary); 
  margin: auto; 
  padding: 20px; 
  border: 1px solid var(--border-color); 
  border-radius: 8px; 
  width: 90%; 
  max-width: 1000px; 
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19); 
  color: var(--text-primary); 
  display: flex; 
  flex-direction: column; 
}
.close-button { 
  color: var(--text-secondary); 
  position: absolute; 
  top: 10px; 
  right: 20px; 
  font-size: 28px; 
  font-weight: bold; 
  cursor: pointer; 
  transition: color 0.2s ease; 
}
.close-button:hover, .close-button:focus { 
  color: var(--text-primary); 
  text-decoration: none; 
}
#chartModalTitle {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-primary); 
    text-align: center;
    word-break: break-all;
}
.iframe-container { 
  width: 100%; 
  height: 75vh; 
  position: relative; 
  background-color: #000; 
  border-radius: 4px; 
  overflow: hidden; 
}
.iframe-container iframe { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  border: none; 
}

.paywall-blurred-row {
  position: relative; 
}
.paywall-blurred-row > td { 
  filter: blur(4px); 
  opacity: 0.5; 
  pointer-events: none; 
}
.paywall-overlay { 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20; 
  cursor: pointer;
  pointer-events: auto; 
}
.paywall-unlock-text { 
  background: rgba(30, 30, 35, 0.65); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  color: var(--text-primary); 
  padding: 8px 16px; 
  border-radius: 6px; 
  font-size: 0.95rem; 
  font-weight: 300; 
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1); 
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15); 
  transition: all 0.2s ease-out;
  letter-spacing: 0.25px; 
}
.paywall-unlock-text:hover { 
  background: rgba(40, 40, 45, 0.75);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--accent-turquoise);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}
.pumpscope-paywall-button {
    background: var(--accent-turquoise); 
    color: #000; 
    font-weight: 600; 
    padding: 0.75rem 1.5rem; 
    border-radius: 8px; 
    display: inline-block; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
    cursor: pointer;
}
.pumpscope-paywall-button:hover {
    background-color: #45b880; 
    transform: translateY(-1px);
    color: #000; 
}

#subscribeModal {
  --modal-radius:         12px;
  --modal-font-large:     1.5rem;
  --modal-font-medium:    1.1rem;
  --modal-font-base:      0.9rem;
  --modal-line-height:    1.3;
  --modal-spacing-lg:     1.25rem;
  --modal-spacing-md:     0.75rem;
  --modal-spacing-sm:     0.5rem;
}

#subscribeModal.hidden { 
  display: none !important; 
}

#subscribeModal.show { 
  display: flex; 
  position: fixed; 
  inset: 0; 
  background: rgba(0,0,0,0.6); 
  align-items: center; 
  justify-content: center; 
  z-index: 9999; 
}

#subscribeModal .pricing-modal {
  background: #ffffff; 
  border-radius: var(--modal-radius);
  padding: var(--modal-spacing-lg);
  max-width: 700px;
  width: 90%;
  color: #111; 
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  position: relative;
  max-height: 85vh; 
  overflow-y: auto;
}

#subscribeModal .modal-close { 
  position: absolute; 
  top: var(--modal-spacing-md); 
  right: var(--modal-spacing-md); 
  font-size: 1.5rem; 
  cursor: pointer; 
  z-index: 10; 
  color: #888; 
}
#subscribeModal .modal-close:hover {
  color: #333;
}

#subscribeModal .billing-toggle {
  display: inline-flex;
  margin: 0 auto var(--modal-spacing-md);
  border: 1px solid #ccc;
  border-radius: var(--modal-radius);
  overflow: hidden;
  background-color: #e9ecef;
}
#subscribeModal .toggle-btn {
  flex: 1;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: #6c757d;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}
#subscribeModal .toggle-btn:hover {
  background-color: rgba(0,0,0,0.05);
}
#subscribeModal .toggle-btn.active {
  background: #ffffff;
  color: #343a40;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

#subscribeModal .pricing-cards {
    display: flex;
    gap: var(--modal-spacing-md);
    flex-wrap: wrap; 
    justify-content: center; 
}

#subscribeModal .card {
    flex: 1 1 280px; 
    min-width: 250px; 
    border-radius: var(--modal-spacing-md);
    padding: var(--modal-spacing-md);
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
#subscribeModal .card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
}

#subscribeModal .alpha-plan { 
    background: #fff; 
    border: 1px solid #ddd; 
    color: #111; 
}
#subscribeModal .pro-plan { 
    background: #0e0f1a; 
    color: #f5f5f7; 
    border: 1px solid #333; 
}

#subscribeModal .card h3 {
    font-size: var(--modal-font-large);
    margin-bottom: 0; 
    line-height: var(--modal-line-height);
}

#subscribeModal .alpha-plan .price,
#subscribeModal .pro-plan .price {
    font-size: var(--modal-font-medium);
    font-weight: 600;
    margin-top: var(--modal-spacing-sm);
    margin-bottom: var(--modal-spacing-md);
    line-height: var(--modal-line-height);
    min-height: 30px; 
    display: flex;
    align-items: baseline; 
    flex-wrap: wrap; 
}
#subscribeModal .alpha-plan .price {
     color: #333;
     align-items: center; 
}
#subscribeModal .pro-plan .price {
     color: #f5f5f7; 
}
#subscribeModal .pro-plan .price strong.highlight-price,
#subscribeModal .pro-plan .price .suffix,
#subscribeModal .pro-plan .price .annual-price {
    font-size: inherit; 
    font-weight: inherit;
    display: inline;
    opacity: 1; 
    color: inherit; 
}
#subscribeModal .pro-plan .price strong.highlight-price {
    font-weight: 600;
    margin-right: 0.25rem;
}
#subscribeModal .pro-plan .price .suffix {
    opacity: 0.8;
    margin-right: 0.5rem;
}
#subscribeModal .pro-plan .price .annual-price {
    font-weight: 400;
    color: #a0a0b0; 
    font-size: 0.8em; 
}
#monthlyPriceDisplay { display: none; } 


#subscribeModal .card ul {
    flex: 1; 
    margin-top: var(--modal-spacing-md);
    margin-bottom: var(--modal-spacing-md);
    padding-left: 1.1rem; 
}
#subscribeModal .card ul li {
    font-size: var(--modal-font-base);
    line-height: var(--modal-line-height);
    margin-bottom: 0.4rem;
    list-style: disc; 
    padding-left: 0.3em;
}

#subscribeModal .cta-upgrade {
    background: var(--accent-turquoise); 
    color: #000;
    border: none;
    padding: 0.7rem 1.4rem;
    border-radius: var(--modal-radius);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: block; 
    width: fit-content; 
    margin-left: auto; 
    margin-right: auto; 
    margin-top: var(--modal-spacing-md); 
    transition: background-color 0.2s ease, transform 0.2s ease;
}
#subscribeModal .cta-upgrade:hover {
    background-color: #45b880; 
    transform: translateY(-1px);
}

#paymentSection {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100%;
    margin-top: var(--modal-spacing-md);
}
#paymentStatus {
    margin-top: var(--modal-spacing-md);
    min-height: 18px;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center; 
}
#subscribeModal .pro-plan #paymentStatus {
    color: #f5f5f7; 
}
#subscribeModal .pro-plan #paymentStatus.success { 
    color: var(--accent-turquoise);
}
#subscribeModal .pro-plan #paymentStatus.error { 
    color: var(--accent-magenta);
}

#qrCodeContainer {
    margin-top: var(--modal-spacing-md);
    display: none; 
    text-align: center;
}
#qrCodeCanvas {
    border: 1px solid #eee;
    border-radius: 8px;
    background: white; 
    padding: 4px;
    max-width: 160px;
    height: auto;
    margin: 0 auto; 
}
#qrCodeContainer p {
    font-size: 0.75rem;
    color: #888; 
    margin-top: 0.4rem;
}
#subscribeModal .pro-plan #qrCodeContainer p {
    color: #a0a0b0; 
}

#cancelPaymentButton {
    margin-top: var(--modal-spacing-md);
    background: #6c757d; 
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.2s ease;
    display: none; 
}
#cancelPaymentButton:hover {
    background-color: #5a6268; 
}

@media screen and (max-width: 992px) {
    #smartmoneyTable thead th.col-social,
    #smartmoneyTable tbody td.col-social { display: none; }
    #smartmoneyTable thead th.col-mcap,
    #smartmoneyTable tbody td.col-mcap { display: none; }
    #smartmoneyTable thead th.col-age,
    #smartmoneyTable tbody td.col-age { display: none; }
    
    .container { padding: 1rem 0.5rem; } 
    
    thead th, tbody td { padding: 0.75rem 0.5rem; } 
    thead th.col-token { width: auto; min-width: 150px; } 
}

@media screen and (max-width: 768px) {
  header { flex-direction: column; padding: 1rem; align-items: center; }
  .header-row { flex-direction: column; align-items: center; text-align: center; gap: 1rem; position: static; }
  .header-left { flex-direction: column; align-items: center; }
  .page-title-inline { font-size: 1.25rem; text-align: center; }
  .header-center { 
      margin: 0; 
      order: 3; 
      position: static; 
      transform: none; 
  }
  .header-nav { flex-direction: row; gap: 1rem; justify-content: center; width: 100%; margin-top: 0.5rem; }
   .header-right { order: 2; }
  .logo img { max-height: 40px; }
  footer { padding: 20px 10px; }
  .footer-minimal { flex-direction: column; align-items: center; gap: 15px; }
  .footer-left, .footer-center, .footer-right { text-align: center; margin-bottom: 0; }
  .footer-right a { margin: 0 0.5rem; }

  .table-wrapper { border: none; border-radius: 0; overflow-x: auto; } 
  
  .table-wrapper > table { 
    table-layout: auto; 
    min-width: 600px; 
  }
  .table-wrapper > table thead th { font-size: 0.75rem; white-space: nowrap; } 
  .table-wrapper > table tbody td { font-size: 0.85rem; }
 
  #smartmoneyTable thead th,
  #smartmoneyTable tbody td {
      display: none; 
  }
  #smartmoneyTable thead th.col-lastbuy,
  #smartmoneyTable tbody td.col-lastbuy,
  #smartmoneyTable thead th.col-token,
  #smartmoneyTable tbody td.col-token {
      display: table-cell !important; 
  }
  #smartmoneyTable thead th.col-lastbuy, #smartmoneyTable tbody td.col-lastbuy {
        width: auto; 
        text-align: center;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        white-space: nowrap;
   }
   #smartmoneyTable thead th.col-token, #smartmoneyTable tbody td.col-token {
        text-align: left;
        padding-left: 0.5rem;
        padding-right: 0.5rem; 
        width: auto; 
        min-width: 150px; 
        white-space: normal; 
   }

   .alert-box {
       width: calc(100% - 2rem);
       left: 1rem; right: 1rem;
       bottom: 0.5rem; 
       top: auto; 
   }
    
    .modal-content, #subscribeModal .pricing-modal {
        width: 95%;
        padding: 15px;
    }
    #chartModalTitle { font-size: 1rem; }
    .iframe-container { height: 70vh; }
    .close-button, #subscribeModal .modal-close {
        font-size: 24px;
        top: 8px;
        right: 15px;
    }
    #subscribeModal .pricing-cards {
        flex-direction: column; 
    }
}