:root {
  --pinglab-card-border: rgba(148, 163, 184, 0.18);
  --pinglab-card-border-hover: rgba(56, 189, 248, 0.5);
  --pinglab-card-shadow: 0 18px 45px rgba(2, 6, 23, 0.22);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 116, 144, 0.2), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(67, 56, 202, 0.16), transparent 32rem),
    linear-gradient(155deg, #020617 0%, #0f172a 48%, #111827 100%);
  background-attachment: fixed;
}

#page_wrapper {
  max-width: 1440px;
  margin-inline: auto;
}

#drive,
#webmail,
#mail-signup,
#home-assistant,
#jellyseerr,
#grafana,
#openwrt,
#vpsops {
  border: 1px solid var(--pinglab-card-border);
  box-shadow: var(--pinglab-card-shadow);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

#drive:hover,
#webmail:hover,
#mail-signup:hover,
#home-assistant:hover,
#jellyseerr:hover,
#grafana:hover,
#openwrt:hover,
#vpsops:hover {
  border-color: var(--pinglab-card-border-hover);
  box-shadow: 0 22px 55px rgba(2, 6, 23, 0.32);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  #drive,
  #webmail,
  #mail-signup,
  #home-assistant,
  #jellyseerr,
  #grafana,
  #openwrt,
  #vpsops {
    transition: none;
  }
}

@media (max-width: 640px) {
  #inner_wrapper {
    overflow-x: hidden;
  }

  #information-widgets {
    margin: 1.25rem;
  }

  #widgets-wrap,
  #information-widgets-right {
    min-width: 0;
    width: 100%;
  }

  #information-widgets-right {
    align-items: stretch;
    flex-direction: column;
  }

  .information-widget-datetime .justify-end {
    justify-content: flex-start;
  }

  .information-widget-search {
    min-width: 0;
    width: 100%;
  }

  .information-widget-search > div {
    margin-bottom: 0;
    margin-top: 0.75rem;
    min-width: 0;
    width: 100%;
  }
}
