@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* Global font: DM Sans */
*, *::before, *::after {
  font-family: 'DM Sans', sans-serif !important;
}

/* Force Unmarkdown dark brand colors */
:root, :root.dark {
  --background: 240 10% 4%;
  --foreground: 0 0% 93%;
  --card: 240 10% 7%;
  --card-foreground: 0 0% 90%;
  --muted: 240 8% 15%;
  --muted-foreground: 0 0% 50%;
  --border: 240 8% 14%;
  --accent: 240 8% 12%;
  --accent-foreground: 0 0% 93%;
  --primary: 271 91% 56%;
  --primary-foreground: 0 0% 100%;
  --secondary: 240 8% 12%;
  --secondary-foreground: 0 0% 90%;
  --popover: 240 10% 6%;
  --popover-foreground: 0 0% 93%;
  --ring: 271 91% 56%;
  --destructive: 0 72% 51%;
  --radius: 0.75rem;
}

/* Header: center everything, stack vertically */
header {
  border-bottom-color: hsl(240 8% 14%) !important;
  background: hsl(240 10% 5% / 0.8) !important;
}
header .container > div {
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.5rem !important;
}
header .container > div > div:first-child {
  width: 100%;
  justify-content: center !important;
}
header .container > div > div:first-child > a,
header .container > div > div:first-child > div:first-child {
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

/* Logo: balanced size */
header .container img {
  width: 44px !important;
  height: 44px !important;
}
header .container .w-12 {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
}

/* Hide title text */
header h1 {
  display: none !important;
}

/* Hide header subtitle */
header .text-sm.text-muted-foreground {
  display: none !important;
}

/* Hide right-side nav area in header */
header .container > div > div.flex.items-center.gap-2 {
  display: none !important;
}

/* Dashboard heading */
.dashboard-container h1 {
  font-weight: 600 !important;
}

/* Endpoint cards: purple hover glow */
.endpoint:hover, .suite:hover {
  border-color: hsl(271 91% 56% / 0.3) !important;
  box-shadow: 0 0 20px hsl(271 91% 56% / 0.06) !important;
}

/* Hide footer (Powered by Gatus) */
footer {
  display: none !important;
}

/* Hide GitHub icon */
#social {
  display: none !important;
}
