/* Apple-inspired dark theme */

:root {
  --color-bg: #000000;
  --color-card: rgba(28, 28, 30, 0.72);
  --color-card-hover: rgba(44, 44, 46, 0.8);
  --color-border: rgba(255, 255, 255, 0.06);
  --color-text: rgba(255, 255, 255, 0.92);
  --color-text-secondary: rgba(255, 255, 255, 0.48);
  --radius: 16px;
}

/* Background */
#page_container {
  background: #000 !important;
}

body, html {
  background: #000 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* All cards - frosted glass */
div[class*="service"] > div,
.service-card,
#information_widgets .widget,
li > div {
  background: var(--color-card) !important;
  backdrop-filter: blur(40px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius) !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  box-shadow: 0 0 0 0 transparent !important;
}

div[class*="service"] > div:hover,
li > div:hover {
  background: var(--color-card-hover) !important;
  transform: scale(1.015);
}

/* Widget cards at top */
#information_widgets {
  margin-bottom: 1.5rem !important;
}

/* Section headers */
h2 {
  font-weight: 600 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--color-text-secondary) !important;
  padding-left: 4px !important;
}

/* Service names */
span[class*="service-name"],
a span:first-child {
  font-weight: 500 !important;
}

/* Service descriptions */
span[class*="service-description"] {
  color: var(--color-text-secondary) !important;
  font-size: 0.75rem !important;
}

/* Status dots */
div[class*="status"] {
  opacity: 0.8;
}

/* Search bar */
input[type="text"],
input[type="search"] {
  background: var(--color-card) !important;
  backdrop-filter: blur(40px) saturate(180%) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 12px !important;
  color: var(--color-text) !important;
}

input[type="text"]:focus,
input[type="search"]:focus {
  border-color: rgba(255, 255, 255, 0.15) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05) !important;
}

/* Widget text */
.information-widget-resource span,
.information-widget-resource div {
  font-weight: 400 !important;
}

/* Links - no underline */
a {
  text-decoration: none !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Tab bar / footer cleanup */
footer, div[class*="footer"] {
  opacity: 0 !important;
}
