/* ======== NEW RULES FOR CENTERING ======== */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  /* Set the base theme for the whole page */
  background-color: #212529;
  color: #dee2e6;
  display: flex;
  flex-direction: column;
}

/* ======== LOGIN STYLES (UPDATED) ======== */
#login-container {
  /* Use grid to center */
  display: grid;
  place-items: center;
  /* Ensure it takes up at least the full screen */
  min-height: 100vh;
  /* Added padding for small screens */
  padding: 1rem;
  /* Flex-grow allows it to take up space in the body flex */
  flex-grow: 1;
}

.login-box {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  border: 1px solid #495057;
  border-radius: 0.5rem;
  background-color: #343a40;
}

/* ======== CONTENT STYLES ======== */
#content-container {
  display: none; /* Hidden by default */
  flex-grow: 1;
}


/* ======== THUMBNAIL STYLES ======== */
.thumbnail-card {
  cursor: pointer;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border: 3px solid transparent;
  border-radius: 0.375rem;
  background-color: #343a40;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.thumbnail-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail-card.active {
  border-color: #0d6efd;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

.thumbnail-card img {
  border-bottom: 1px solid #495057;
}

.thumbnail-card .card-body {
  padding: 0.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thumbnail-title {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  text-align: center;
  flex-grow: 1;
  font-weight: bold;
}

/* UPDATED DOWNLOAD BUTTONS CONTAINER */
.download-buttons-container {
  display: grid;
  grid-template-columns: 1fr; /* Stacks buttons */
  gap: 0.5rem; /* Space between buttons */
}

/* ======== LOGO STYLES ======== */
.logo-svg {
  max-height: 80px; /* Adjust this height as you like */
  margin-bottom: 0.8rem; /* Adds space between logo and text */
}