/* RAJ PREMIUM PANEL — definitive dashboard shortcut surface fix.
   Loaded last with a new filename to bypass previously cached purple shortcut styles.
   This file changes shortcut tile surfaces only; it does not alter card pulse, icon colours, or workflow. */
html body.dash #dstack.dstack .qgrid.qgrid > a.qt,
html body.dash #dstack.dstack .qgrid.qgrid > a.qt:link,
html body.dash #dstack.dstack .qgrid.qgrid > a.qt:visited,
html body.dash #dstack.dstack .qgrid.qgrid > a.qt:focus,
html body.dash #dstack.dstack .qgrid.qgrid > a.qt:focus-visible {
  background-color: #101b2a !important;
  background-image: linear-gradient(145deg, #101b2a 0%, #0b111b 100%) !important;
  background: linear-gradient(145deg, #101b2a 0%, #0b111b 100%) !important;
  color: #f4f7fb !important;
}

html body.dash #dstack.dstack .qgrid.qgrid > a.qt:hover {
  background-color: #152339 !important;
  background-image: linear-gradient(145deg, #152339 0%, #101a29 100%) !important;
  background: linear-gradient(145deg, #152339 0%, #101a29 100%) !important;
  color: #ffffff !important;
}

html body.dash #dstack.dstack .qgrid.qgrid > a.qt:active {
  background-color: #142236 !important;
  background-image: linear-gradient(145deg, #142236 0%, #101a29 100%) !important;
  background: linear-gradient(145deg, #142236 0%, #101a29 100%) !important;
  color: #ffffff !important;
}

/* Preserve each shortcut's existing accent-coloured icon. */
html body.dash #dstack.dstack .qgrid.qgrid > a.qt > i,
html body.dash #dstack.dstack .qgrid.qgrid > a.qt > svg {
  color: var(--c, #75aaf5) !important;
  -webkit-text-fill-color: var(--c, #75aaf5) !important;
}

/* Light mode remains light rather than purple; hover is still neutral. */
html body.dash.light #dstack.dstack .qgrid.qgrid > a.qt,
html body.dash.light #dstack.dstack .qgrid.qgrid > a.qt:link,
html body.dash.light #dstack.dstack .qgrid.qgrid > a.qt:visited,
html body.dash.light #dstack.dstack .qgrid.qgrid > a.qt:focus,
html body.dash.light #dstack.dstack .qgrid.qgrid > a.qt:focus-visible {
  background-color: #f4f7fb !important;
  background-image: linear-gradient(145deg, #ffffff 0%, #eef3f8 100%) !important;
  background: linear-gradient(145deg, #ffffff 0%, #eef3f8 100%) !important;
  color: #1a293d !important;
}
html body.dash.light #dstack.dstack .qgrid.qgrid > a.qt:hover,
html body.dash.light #dstack.dstack .qgrid.qgrid > a.qt:active {
  background-color: #eaf1f8 !important;
  background-image: linear-gradient(145deg, #f8fbff 0%, #eaf1f8 100%) !important;
  background: linear-gradient(145deg, #f8fbff 0%, #eaf1f8 100%) !important;
}
