/* ═══════════════════════════════════
   Homelab Dario — Black + Pastel
   ═══════════════════════════════════ */

/* ─── Pure Black Background ─── */
body, html, #__next, #page_wrapper, #inner_wrapper {
  background: #000000 !important;
}

/* ─── Pastel Accent Colors ─── */
/* Soft lavender + peach + mint accents */
:root {
  --pastel-lavender: #c4b5fd;
  --pastel-peach: #fbc7b5;
  --pastel-mint: #a7f3d0;
  --pastel-pink: #f9a8d4;
  --pastel-sky: #bae6fd;
  --pastel-amber: #fde68a;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-hover-border: rgba(255, 255, 255, 0.15);
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.45);
}

/* ─── Group Headers ─── */
.service-group-name {
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary) !important;
  padding: 6px 4px 12px 4px !important;
  margin: 0 !important;
  border: none !important;
}

/* ─── Square Cards ─── */
.service-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  border-radius: 16px !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  min-height: 88px !important;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--card-hover-border) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

/* ─── Service Title (icon + name wrapper) ─── */
.service-card .service-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
}

/* ─── Icon Styling ─── */
.service-card .service-title svg,
.service-card .service-icon svg {
  width: 28px !important;
  height: 28px !important;
  color: var(--pastel-lavender) !important;
  transition: color 0.2s !important;
}

.service-card:hover .service-title svg,
.service-card:hover .service-icon svg {
  color: var(--pastel-peach) !important;
}

/* Color alternation for icon diversity */
.service-card:nth-child(3n+1) .service-title svg { color: var(--pastel-lavender) !important; }
.service-card:nth-child(3n+2) .service-title svg { color: var(--pastel-mint) !important; }
.service-card:nth-child(3n+3) .service-title svg { color: var(--pastel-pink) !important; }

.service-card:nth-child(3n+1):hover .service-title svg { color: var(--pastel-peach) !important; }
.service-card:nth-child(3n+2):hover .service-title svg { color: var(--pastel-sky) !important; }
.service-card:nth-child(3n+3):hover .service-title svg { color: var(--pastel-amber) !important; }

/* ─── Service Name ─── */
.service-card .service-name {
  text-align: center !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  color: var(--text-primary) !important;
  padding: 4px 2px 0 2px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
}

/* ─── Hide Description ─── */
.service-card .service-description {
  display: none !important;
}

/* ─── Remove the left-side "abbr" icon from cards ─── */
.service-card .rounded-l-md {
  display: none !important;
}

/* ─── Service list spacing ─── */
.services-list {
  gap: 8px !important;
}

/* ─── Bookmarks ─── */
.bookmark-group-name {
  font-size: 0.6rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary) !important;
  padding: 4px !important;
  border: none !important;
}

.bookmark-name {
  font-size: 0.75rem !important;
  color: var(--text-primary) !important;
}

.bookmark-description {
  color: var(--text-secondary) !important;
  font-size: 0.65rem !important;
}

/* ─── Info Widgets ─── */
.information-widget-resource {
  opacity: 0.6 !important;
  transition: opacity 0.2s !important;
}

.information-widget-resource:hover {
  opacity: 1 !important;
}

.information-widget-resource svg {
  color: var(--pastel-lavender) !important;
}

/* ─── Search Bar ─── */
.information-widget-search input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: var(--text-primary) !important;
  font-size: 0.8rem !important;
  padding: 8px 14px !important;
}

.information-widget-search input:focus {
  border-color: var(--pastel-lavender) !important;
  box-shadow: 0 0 0 2px rgba(196, 181, 253, 0.15) !important;
}

/* ─── Footer ―── */
#revalidate svg {
  color: var(--text-secondary) !important;
  opacity: 0.4 !important;
  transition: opacity 0.2s !important;
}

#revalidate svg:hover {
  opacity: 0.8 !important;
  color: var(--pastel-lavender) !important;
}

#version {
  display: none !important;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
  width: 4px !important;
}
::-webkit-scrollbar-track {
  background: transparent !important;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 2px !important;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* ─── Status Dot ─── */
.status-dot {
  width: 5px !important;
  height: 5px !important;
}

/* ─── Remove border under header info ─── */
#information-widgets {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
