.hub_card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  text-decoration: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.hub_card .external_icon {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background-color: #e5e7eb;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub_card .icon_wrapper {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Color Themes */
.hub_card .blue_bg { background-color: #dbeafe; color: #1e3a8a; }
.hub_card .green_bg { background-color: #dcfce7; color: #15803d; }
.hub_card .orange_bg { background-color: #ffedd5; color: #ea580c; }
.hub_card .purple_bg { background-color: #ede9fe; color: #4338ca; }
.hub_card .pink_bg { background-color: #fae8ff; color: #a21caf; }
.hub_card .yellow_bg { background-color: #fef9c3; color: #a16207; }
.hub_card .sky_bg { background-color: #e0f2fe; color: #1d4ed8; }
.hub_card .brown_bg { background-color: #fee2e2; color: #9a3412; }

.hub_card .card_title {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 4px 0;
}

.hub_card .card_subtitle {
  font-size: 12px;
  color: #000000;
  margin: 0;
  line-height: 1.3;
}

@media (min-width: 0px) and (max-width: 575.98px) {
  .hub_card {
    padding: 10px;
  }

  .hub_card .icon_wrapper {
    width: 34px;
    height: 34px;
  }

  .hub_card .card_title {
    font-size: 14px;
  }

  .hub_card .card_subtitle {
    font-size: 9.5px;
  }
}
