/* styles.css */

/* Package list styles */
.repo-container {
  font-family: sans-serif;
  margin: 2em;
}

.repo-container h1 {
  color: #2c3e50;
}

.repo-container #search {
  margin-bottom: 1em;
  padding: 0.5em;
  width: 300px;
}

.repo-container ul {
  list-style: none;
  padding: 0;
}

.repo-container li {
  margin: 0.8em 0;
}

.repo-container a {
  text-decoration: none;
  color: #2980b9;
  font-weight: bold;
}

.repo-container a:hover {
  text-decoration: underline;
}

.repo-container .pkg-version {
  color: #555;
  font-size: 0.9em;
  margin-left: 0.5em;
}

.repo-container details {
  margin-left: 1em;
  margin-top: 0.3em;
}

.repo-container summary {
  cursor: pointer;
  color: #444;
  font-size: 0.9em;
}

.repo-container .pkg-desc {
  margin-left: 1em;
  font-size: 0.9em;
  color: #333;
  white-space: pre-wrap;
}

.compat-section {
    max-width: 900px;
    margin: auto;
    font-family: sans-serif;
  }
  .compat-toggle {
    background-color: #f0f0f0;
    border: none;
    width: 100%;
    text-align: left;
    padding: 12px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 10px;
  }
  .compat-content {
    display: none;
    padding: 10px 15px;
    border-left: 3px solid #ccc;
    background-color: #fafafa;
    border-radius: 0 0 6px 6px;
  }
  .distro-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }
  .distro-item {
    flex: 1 1 120px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .distro-item img {
    max-width: 24px;
    max-height: 24px;
    width: auto;
    height: auto;
    vertical-align: middle;
  }

  /* .distro-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  } */
  @media (max-width: 600px) {
    .distro-item {
      flex: 1 1 100%;
    }
  }