@font-face {
  font-family: 'Quantico';
  src: url('./quantico-BXatNHwx.ttf') format('truetype');
}
@font-face {
  font-family: 'Fira Code';
  src: url('./fira-code-DParIw5o.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  src: url('./inter-DYjygwQm.ttf') format('truetype');
}
@font-face {
  font-family: 'Kanit';
  src: url('./kanit-bWYhieLo.ttf') format('truetype');
}

.non-selectable {
  user-select: none;
}

.small-dark-input {
  padding: 4px;
  border-radius: 4px;
  background-color: #1e1e1e;
  color: white;
  border: 1px solid #333;
  font-size: 12px;
  outline: none;
  flex: 1;
  box-sizing: border-box;
}

.small-dark-button {
  padding: 3px 6px;
  border-radius: 4px;
  background-color: #393939;
  color: white;
  border: 1px solid #1e1e1e;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.1s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.small-dark-button img {
  width: 20px;
  height: 20px;
}

.small-dark-button:hover {
  background-color: #444;
}

.settings-bar {
  height: 25px;
  display: flex;
  align-items: center;
}

.text-yellow {
  color: rgba(255, 215, 0);
  font-weight: bold;
}

.text-pink {
  color: #ff7fd3;
  font-weight: bold;
}

.text-blue {
  color: rgb(135, 206, 255);
  font-weight: bold;
}

.small-dark-button.button-red {
  background-color: rgba(200, 0, 0, 0.5);
}

.small-dark-button.button-blue {
  background-color: rgba(0, 100, 255, 0.5);
}

.news-wrapper {
  padding: 3px;
  margin-bottom: 3px;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  margin-left: 0.5%;
  margin-right: 0.5%;
}

.news-wrapper:hover {
  background-color: #222 !important;
  color: #ffffff;
}

.news-wrapper-critical {
  background-color: #001f3f !important;
  box-shadow: 0px 0px 4px 2px rgba(0, 191, 255, 0.5);
}

.news-wrapper-critical:hover {
  background-color: #003366 !important;
  box-shadow: 0px 0px 4px 2px rgba(0, 191, 255, 0.7);
}

.news-wrapper-price-alert {
  background-color: #001f3f !important;
  box-shadow: 0px 0px 4px 2px rgba(0, 191, 255, 0.5);
}

.news-wrapper-price-alert:hover {
  background-color: #003366 !important;
  box-shadow: 0px 0px 4px 2px rgba(0, 191, 255, 0.7);
}

.news-wrapper-price-alert-up {
  background-color: #002e00 !important;
  /* box-shadow: 0px 0px 4px 2px rgba(0, 255, 136, 0.5);  */
  box-shadow: 0px 0px 2px 2px rgba(255, 191, 0, 0.5);
  color: #ffffff;
}
.news-wrapper-price-alert-up:hover {
  background-color: #004d00 !important;
  /* box-shadow: 0px 0px 4px 2px rgba(0, 255, 136, 0.7); */
  box-shadow: 0px 0px 2px 2px rgba(255, 191, 0, 0.7);
  color: #ffffff;
}
.news-wrapper-price-alert-down {
  background-color: #2e0000 !important;
  /* box-shadow: 0px 0px 4px 2px rgba(255, 92, 92, 0.5); */
  box-shadow: 0px 0px 2px 2px rgba(255, 191, 0, 0.5);
  color: #ffffff;
}

.news-wrapper-price-alert-down:hover {
  background-color: #4d0000 !important;
  /* box-shadow: 0px 0px 4px 2px rgba(255, 92, 92, 0.7); */
  box-shadow: 0px 0px 2px 2px rgba(255, 191, 0, 0.7);
  color: #ffffff;
}

/* .news-wrapper-price-alert {
  background-color: #2e2e00 !important;
  box-shadow: 0px 0px 2px 2px rgba(255, 191, 0, 0.5);
}

.news-wrapper-price-alert:hover {
  background-color: #4d4d00 !important;
  box-shadow: 0px 0px 2px 2px rgba(255, 191, 0, 0.7);
} */

.news-time {
  font-size: 10px;
  right: 0;
  color: gray;
}
.news-time:hover {
  color: #fffa9f;
}
.search-button,
.news-button {
  background-color: #333;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0;
  border: none;
  box-shadow: none;
  outline: none;
}

.search-button {
  border-radius: 1px 0 0 1px;
}

.news-button {
  color: white;
  border-radius: 0 2px 2px 0;
  /* font-weight: bold; */
  font-size: 16px;
  font-family: 'Quantico';
  padding-left: 2px;
  padding-right: 5px;
  /* min-width: 125px; */
  width: 115px;
}

.news-button:hover,
.search-button:hover {
  background-color: #444;
}

.news-side-bar {
  display: flex;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  cursor: pointer;
  z-index: 1;
}

.news-cap-color {
  width: 5px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.news-gap {
  width: 10px;
}

.day-break {
  text-align: center;
  background-color: #222;
  color: #fff;
}

.day-break-line {
  border: none;
  height: 1px;
  background-color: #444;
  margin: 1px;
}

.day-break-text {
  font-size: 12px;
}

.status-label {
  font-size: 13px;
}

.profit {
  color: #00ff88 !important;
}

.loss {
  color: #ff4800 !important;
}

.news-explainer-box {
  margin-top: 6px;
  padding: 6px 8px;
  border: 1px solid #4a5568;
  border-radius: 4px;
  font-size: 12px;
  /* line-height: 1.5; */
  color: #e5e7eb;
}

.news-explainer-box-gray {
  background: #23272e;
  border-left: 3px solid #6b7280;
}

.news-explainer-box-blue {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-left: 3px solid #60a5fa;
}
