table.dataTable thead th, table.dataTable tbody td {
    border: 1px solid #00ffc8 !important;
    padding: 8px;
    font-size: 0.95em;
  }
  table.dataTable {
    border-collapse: collapse;
  }
  .dataTables_wrapper .dataTables_paginate,
  .dataTables_wrapper .dataTables_length {
    display: none;
  }

  body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    padding: 20px;
  }
  h1 {
    text-align: center;
    color: #00ffc8;
  }
  p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #cccccc;
  }
  input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #fff;
  }
  .toggle-buttons {
    text-align: center;
    margin-bottom: 20px;
  }
  .toggle-buttons button {
    margin: 0 5px;
    padding: 10px 15px;
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #00ffc8;
    cursor: pointer;
  }
  .toggle-buttons button:hover {
    background-color: #2a2a2a;
  }
  .crypto-price {
    text-align: center;
    margin: 20px 0;
    color: #00ff99;
  }

table.table {
  width: 100%;
  table-layout: fixed;
}

tbody tr:hover {
  background-color: #004d3e !important; /* subtle green hover close to #00ffc8 but darker */
}




  .info-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
  }
  .info-box {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #00ffc8 !important;
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    min-width: 250px;
  }
  .info-box h3 {
    margin-top: 0;
    color: #00ffc8;
  }
  .disclaimer {
    font-size: 0.8em;
    color: #999;
    margin-top: 10px;
  }
  .positive { color: #00ff99; }
  .negative { color: #ff4c4c; }
  .neutral { color: #cccccc; /* light gray fallback */}

  body.light-mode {
    background-color: #ffffff;
    color: #000000;
  }
  body.light-mode .info-box {
    background-color: #f0f0f0;
    border-color: #ccc;
  }
  body.light-mode table.dataTable {
    background-color: #fff;
    color: #000;
    border-color: #000;
  }
  body.light-mode table.dataTable thead {
    background-color: #ccc;
  }
  .toggle-mode {
    position: fixed;
    top: 15px;
    right: 15px;
    background: #00ffc8;
    color: #000;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 999;
  }
  tbody tr:hover {
    background-color: #333;
  }
  body.light-mode tbody tr:hover {
    background-color: #ddd;
  }
  thead th {
    position: sticky;
    top: 0;
    z-index: 10;
  }



/* Enhanced Table Style */
.table th, .table td {
  border: 1px solid #333;
  padding: 8px;
  font-size: 0.95em;
}



@media (max-width: 768px) {
  .info-boxes {
    flex-direction: column;
    gap: 15px;
  }

  table.table thead th:nth-child(n+4),
  table.table tbody td:nth-child(n+4) {
    display: none;
  }

  table.table th, table.table td {
    font-size: 0.85em;
    padding: 6px;
  }

  h2 {
    font-size: 1.2em;
  }

  .crypto-price {
    font-size: 0.9em;
  }
}



@media (min-width: 769px) {
  .main-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }
  .main-layout > div:first-child {
    flex: 3;
  }
  .main-layout > div:last-child {
    flex: 1;
  }
}
table.dataTable {
    background-color: rgba(0, 0, 0, 0.7);
}

.dataTables_filter input {
  color: white;
  background-color: #222; /* optional: match dark theme */
  border: 1px solid #555;
}

#grouped-stock-tables table.dataTable {
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid #00ffc8 !important;
  border-radius: 8px;
  padding: 12px;
}

#grouped-stock-tables .dataTables_wrapper {
  padding: 10px;
}

.header-bar {
  margin: 0;
  padding: 20px 30px;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000;
  border-bottom: 1px solid #00ffc8;
  box-shadow: 0 2px 8px rgba(0,255,200,0.2);
  position: relative;
  top: 0;
  left: 0;
}


.header-logo {
  height: 60px;
  width: auto;
}


.header-title {
  color: #00ffc8;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto;
  text-align: center;
}


.wallet-button {
  background: #00ffc8;
  color: #000;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
}


.crypto-price-box {
  border: 1px solid #444;
  border-radius: 4px;
  padding: 12px;
  display: inline-block;
  background-color: #1e1e1e;
  margin-top: 10px;
}


.paloma-button {
  background-color: #00ffc8;
  color: #000;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  float: right;
  margin-bottom: 20px;
}


.follow-button {
  background-color: #1e1e1e;
  border: 1px solid #00ffc8;
  color: #00ffc8;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 20px;
  display: inline-block;
}


.footer-bar {
  width: 100%;
  height: auto;
  padding: 20px 30px;
  background-color: #000;
  border-top: 1px solid #00ffc8;
  box-shadow: 0 -2px 8px rgba(0,255,200,0.2);
  color: #aaa;
  font-size: 0.9em;
  text-align: center;
}


.disclaimer-box {
  max-width: 1000px;
  margin: 100px auto 30px auto;
  text-align: center;
  color: #bbb;
  font-size: 0.9em;
  line-height: 1.4;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 16px;
}
