/* Base Styles */
html, body {
  height: 100%;
  margin: 0;
  background-color: #000124;
  color: #b5b7c8;
  font-family: 'Roboto', sans-serif;
}
/* Wrapper to manage layout */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Make the navbar fixed at the top */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.nav-menu {
	color: #e0e0e0 !important;
}
/* Main content expands to fill available space */
.main-content {
  flex: 1;
  padding-top: 100px; /* Adjust this value to match your navbar height */
  padding-bottom: 20px; /* Adjust this value to match your navbar height */
}
.footer {
  background-color: #1d1f58 !important;
  color: #e0e0e0;
  padding: 1rem 0;
  /*position: fixed;*/
  bottom: 0;
  left: 0;
  width: 100%;
}
.footer h5 {
	font-size: 1.1rem;
    font-weight: bold;
}
.footer a {
  color: #e0e0e0;
}
footer ul.list-unstyled li {
  margin-bottom: 8px;
}

a {
  color: #8440e3;
  text-decoration: none; /* Optional: Remove underline */
}
.me-2 {
	color: #d250b0 !important;
}
a:hover {
  color: #d250b0; /* Keep same color on hover */
  text-decoration: underline; /* Optional: Underline on hover */
}
.btn-meteora {
  background-color: #d250b0 !important;
  border-color: #d250b0 !important;
  color: #e0e0e0 !important;
}
.btn-primary {
  background-color: #8440e3 !important;
  border-color: #8440e3 !important;
  color: #e0e0e0 !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #8440e3 !important;
  border-color: #8440e3 !important;
  color: #d250b0 !important;
}
.navbar-nav .nav-link {
  font-size: 1.1rem; /* Increase font size */
  font-weight: bold; /* Make text bold */
}
/* Navigation */
.navbar {
  background-color: #1d1f58 !important;
}
/* Card Styling */
/* Card Styling using #201747 as the main color */
.card {
  background-color: #201747; /* Main color for cards */
  border: 1px solid #2d1a60; /* A slightly darker variant for contrast */
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card .card-header {
  background-color: #2d1a60; /* your chosen background remains */
  color: #e0e0e0; /* updated header text color */
  font-weight: bold;
}

.card .card-body {
  color: #e0e0e0;
}

/* Optionally adjust table headers if needed */
.table-dark th {
  background-color: #2d1a60 !important;
  color: #e0e0e0 !important;
}

.card .card-title {
  color: #e0e0e0;
  font-size: 1.5rem;
}

/* Form Styling */
.form-label {
  color: #b5b7c8;
}
.form-control, .form-select {
  background-color: #8440e3;
  color: #e0e0e0;
  border: 1px solid #333;
}
.form-control:focus, .form-select:focus {
  border-color: #8440e3;
  box-shadow: 0 0 0 0.2rem rgba(144,202,249,0.25);
}
/* Placeholder text color for modern browsers */
::placeholder {
  color: #fff !important;
  opacity: 1; /* Ensures full color intensity */
}

/* For WebKit browsers (Chrome, Safari, etc.) */
::-webkit-input-placeholder {
  color: #fff !important;
}

/* For Firefox 19+ */
::-moz-placeholder {
  color: #fff !important;
}

/* For Internet Explorer 10+ */
:-ms-input-placeholder {
  color: #fff !important;
}

/* For older versions of Firefox */
:-moz-placeholder {
  color: #fff !important;
}
/* Global Table Styling */
.table-responsive {
  overflow-x: auto;
}

/* Common styling for all custom tables */
.custom-table {
  min-width: 100%;
  background-color: #15171c !important;
  color: #e0e0e0 !important;
}

.custom-table a {
  color: #d250b0;
  font-size: 1rem; /* Increase font size */
  font-weight: bold; /* Bold text */
}

.custom-table th,
.custom-table td {
  border-color: #1d1f58 !important;
}

.custom-table thead {
  background-color: #252525 !important;
  --bs-table-bg: #1d1f58 !important;
}

.custom-table thead th {
  font-size: 1rem;
}

.custom-table tbody td {
  background-color: #045685 !important;
  color: #e0e0e0; /* Ensure text remains readable */
  font-size: 0.9rem;
  padding: 0.75rem;
}

.sortable:hover {
  cursor: pointer;
  text-decoration: underline;
}
.sort-icon {
  font-size: 1rem;
  vertical-align: middle;
  margin-left: 4px;
}
.no-data {
  text-align: center;
  font-style: italic;
  padding: 1rem;
  color: #aaa;
  font-size: 1rem;
}

/* Remove hover background on table rows */
table#poolTable tbody tr:hover {
  background-color: transparent !important;
}

/* Pagination Styling */
.btn-flat {
  background: none;
  border: none;
  color: #8440e3;
  font-size: 1.5rem;
}
.btn-flat:disabled {
  color: #555;
}

/* Responsive Table: Stacked Layout on Mobile */
@media only screen and (max-width: 600px) {
  table#poolTable thead {
    display: none;
  }
  table#poolTable, 
  table#poolTable tbody, 
  table#poolTable tr, 
  table#poolTable td {
    display: block;
    width: 100%;
  }
  table#poolTable tr {
    margin-bottom: 1rem;
    border-bottom: 1px solid #444;
    border-radius: 0.25rem;
    padding: 0.5rem 0;
  }
  table#poolTable td {
    text-align: right;
    position: relative;
    padding-left: 50%;
    border: none;
    border-bottom: 1px solid #444;
  }
  table#poolTable td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    padding-left: 0.5rem;
    font-weight: bold;
    text-align: left;
    color: #8440e3;
  }
  /* Adjust mobile font sizes */
  body {
    font-size: 14px;
  }
  .card .card-title {
    font-size: 1.3rem;
  }
  table#poolTable thead th, table#poolTable tbody td {
    font-size: 0.85rem;
    padding: 0.5rem;
  }
  .form-label, .form-control, .form-select {
    font-size: 0.9rem;
  }
}

