.result-wrapper {
  display: none;
  margin: 0px 100px;
  font-size: 16px;
  background-color: #000435;
  color: white;
  border-radius: 10px;
  padding: 15px;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #d3d3d3;
  /* your gray color */
}

.overflow {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;  /* Or max-width */
  display: block;  /* Or inline-block */
}

.border-bot {
  border-bottom: solid;
}

.section-header {
  text-align: center;
}

.result-div .show {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-wrapper {
  display: flex;
  justify-content: center;
  margin: 50px 50px;
}

#myInput {
  box-sizing: border-box;
  background-position: 14px 12px;
  background-repeat: no-repeat;
  font-size: 16px;
  padding: 14px 20px 12px 45px;
  border: none;
  border-bottom: 1px solid #ddd;
}

#myInput:focus {
  outline: 3px solid #ddd;
}

#loading {
  font-size: 18px;
  text-align: center;
  padding: 10px;
  margin: 5px;
}

.dropdown {
  position: relative;
  display: inline-block;
  padding: 10px 25px;
}

.filter-box,
.filter-drop {
  max-width: 250px;
}

.group-item {
  font-size: 10px;
  padding: 8px 14px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  border-radius: 4px;
}

.group-item.active {
  background-color: #e6f0fa;
  border-color: #0070f3;
  color: #0070f3;
}

.buy-sell-wrapper {
  display: flex;
  justify-content: start;
  flex-direction: column;
  border-right: solid;
}

.chart-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35%;
}

.filter-group {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.page-title {
  margin: 0px auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.search {
  width: 260px;
  height: 40px;
  display: flex;
}

.selected-item-wrapper {
  margin: 2px 5px;
}

.metric-info-wrapper {
  display: flex;
  flex-direction: column;
  width: 90%;
}

.metric-item {
  margin-right: 3px;
  font-size: 16px;
}

.metric-row {
  display: flex;
  align-items: center;
}

.metric-group {
  background-color: #000435;
  border-radius: 10px;
  padding: 15px;
  margin: 10px;
  margin-bottom: 20px;
  color: white;
  font-size: 25px;
  min-width: 100%;
}

.text-align-right {
  margin-left: auto;
}

.overflow {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;  /* Or max-width */
  display: block;  /* Or inline-block */
}

.body-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-around;
}

.body-subsection-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.buy-sell {
  min-height: 300px;
}

.buy-sell-header {
  text-align: center;
}

.tool-wrapper {
  position: relative;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  border-bottom: solid;
  min-height: 200px;
}

.market-flow-wrapper {
  display: flex;
  width: 35%;
  align-items: start;
  justify-content: space-between;
}

.holder-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
}

.submit-wrapper {
  display: flex;
  margin-top: 50px;
  flex-direction: column;
  align-items: center;
}

.submit {
  width: auto;
  height: 40px;
  margin: 5px;
}

.symbol-wrapper {
  text-transform: uppercase;
}

.selector-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f6f6f6;
  width: 250px;
  height: auto;
  overflow: auto;
  overflow-x: hidden;
  max-height: 400px;
  border: 1px solid #ddd;
  z-index: 1;
}

.logo {
  position: absolute;
  top: -90px;
  left: -55px;
  width: 300px;
}

.log-button {
  margin: 5px;
}

.dropdown-content a {
  color: black;
  max-width: 230px;
  padding: 12px 16px;
  text-decoration: none;
  text-wrap: wrap;
  display: flex;
  align-items: center;
}

.coin-image {
  height: 15px;
  width: 15px;
  margin-right: 10px;
}

.selected-img {
  height: auto;
  width: 30px;
  border-radius: 50%;
}

.selected-box {
  background-color: white;
  display: none;
}

.hidden {
  display: none;
}

.dropdown a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}

.flex {
  display: flex;
}

.submit-wrapper .flex {
  flex-wrap: wrap;
}

.container {
  background-color: #D3D3D3;
  max-width: 100%;
  padding: 0px;
}

.filter-box {
  height: 24px;
  width: 250px;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(118, 118, 118);
  border-top: none;
}

.filter-wrapper {
  border: 1px solid #d1d5db;
  /* light gray border */
  border-radius: 6px;
  /* slim curve */
  padding: 4px;
  display: inline-flex;
  background-color: #f9fafb;
}

.filter-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.buy-sell-results-wrapper {
  display: flex;
  justify-content: start;
}

.buy-sell-results {
  min-width: 260px;
}

.tooltip-icon {
  padding: 0px 5px;
}

.popout-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.fake-bullet {
  position: relative;
  padding-left: 1em;
  margin-bottom: 5px;
}

.fake-bullet::before {
  content: "\2022 ";
  /* This is the bullet */
  position: absolute;
  left: 0;
  color: white;
  /* or whatever color you want */
  font-size: 1em;
  line-height: 1;
}

.popout {
  position: relative;
  cursor: pointer;
  color: #2563eb;
  font-weight: 600;
  margin-right: 10px;
}

.floating-img {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-20%);
  display: none;
  max-width: 600px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.remove-bottom-margin {
  margin-bottom: 0px;
}

.bold {
  font-weight: bold;
}

.metric-group-header {
  font-weight: bold;
}

.popout:hover+.floating-img {
  display: block;
}

.floating-img img {
  width: 500px;
}

.show-selected {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 260px;
  height: 40px;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(118, 118, 118)
}

.hide {
  display: none;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.log-in-out {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-left: auto;
}

.extend {
  width: 100%;
  height: 100%;
}

#popup_img {
  position: fixed;
  cursor: move;
  z-index: 9999;
}

#dropdown_4 {
  border-top: solid;
}

.subscription-card.active {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.subscription-card.cancelled {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
}

@media screen and (max-width: 950px) {
  .tool-wrapper {
    width: 100%;
  }

  .holder-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .result-wrapper {
    margin-left: 0px;
    margin-right: 0px;
    text-wrap: auto;
    text-align: center;
  }


  .buy-sell-search-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center
  }

  .buy-sell-results-wrapper{
    justify-content: center;
  }

  .chart-wrapper {
    width: 100%;
  }

  .market-flow-wrapper {
    width: 100%;
    justify-content: center;
  }

  .buy-sell-wrapper {
    border-right: none;
  }

  .logo {
    position: relative;
    left: 0px;
    top: 0px;
    width: 120px;
    height: auto;
  }

  #dropdown_4 {
    border-bottom: solid;
  }
}
