/* Full-page starry background (login/register screens) */
body {
  background: #0d0b15;
  /* fallback dark */
  color: #e0d9f5;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  margin: 0;
  min-height: 100vh;
}

/* starfield overlay (login/register screens - sources listed there)  */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* progress bar (testing with diff visuals) */
#progress-bar {
  color: #fff;
  font-weight: bold;
  text-shadow: 0 0 5px #fff;
  background: linear-gradient(270deg, #8b5fbf, #27816e, #4a6ea5, #bf5f9e);
  background-size: 600% 600%;
  animation: nebula 5s ease infinite;
  position: relative;
  overflow: hidden;
}

/* testing nebula-like gradient animation - still testing */
@keyframes nebula {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.progress {
  border: 2px solid #8b5fbf;
  border-radius: 5px;
  background-color: #8cdb5e;
}

@keyframes galaxyGlow {
  0% {
    filter: drop-shadow(0 0 0 rgba(191, 95, 158, 0.0));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(37, 177, 56, 0.9));
  }

  100% {
    filter: drop-shadow(0 0 0 rgba(191, 95, 158, 0.0));
  }
}

.hc-glow {
  animation: galaxyGlow 5s ease-in-out infinite;
}

/* custom for add button */
.add-btn {
  right: 12px;
  border-color: #f3aae6 !important;
  color: #f3aae6 !important;
  -webkit-text-stroke: 2px currentColor;
}

.add-btn:hover {
  background: #482950 !important;
}

.journal-date {
  color: #9b78a3;
  font-style: italic;
}

.view-object {
  color: #fff !important;
}

/* two columns that are always centered and  width-capped below larger img*/
.specs-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 48px;
  row-gap: 0;
  width: 100%;
  max-width: 900px;
}

/* columns: fixed label width + flexible value and allow for wrapping contents */
.specs-list {
  margin: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  column-gap: 12px;
  row-gap: 10px;
  align-items: start;
  min-width: 0;
}

/* Labels */
.specs-list dt {
  margin: 0;
  font-weight: 700;
  color: #e9e7ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* values */
.specs-list dd {
  margin: 0;
  color: #cfcfe6;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}


/* grey out uncaptured rows */
.is-missing {
  opacity: .55;
  filter: grayscale(1);
}
.is-missing td {
  color: #b0b0b0;
}
.is-missing img {
  filter: grayscale(1) brightness(.85);
}



/* testing with various screens sizes */
@media (min-width: 1400px) {
  .specs-list {
    grid-template-columns: 180px 1fr;
  }
}

.text-pink {
  color: #f4a5c8 !important;
}