.hot-row {
  background-color: #ffe6e6 !important; /* light red tint */
}

/* Example dropdown filter styles */
#filterDropdown {
  position: absolute;
  background-color: #1d1f58;
  border: 1px solid #444;
  padding: 10px;
  z-index: 1000;
  border-radius: 4px;
  width: 220px;
  display: none;
}
#filterDropdown .mb-2 label {
  color: #e0e0e0;
  font-size: 0.9rem;
  display: block;
}
#filterDropdown .mb-2 input {
  width: 100%;
}
.hotpoolonly {
	float: right;
}

/* Custom styling for Select2 multi-select to match DLMM template */
.select2-container--default .select2-selection--multiple {
  background-color: #8440e3;
  border: 1px solid #333;
  border-radius: 0.25rem;
  color: #e0e0e0;
  margin-bottom: 13px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #5b2c8a; /* slightly darker for contrast */
  border: 1px solid #333;
  color: #e0e0e0;
  padding: 0 5px;
  margin-top: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #e0e0e0;
}

.select2-container--default .select2-results__option {
  background-color: #8440e3;
  color: #e0e0e0;
}

.select2-container--default .select2-results__option--highlighted {
  background-color: #5b2c8a;
  color: #e0e0e0;
}
.calculator-input-card {
  min-height: 400px; /* Adjust this value as needed */
}
/* Loading indicator styling */
#loadingIndicator {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
}
/* Example styles for improved UI */
.page-header {
  margin-bottom: 20px;
}
.page-header h2 {
  margin-bottom: 10px;
  font-weight: bold;
}
.page-header p {
  font-size: 1.1rem;
  color: #ccc;
}
/* Collapse toggle icon styling */
.collapse-toggle .toggle-icon {
  margin-left: 5px;
  font-weight: bold;
}
/* Tooltip style overrides (if needed) */
.tooltip-inner {
  background-color: #1d1f58;
  color: #fff;
  font-size: 0.9rem;
}
/* Base styling for the chevron icon */
.chevron-icon {
  font-size: 1.2em;
  color: #8440e3;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Change color on hover to indicate interactivity */
.outer-row:hover .chevron-icon {
  cursor: pointer;
  color: #007bff;
}

/* Optional: Rotate the icon when the row is expanded
   (Assumes you add a class 'expanded' to the outer row when it is open) */
.outer-row.expanded .chevron-icon {
  transform: rotate(180deg);
}
.bin-step-filter-icon {
  margin-left: 5px;
  color: #007bff;
  cursor: pointer;
  transition: color 0.2s ease;
}

.bin-step-filter-icon:hover {
  color: #0056b3;
}

.token-section.card {
  background-color: #201747;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  padding: 10px;
  margin-bottom: 10px;
  color: #e0e0e0; /* or choose any color you prefer */
  font-size: 1rem; /* adjust size if needed */
  line-height: 1.5;
}
.token-section.card h1,
.token-section.card h2,
.token-section.card h3,
.token-section.card h4,
.token-section.card h5,
.token-section.card h6 {
  color: #e0e0e0;
}

.token-img {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* optional: to make it circular */
}

.token-symbol {
  font-size: 1.1rem;
  font-weight: bold;
  color: #e0e0e0;
}

.copy-ca {
  font-size: 1rem;
  font-weight: bold;
  color: #d250b0;
  cursor: pointer;
}

.copy-ca:hover {
  opacity: 0.8;
}

.token-price,
.token-marketcap,
.token-age,
.token-socials {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.token-socials a {
  color: #d250b0;
  margin-right: 5px;
}

.token-socials a:hover {
  opacity: 0.8;
}
.token-poolchart {
  display: flex;
  justify-content: left;
  align-items: left;
}
.token-poolchart img {
  margin: 5px;
  width: 17px;
  height: 17px;
}
.token-poolchart svg {
  fill: #d250b0;
  margin: 5px;
  width: 20px;
  height: 220px;
}

.token-poolchart img:hover {
  transform: scale(1.1);
}
.token-info p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}
.btn.btn-favorite, .btn.btn-calculator {
  padding: 0.05rem 0.1rem;
  margin-right: 0.25rem;
}
.input-group-text {
	color: #d250b0;
    background-color: #201747;
    border: var(--bs-border-width) solid #b5b7c8;
}
.icon-style {
	margin:5px; 
	font-size:1rem; 
	color:#d250b0;
}
.dropdown-list {
  background-color: rgb(29, 31, 88) !important;
  color: #e0e0e0 !important;
  border: 1px solid #444;
  list-style: none;
  padding: 5px;
  margin: 0;
  z-index: 1000; /* Ensure it's above other elements */
}

.dropdown-list li {
  cursor: pointer;
  padding: 2px 5px;
}

.dropdown-list li:hover {
  background-color: #444; /* slightly lighter for hover */
}
.dropdown-list li:hover {
  background-color: #d250b0;
}
.headerlabel {
	font-size: 1.2rem;
    font-weight: bold;
}
.btn-source-toggle {
    border-color: #8440e3;
    color: #fff;
    background-color: transparent;
  }

  .btn-source-toggle.active,
  .btn-check:checked + .btn-source-toggle {
    background-color: #8440e3;
    color: #fff;
  }

  .btn-source-toggle:hover {
    background-color: #d250b0 !important;
    border-color: #6c2cc7 !important;
	color: #fff !important;
  } 
