:root {
  --primary-bg: #272b30;
  --secondary-bg: #35393d;
  --card-bg: #2e3337;
  --accent-blue: #0084dd;
  --accent-hover: #0099ff;
  --text-primary: #dddddd;
  --text-muted: #7a8288;
  --border-color: #44494f;
  --pill-height: 32px;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#page_content_container {
  flex: 1 0 auto;
}

/* Ensure navbar retains authentic Rolimon's native appearance */
.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar_player_menu_pfp_img {
  border-radius: 33%;
  object-fit: cover;
}

/* Uniform, Sleek Pill Buttons */
.btn.rounded-pill,
.btn-pill,
a.btn.rounded-pill,
button.btn.rounded-pill,
.sale_details_link_button {
  border-radius: 50rem !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  line-height: 1 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease !important;
  cursor: pointer;
}

.btn.rounded-pill:hover,
a.btn.rounded-pill:hover,
button.btn.rounded-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35) !important;
}

.btn.rounded-pill:active,
a.btn.rounded-pill:active,
button.btn.rounded-pill:active {
  transform: translateY(0);
}

.btn-flat-light-blue-sm.rounded-pill,
.btn.btn-flat-light-blue-sm.rounded-pill {
  background-color: var(--accent-blue) !important;
  color: #ffffff !important;
  border-color: #0084dd !important;
}

.btn-flat-light-blue-sm.rounded-pill:hover {
  background-color: var(--accent-hover) !important;
  color: #ffffff !important;
}

.btn-danger.rounded-pill {
  background-color: #d9534f !important;
  color: #ffffff !important;
  border-color: #d9534f !important;
}

.btn-danger.rounded-pill:hover {
  background-color: #c9302c !important;
}

.btn.rounded-pill svg,
.btn-pill svg,
.button_icon_svg svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  margin-right: 6px !important;
  fill: currentColor !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.button_icon_svg {
  display: inline-flex !important;
  align-items: center !important;
  margin-right: 2px !important;
  flex-shrink: 0 !important;
}

/* Transparent Market Activity Thumbnails */
.activity_image,
img.activity_image {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  object-fit: contain !important;
  display: inline-block !important;
  border-radius: 4px;
  background: transparent !important;
  background-color: transparent !important;
  transform: none !important;
  transition: box-shadow 0.15s ease !important;
}

.activity_image:hover,
img.activity_image:hover {
  width: 54px !important;
  height: 54px !important;
  transform: none !important;
  box-shadow: 0 0 8px rgba(0, 132, 221, 0.6) !important;
}

.mix_item a,
.activity_links_section a {
  background: transparent !important;
  background-color: transparent !important;
}

.popover,
.popover-body,
[role="tooltip"].popover {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.chart-no-data-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 500;
  text-align: center;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  border: 1px dashed var(--border-color);
  padding: 2rem;
}

.chart-no-data-msg .no-data-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

#asking_list_pane,
#wishlist_pane {
  background-color: #2b2f33 !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px;
}

.list-item-remove-button {
  background-color: #d9534f !important;
  border: none !important;
}

#save_asking_list_button,
#save_wishlist_button,
#clear_asking_list_button,
#clear_wishlist_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  height: 36px !important;
  padding: 0 16px !important;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

#save_asking_list_button,
#save_wishlist_button {
  background-color: #0084dd !important;
  color: #fff !important;
}

#save_asking_list_button:hover,
#save_wishlist_button:hover {
  background-color: #0099ff !important;
}

#clear_asking_list_button,
#clear_wishlist_button {
  background-color: #4e555b !important;
  color: #eee !important;
}

#clear_asking_list_button:hover,
#clear_wishlist_button:hover {
  background-color: #5a6268 !important;
}
