/* Catppuccin Mocha Minimal Theme for Forgejo */
/* Based on https://catppuccin.com/palette - Mocha variant with unbloated UI */

@import "./theme-catppuccin-mocha.css";

/* ===== UNBLOATED UI ===== */

/* Hide navbar */
#navbar {
  display: none !important;
}

/* Hide footer */
.page-footer {
  display: none !important;
}

/* Hide followers/following */
a[href*="tab=followers"],
a[href*="tab=following"] {
  display: none !important;
}

/* Hide the · separator between followers/following */
.user-profile-side .flex-text-inline {
  display: none !important;
}

/* Hide star & fork counts on repo list */
a[href*="/stars"][aria-label],
a[href*="/forks"][aria-label] {
  display: none !important;
}

/* Hide repo buttons (Star/Fork/Watch) */
.repo-buttons {
  display: none !important;
}

/* Hide Projects, Public activity, Starred repositories tabs (keep Repos & Packages) */
a[href*="tab=activity"],
a[href*="tab=stars"],
a[href*="tab=projects"] {
  display: none !important;
}

/* Hide search repos bar & filter/sort */
#repo-search-form {
  display: none !important;
}
.ui.small.secondary.filter.menu {
  display: none !important;
}

/* Hide explore menu items */
a[href="/explore/users"] {
  display: none !important;
}
a[href="/explore/organizations"] {
  display: none !important;
}

/* Additional minimal adjustments */
.ui.secondary.menu .dropdown.item > .menu {
  background: var(--ctp-base);
}

/* Clean up extra whitespace from hidden elements */
.page-content {
  padding-top: 1rem;
}
