/** @format */

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --container-bg: #18181b;
  --card-bg: #242429;
  --card-border: #ffffff0f;

  --primary-text: #ffffffe0;
  --secondary-text: #ffffffa6;

  --primary-btn: #2e90fa;
}

* {
  box-sizing: border-box;
  font-family: "inter", sans-serif !important;
}

span {
  line-height: 20px;
  font-size: 14px;
}

::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
  border: 1px solid transparent !important;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px !important;
  background-color: #d9d9d9 !important;
}

::-webkit-scrollbar-track {
  background-color: transparent !important;
}

#t2d-page {
  .t2d__banner {
    .t2d__banner__list {
      list-style: none;
    }
    .t2d__banner__list li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
    }
    .t2d__banner__list li::before {
      color: rgba(122, 0, 230, 1);
      content: "\2022";
      font-size: 30px;
      vertical-align: middle;
      line-height: 20px;
    }
    .t2d__banner__list li + li {
      margin-top: 16px;
    }
    .t2d__banner__list a {
      text-decoration: underline;
      color: var(--t2d-text);
      &:hover {
        color: #69b1ff;
      }
    }
  }
}

.search {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px; /* makes the pill height */
  background: #242429; /* light background */
  border-radius: 6px;
  padding: 0 12px; /* outer padding */
  box-sizing: border-box;
  gap: 0;
  border: 1px solid #ffffff26;
}

/* input takes available space */
.search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  line-height: 1;
  padding: 8px 12px;
  color: #ffffff; /* main text color */
  caret-color: #0b3b66;
}

/* placeholder color */
.search input::placeholder {
  color: #ffffffa6; /* muted placeholder */
}

/* small screens tweak */
@media (max-width: 480px) {
  .search {
    height: 40px;
    gap: 8px;
  }
  .search-btn {
    width: 34px;
    height: 34px;
  }
  .search input {
    font-size: 13px;
  }
}
