/* Paragraph resets */
p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Light mode / Default mode */
body {
  font-family: Roboto, Arial;
  margin: 0;
  padding-top: 80px;
  padding-left: 96px;
  padding-right: 24px;
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* CSS variables for themes */
:root {
  --bg: rgb(248, 248, 248); /* Light theme background */
  --text: #0f0f0f;          /* Light theme text */
}

/* Dark mode overrides */
.dark {
  --bg: #0f0f0f;
  --text: #ffffff;
}



.dark .close-search-button .fas.fa-times {
  color: deepskyblue;}



.no-results-msg {
  padding: 40px;
  font-size: 18px;
  color: #888;
  text-align: center;
  width: 100%;
}

.no-results-msg img {
  opacity: 0.6;
  max-width: 200px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

/* Desktop and up */
@media (min-width: 768px) {
  .no-results-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;            /* ✅ horizontal centering */
    max-width: 600px;   
      grid-column: 1 / -1;  /* spans all grid columns if parent is grid */       /* ✅ limit width */
  }

  .no-results-msg img {
    max-width: 350px;
  }
}
