/* ─── Generic Info Card ──────────────────────────────────────────────────── */

.info-card {
  background: var(--white);
  border: 1px solid rgba(var(--theme-color-rgb, 56, 75, 255), 0.12); /* Default to theme color if RGB not set */
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.info-card:hover {
  border-color: rgba(var(--theme-color-rgb, 56, 75, 255), 0.24);
  box-shadow: 0 8px 28px rgba(31, 23, 38, 0.07);
}

.info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--theme-color-rgb, 56, 75, 255), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme);
  font-size: 20px;
  margin-bottom: 16px;
}

.info-card__content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--header);
  margin: 0 0 8px;
  line-height: 1.3;
}

.info-card__content p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

.info-card--horizontal {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-card--horizontal .info-card__content {
  flex: 1;
  min-width: 0;
}

.info-card--horizontal .info-card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
