:root {
  --accent-blue: #3b82f6;
  --accent-sky: #38bdf8;
  --accent-pink: #f472b6;
  --accent-rose: #fb7185;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(59, 130, 246, 0.20);
  --card-radius: 18px;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
}

/* === Cool sky-blue gradient background === */
#page_wrapper {
  background:
    linear-gradient(135deg,
      #93c5fd 0%,
      #bfdbfe 20%,
      #dbeafe 40%,
      #bfdbfe 60%,
      #93c5fd 80%,
      #7dd3fc 100%) !important;
  min-height: 100vh !important;
}
#page_wrapper::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  background:
    radial-gradient(ellipse 50% 50% at 12% 30%, rgba(59,130,246,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 85% 20%, rgba(37,99,235,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 90%, rgba(14,165,233,0.10) 0%, transparent 50%) !important;
  animation: floatOrbs 30s ease-in-out infinite alternate !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
@keyframes floatOrbs {
  0%   { opacity: 1;   filter: hue-rotate(0deg); }
  50%  { opacity: 0.9; filter: hue-rotate(8deg); }
  100% { opacity: 1;   filter: hue-rotate(-5deg); }
}

/* === Layout === */
#page_wrapper .container { max-width: 1600px !important; }

/* === Top info widgets bar === */
#page_wrapper #information-widgets {
  background: var(--card-bg) !important;
  backdrop-filter: blur(20px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--card-radius) !important;
  margin: 1.25rem !important;
  padding: 0.8rem 1.5rem !important;
  box-shadow: 0 4px 24px rgba(59,130,246,0.06), 0 1px 3px rgba(0,0,0,0.03) !important;
}

/* Resource widget labels */
#page_wrapper .information-widget-resource {
  background: rgba(59,130,246,0.04) !important;
  border-radius: 12px !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(59,130,246,0.06) !important;
}

/* Resource bars - sky-to-pink gradient */
#page_wrapper .resource-usage {
  background: rgba(59,130,246,0.08) !important;
  border-radius: 6px !important;
}
#page_wrapper .resource-usage > div {
  background: linear-gradient(90deg, #38bdf8, #3b82f6, #2563eb) !important;
  background-size: 200% 100% !important;
  animation: candyShimmer 4s ease infinite !important;
  border-radius: 6px !important;
}
@keyframes candyShimmer {
  0%   { background-position: 100% 0; }
  50%  { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

/* === Service cards === */
#page_wrapper .service-card {
  background: var(--card-bg) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--card-radius) !important;
  box-shadow: 0 4px 20px rgba(59,130,246,0.05), 0 1px 3px rgba(0,0,0,0.03) !important;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;
  overflow: hidden !important;
}
#page_wrapper .service-card:hover {
  border-color: rgba(56,189,248,0.35) !important;
  box-shadow: 0 8px 32px rgba(56,189,248,0.12), 0 2px 8px rgba(0,0,0,0.04) !important;
  transform: translateY(-3px) !important;
}

/* === Group titles - sky-to-pink gradient === */
#page_wrapper .service-group-name,
#page_wrapper .bookmark-group-name {
  background: linear-gradient(135deg, #1d4ed8, #2563eb, #3b82f6) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  font-size: 1.2rem !important;
}

/* === Service text === */
#page_wrapper .service-name {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
}
#page_wrapper .service-description {
  color: var(--text-secondary) !important;
  font-size: 0.72rem !important;
}

/* === Service status tags === */
#page_wrapper .service-tag {
  border-radius: 10px !important;
  font-size: 0.65rem !important;
}

/* === Service stat blocks (CPU/MEM) === */
#page_wrapper .service-container > div {
  background: rgba(59,130,246,0.03) !important;
  border: 1px solid rgba(59,130,246,0.05) !important;
  border-radius: 10px !important;
}
#page_wrapper .service-container .font-bold {
  color: var(--text-secondary) !important;
  font-size: 0.65rem !important;
}
#page_wrapper .service-container .font-thin {
  color: var(--text-primary) !important;
}

/* === Bookmarks === */
#page_wrapper li.bookmark a {
  background: var(--card-bg) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--card-radius) !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 12px rgba(59,130,246,0.05) !important;
}
#page_wrapper li.bookmark a:hover {
  border-color: rgba(56,189,248,0.35) !important;
  box-shadow: 0 6px 24px rgba(56,189,248,0.12) !important;
  transform: translateY(-2px) !important;
}
#page_wrapper li.bookmark a > div:first-child {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(56,189,248,0.06)) !important;
  border-radius: var(--card-radius) 0 0 var(--card-radius) !important;
}
#page_wrapper .bookmark-name {
  color: var(--text-primary) !important;
}
#page_wrapper .bookmark-description {
  color: var(--text-secondary) !important;
  opacity: 0.7 !important;
}

/* === Search bar === */
#page_wrapper input[type="text"],
#page_wrapper input[role="combobox"] {
  background: rgba(255,255,255,0.7) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(59,130,246,0.14) !important;
  border-radius: 14px !important;
  color: var(--text-primary) !important;
  transition: all 0.3s ease !important;
}
#page_wrapper input[type="text"]:focus,
#page_wrapper input[role="combobox"]:focus {
  border-color: rgba(56,189,248,0.4) !important;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.08), 0 0 16px rgba(56,189,248,0.05) !important;
}

/* === Footer === */
#page_wrapper #footer { opacity: 0.35 !important; transition: opacity 0.4s ease !important; }
#page_wrapper #footer:hover { opacity: 0.7 !important; }

/* === Widget blocks === */
#page_wrapper .service-block {
  background: rgba(59,130,246,0.03) !important;
  border: 1px solid rgba(59,130,246,0.05) !important;
  border-radius: 10px !important;
}

/* === Spacing === */
#page_wrapper #bookmarks { margin-top: 0.5rem !important; padding-bottom: 1.5rem !important; }

/* === Text color overrides for light theme === */
#page_wrapper #information-widgets * {
  color: var(--text-primary) !important;
}
#page_wrapper #information-widgets .text-xs {
  color: var(--text-secondary) !important;
}

/* === Mobile === */
@media (max-width: 768px) {
  #page_wrapper #information-widgets { margin: 0.5rem !important; padding: 0.6rem 1rem !important; }
  #page_wrapper .container { padding: 0 0.5rem !important; }
}
